Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd - Change directory
- ls - List the current directory
- ls -l - List the current directory in a list format
- mkdir <dir> - create a directory
- touch - create a new file
- cp <path1> <path2> - copy a file or folder from path1 to path2
- mv <path1> <path2> - move a file or folder from path1 to path2
- pwd - show the current path as an absolute path
- passwd - change the password of the current user
- passwd <user> - change the password of a specific user
- vi <file> - file edit
- vim <file> - file edit
- screen -ls - list all screens
- screen -S <name> - create a new screen
- screen -rx <name> - attach to a screen
- su <user> - switch user
- su - <user> - switch user and change to users home directory
- init 6 - restart vserver
- systemctl <start|stop> <service> - start|stop|restart|reload a service
- - e.g. systemctl restart ts3server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement