Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cal --> calendar
- pwd --> print working directory
- ls -alh --> list files and folders
- chmod [Permission] filename.ext
- Quick permissions guide:
- 7 = Read + Write + Execute
- 6 = Read + Write
- 5 = Read + Execute
- 4 = Read
- 3 = Write + Execute
- 2 = Write
- 1 = Execute
- 0 = All access denied
- First number is for the owner, second for the group, and third for everyone.
- vi filename.txt --> Hit Enter --> Hit "I" to begin typing -> ESC --> Shift + "z + z" to save
- cat filename.txt --> get all contents to screen
- ls --> show files
- mkdir - make new directory
- rm filename.txt ---> type yes
- df -h --> Total server disk use
- mv sourcefile.txt destination/... --> move file
- logout --> logout to server
- Type help for the list of commands
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement