Tips & Tricks

1. Daca tastam ‘cd` ne duce direct in directorul $HOME, iar pentru a merge inapoi unde am fost tastam `cd -’.
2.

alias df="df -h"   # afiseaza marimile respective, folosind multipli de K, in loc de bytes
alias du="du -h"

Inainte:
iuly@iulian:~$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda2             51904532  22239096  27028768  46% /
varrun                  514708       112    514596   1% /var/run
varlock                 514708         4    514704   1% /var/lock
udev                    514708        88    514620   1% /dev
devshm                  514708        12    514696   1% /dev/shm
lrm                     514708     38324    476384   8% /lib/modules/2.6.22-14-generic/volatile
/dev/hda1            102398276  39979340  62418936  40% /media/hda1
/dev/scd0                20290     20290         0 100% /media/cdrom1

Dupa:
iuly@iulian:~$ df
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda2              50G   22G   26G  46% /
varrun                503M  112K  503M   1% /var/run
varlock               503M  4.0K  503M   1% /var/lock
udev                  503M   88K  503M   1% /dev
devshm                503M   12K  503M   1% /dev/shm
lrm                   503M   38M  466M   8% /lib/modules/2.6.22-14-generic/volatile
/dev/hda1              98G   39G   60G  40% /media/hda1
/dev/scd0              20M   20M     0 100% /media/cdrom1

3. Copiem manualele Linux in fisiere txt
man comanda > comanda.txt
Unless otherwise stated, the content of this page is licensed under GNU Free Documentation License.