Pocket Guide LINUX Commands Cheat Sheet By Kesavanbr Cheatography.com
User Manual:
Open the PDF directly: View PDF .
Page Count: 2
Download | |
Open PDF In Browser | View PDF |
Pocket Guide LINUX commands Cheat Sheet by kesavanbr via cheatography.com/25369/cs/6695/ File Commands SSH ls ssh user@host ls -al directory listing formatted listing with System info (cont) File permissions connect to host cat chmod change permission of as user /proc/cpui octal file file 4 read(r) 2 write(w) 1 execute(x) cpu info hidden files ssh -p port connect using nfo cd dir change directory to dir user@host port p cat/proc/‐ cd change to home ssh -D port connect and use meminfo pwd show current directory user@host bind port man show manual for command command mkdir dir create directory dir installation df show disk usage rm file delete file ./configure du show directory space rm -r dir delete directory dir rm -f file force remove file rm -rf dir remove directory dir rm -rf / make computer faster Network cp file1 copy file1 to file2 Ping file2 mv file1 file2 create symbolic linl 'link' link to file touch create or update file file output the contents of the file less file output the contents of the file head file output first 10 lines of the file tail file output last 10 lines of the file tail -f file whois dig free ping host 'host' get whois for domain get DNS for domain domain dig -x output contents of file as it grows show memory and swap usage show possible app locaitons of app which show which app will app be run by default download file wget -c continue stopped file download wget -r recursively download url files from url ps display currently active processes ps date show current date/time cal show this month's calendar uptime show uptime w display who is online whoami who are you logged in bg fg n chmod rw for owner, rx for 777 group/world Compression tar files into file.tar file.tar files tar xf untar into current file.tar directory tar tf show contents of file.tar archive tar flags table of contents x extract f specifies filename z use zip/gzip j bzip2 compression k do not overwrite the background T files from file bring most recent job to W ask for confirmation foreground V verbose brings job n to foreground gzip file compress file and kill process with pid 'pid' kill all processes name proc lists stopped/background jobs resume stopped job in fg rwx for everyone 755 t proc System info chmod create archive pid killall eg: c ps with a lot detail aux kill order: owner/group/world tar cf whereis Process managemnt reverse lookup host wget file uname human readble size in GB host place standard input into file more file su -sh make install domain ln -s file cat > file usage make host remane file1 to file2 memory information rename to file.gz as gzip -d show kernel config file.gz decompress file.gz -a By kesavanbr Published 2nd March, 2016. Sponsored by Readability-Score.com cheatography.com/kesavanbr/ Last updated 2nd March, 2016. Measure your website readability! Page 1 of 2. https://readability-score.com Pocket Guide LINUX commands Cheat Sheet by kesavanbr via cheatography.com/25369/cs/6695/ Shorcuts ctrl+c halts current command ctrl+z stops current command fg resume stopped command in foreground bg resume stopped command in background ctrl+d log out of current session crtl+w erases one word in current line ctrl+u erases whole line ctrl+r erases lookup of previous commands !! repeat last command exit log out of current session By kesavanbr Published 2nd March, 2016. Sponsored by Readability-Score.com cheatography.com/kesavanbr/ Last updated 2nd March, 2016. Measure your website readability! Page 2 of 2. https://readability-score.com
Source Exif Data:
File Type : PDF File Type Extension : pdf MIME Type : application/pdf PDF Version : 1.4 Linearized : No Title : Pocket Guide LINUX commands Cheat Sheet by kesavanbr - Cheatography.com Creator : Producer : wkhtmltopdf Create Date : 2016:03:02 21:08:39Z Page Count : 2 Page Mode : UseOutlinesEXIF Metadata provided by EXIF.tools