User Tools

Site Tools


linux:general:quickreference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:general:quickreference [2021/01/14 13:04] rpleckolinux:general:quickreference [2021/01/14 13:07] (current) rplecko
Line 1: Line 1:
-=== File Commands ===+=== Cheat Sheet ===
  
-^  Command                        Description                                               | 
-|**ls**                          |List the content of the current directory                   | 
-|**ls -R**                       |List the subdirectories recursively                         | 
-|**ls -a**                       |List all the content, including hidden files                | 
-|**ls -l**                       |List the content and its information                        | 
-|**pwd**                         |Output the current directory that you are in                | 
-|**cd** //folder1//              |Change the working directory to //folder1//                 | 
-|**cd**                          |Return to the //$Home// directory                           | 
-|**cd ..**                       |Go up a directory                                           | 
-|**cd -**                        |Return to the previous directory                            | 
-|**cp** //source destination//   |Copy //source// to //destination//                          | 
-|**cp -r** //source destination//|Copy a folder recursively from //source// to //destination//| 
-|**mv** //source destination//   |Move (or rename) a file from //source// to //destination//  | 
-rm file1 - Remove file1\\ 
-rm -f file1 - Remove file1 without prompt\\ 
-rm -r folder - Remove a folder and its content recursively\\ 
-mkdir foldername – Create a new folder foldername\\ 
-rmdir foldername – Remove an empty folder\\ 
-file file1 – Show the file type of file1\\ 
-cat file1 file2 – Concatenate file1 to file 2\\ 
-cat > file1 – Concatenate standard input to file1\\ 
-less file1 - View and paginate file1\\ 
-head file1 - Show first 10 lines of file1\\ 
-tail file1 - Show last 10 lines of file1\\ 
-chmod 777 file - Change file permission of file to 777\\ 
-chown user:group file - Change ownership of file to user and group group\\ 
-ln -s source destination – Create a symbolic link from source to destination 
  
-=== System Commands === +{{pdfjs 1160px> :downloads:linux_cheat_sheet.pdf?100|Linux Cheat Sheet}} 
- +
-\\ +
- +
- +
-{{pdfjs 1100px> :downloads:linux_cheat_sheet.pdf?100|Linux Cheat Sheet}} +
  
linux/general/quickreference.1610629496.txt.gz · Last modified: 2021/01/14 13:04 by rplecko