Commands Cheat Sheet by Sue Whelan via cheatography.com/47090/cs/13580/

Nano Seacrhes Standard Commands Bash Shortcuts Screen Shortucts (cont)

Files list directory content Ctrl-c Stop current Ctrl-A Activate commands for screen Ctrl-R Read .. change directory Ctrl-z program Ctrl-A Create a new instance of Ctrl-O Save file copy files Ctrl-a Go to start of line c terminal Ctrl-X Close File move files Ctrl-e Go to end of line Ctrl- Go to the next instance of Echo text Ctrl-u from start of line Copy and A n a terminal 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 delete file " terminals Navigate File !abc Run last command clear screen clear starting with abc Ctrl - Rename the current ALT-/ End of file 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 create directory !$ Last argument of 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 Show real processes previous command Search File la -a lists all files including Kill processes with id pid Ctrl-W 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 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 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 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