Bash Commands: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(cls) (Diskussion | Beiträge) |
|||
Zeile 6: | Zeile 6: | ||
* gksudo nautilus (start it as root) | * gksudo nautilus (start it as root) | ||
+ | ==Text== | ||
+ | Search text in files: | ||
+ | * grep -r "your text" <directory> | ||
== User Management == | == User Management == |
Version vom 18. Dezember 2012, 13:58 Uhr
Internet
- wget -N http://...
- Downloads the give file and overwrites the local one
File Manager
- gksudo nautilus (start it as root)
Text
Search text in files:
- grep -r "your text" <directory>
User Management
Neuen User anlegen
- sudo adduser <username>
Unzip
- tar xzf <filename>
Cron Jobs
- sudo -s crontab -e
- Add/Remove cron jobs
Create Screens
- screen (saves your screen even after session time out)
- screen -r (see what happened)
- Ctrl+AC (create new terminal tab)
- Ctrl+AA (switch between terminal tabs)
Backup
- sudo ./backupAll.bash <backupname>
Shutdown
- sudo shutdown -h 18:45