Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd > changing directory
- ls > seeing list
- clear > clearing terminal screen
- cd - > backing a from directory
- cd .. > backing from a directory
- cd ~ > jump to the home directory
- mkdir > making or creating new folder
- rmdir > removing or deleting a directory
- mv > renaming a folder or file
- touch > creating a new file
- rm > removing a file
- pwd > Shows the working directory name with path
- (cat >file1.txt ) > Creating new file with contents
- ctrl+z > (to exit from editor of consents)
- gedit fileName.extension > for opening a specific file
- ls b* > show the file list that starts with b and then one or more character
- ls *l* > shows characters that has before and after some character before and after 'l'
- ls ?l* > Shows the list that has 1 character before 'l' and one or more character after 'l'
- ls [rt]* > Shows the list that starts with 'r' and 't'
- ls *[0-9]* > Shows the list that contains numeric number (0-9)
- ls [^a-k]* > Shows the list that does not starts with "a" to "k".
- head -4 ba.txt > shows the first 4 list from the file named ba.txt
- tail -3 ba.txt > shows the last 3 list from the file named ba.txt
- sort ba.txt > sort the contents alphabetically
- nl ba.txt > Shows the line number of the contents of the file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement