Intro to Linux Workshop – Cheat Sheet
Intro to Linux Workshop – Cheat Sheetpwdprint working (current) directorycdchange directoryspecial directories/the root directory~your home directory.current directory..parent directorylslist directory contentsls –alist all directory contentsls –llong listingcpcopymvmove (or rename)rmremovemkdirmake directoryrmdirremove directory (must be empty)catprint file(s) to standard output (usually your screen)whoamiprint user IDwho am Iprint user informationgroupsprint user groupsidprint user ID and groupswhoinformation about logged-in userswinformation about logged-in usersbash←→move left/right on line↑↓previous/next command in history^ago to beginning of line^ego to end of line^kdelete to end of linemancommand manual$ man lsshow manual for ls commandfile permissionsrreadwwritexexecute (run)ls -l /bin/bash-rwxr-xr-x 1 root wheel [ … ] /bin/bashrwxowner (root)r-xgroup (wheel)r-xeveryone elsedateprint the date and timesortsort the lines of a filegrepprint lines matching a pattern$ grep error myfileshow lines containing “error” in myfileredirection and pipes$ date > myfilewrite date to myfile$ date >> myfileappend date to myfile$ sort < myfileuse myfile as input to sort$ sort myfile | grep errorsort myfile and send output to greplessfile reader[space]next pagebprevious pageggo to end of file/search?search backwardsnrepeat search^gshow location in filenanoeditor$ nano myfileedit myfile←→move left/right on line↑↓previous/next command in history^ago to beginning of line^ego to end of line^kdelete line^osave file^xexitsleep 10sleep 10 secondsecho hiprint hiexitexits sessionlogoutexits session^dexits session^cstop running commandpslist processesps –elist every processps -auxlist every process with more infotopshow processesqquit top ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- remnux usage tips for malware analysis on linux cheat sheet
- if you login directly to a linux machine like one in our
- security incident survey cheat sheet for server administrators
- awk command summary cheat sheet
- information security training sans cyber security
- unix workshop appendix
- intro to linux workshop cheat sheet
- securitydocs comment on netcat tutorial
Related searches
- linux command cheat sheet pdf
- basic linux commands cheat sheet
- linux commands cheat sheet free
- linux shell cheat sheet
- cheat sheet linux commands pdf
- linux commands cheat sheet pdf
- linux cheat sheet pdf
- linux bash cheat sheet
- linux commands cheat sheet
- cheat sheet fractions to decimals
- linux scripting cheat sheet
- intro to statistics cheat sheet