Last active
December 18, 2015 22:59
-
-
Save VessoVit/5858327 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Remove recursively a directory. This will wipe all the content in the folder. | |
###Linux | |
$ rm -r directory | |
Change user password | |
$ passwd username | |
First time SSH key generation | |
$ ssh-keygen -t dsa | |
User groups and permissions | |
$ chown -v username somefile | |
$ chnage ownership of files | |
$ chown -Rv username somedir | |
$ chgrp -Rv usergroup somedir | |
Mapping the filesystem | |
$ Alias /path/to/dir/ /needed/location/ | |
Run processes on background | |
$ nohup process/command & | |
###Debian | |
(purge) uninstall apt packages | |
apt-get --purge remove <package> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment