Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # this is a comment
- # list the files
- ls
- # list the files with all attributes
- ls -la
- # which directory am I current in
- pwd
- # whoami - e.g. username, root, www-data
- whoami
- # which version of php am i using
- which php
- # change directory
- cd /new/folder/path
- # home directory
- cd ~/
- # move something - also used for renaming
- cp something.txt something-new-name.txt
- # copy something
- cp something.txt something-copy.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement