Linux Commands Cheat Sheet by Sue Whelan Via Cheatography.Com/47090/Cs/13580

Linux Commands Cheat Sheet by Sue Whelan Via Cheatography.Com/47090/Cs/13580

Linux Commands Cheat Sheet by Sue Whelan via cheatography.com/47090/cs/13580/ Nano Seacrhes Standard Commands Bash Shortcuts Screen Shortucts (cont) Files ls list directory content Ctrl-c Stop current command Ctrl-A Activate commands for screen Ctrl-R Read File cd.. change directory Ctrl-z Sleep program Ctrl-A Create a new instance of Ctrl-O Save file cp copy files Ctrl-a Go to start of line c terminal Ctrl-X Close File mv move files Ctrl-e Go to end of line Ctrl- Go to the next instance of echo Echo text Ctrl-u Cut from start of line Copy and Paste A n a terminal cat display file content Ctrl-k Cut to end of line Alt- A Start Marking Text Ctrl-A Go to the previous instance Ctrl-K Cut marked text or Line ls-- accessing help Ctrl-r Search history p of a terminal help Ctrl-U Paste Text !! Repeat last command Ctrl-A show current instances of rm delete file " terminals Navigate File !abc Run last command clear screen clear starting with abc Ctrl - Rename the current ALT-/ End of file touch file creation !abc:p Print last command A A instance Ctrl-A Beginning of line file1 starting with abc Process Managem​ ent Ctrl-E End of line mkdir create directory !$ Last argument of ps Show snapshot of Ctrl-C Show line number previous command ls list the content of the processes Ctrl-_ Go to line number current directory ALT-. Last argument of top Show real time processes previous command Search File la -a lists all files including kill Kill processes with id pid Ctrl-W Find hidden files !* All arguments of pid previous command Alt-W Find Next ls -1 displays permiss​ ions, pkill Kill process with name owners,​ size, date etc ^ abc Run previous name name Ctrl-\ Search and Replace 123 command replacing -R copies a directory its files killall Kill all processes with and subdire​ cto​ ries to a abc with 123 Getting Help name names beginning with destina​ tion directory Bash Variabl​ es name command displays help rmdir remove an empty env Show environ​ ment --help message directory variables man shows manual for touch create an empty file echo Output value of command that command file $NAME $NAME who am i gives full details of the find starts a find from the export Set $NAME to value user directory and searches NAME=​ whoami gives name of user the whole subtree from va​ lue that point on $PATH Executable search path locate check the database to see $HOME Home Directory if a file matches the supplied name, won't work $SHELL Current Shell on recent files as database is only updated Screen Shortucts once a day screen Start a screen session screen Resume a screen -r session screen Show your current -list screen sessions By Sue Whelan Not published yet. Sponsored by Readability-Score.com cheatography.com/sue-whelan/ Last updated 30th November, 2017. Measure your website readability! Page 1 of 1. https://readability-score.com.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    1 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us