Bash Commands: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
Zeile 9: Zeile 9:
 
== User Management ==
 
== User Management ==
  
=== Neuen User anlegen ==
+
=== Neuen User anlegen ===
  
 
* sudo adduser <username>
 
* sudo adduser <username>

Version vom 16. Dezember 2012, 22:11 Uhr

Internet

  • wget -N http://...
    • Downloads the give file and overwrites the local one

File Manager

  • gksudo nautilus (start it as root)


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