Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. cd - Change directory
  2. ls - List the current directory
  3. ls -l - List the current directory in a list format
  4. mkdir <dir> - create a directory
  5. touch - create a new file
  6. cp <path1> <path2> - copy a file or folder from path1 to path2
  7. mv <path1> <path2> - move a file or folder from path1 to path2
  8. pwd - show the current path as an absolute path
  9. passwd - change the password of the current user
  10. passwd <user> - change the password of a specific user
  11. vi <file> - file edit
  12. vim <file> - file edit
  13. screen -ls - list all screens
  14. screen -S <name> - create a new screen
  15. screen -rx <name> - attach to a screen
  16. su <user> - switch user
  17. su - <user> - switch user and change to users home directory
  18. init 6 - restart vserver
  19. systemctl <start|stop> <service> - start|stop|restart|reload a service
  20. - e.g. systemctl restart ts3server
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement