Test rychlosti HDD
hdparm -t /dev/sda
hdparm - wiki
--------------------------------------------------------------------------------------------------------------
hdparm -t /dev/sda
hdparm - wiki
--------------------------------------------------------------------------------------------------------------
7zip - man
7z a -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on archive.7z dir1
--------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------
GREP - vice podminek najednou
grep BM_TARBALL_TARGETS\\\|MK backup-manager__c5.conf
grep -e BM_TARBALL_TARGETS -e MK backup-manager__c5.confKdyz nechci videt radky lame, CRON, MARK :
cat messages|grep -v -e lame -e CRON -e MARK
grep -e BM_TARBALL_TARGETS -e MK backup-manager__c5.confKdyz nechci videt radky lame, CRON, MARK :
cat messages|grep -v -e lame -e CRON -e MARK
Dve podminky soucasne:
grep ftp | grep send--------------------------------------------------------------------------------------------------------------ATat
now + 12 hours
shutdown -Fr
ctrl+D
# Zobrazit úlohy odeslané k pozdějšímu spuštění lze zadáním:
at -l
# Zrušit úlohu lze takto :
at -r
ctw.635677200.a--------------------------------------------------------------------------------------------------------------
ctw.635677200.a--------------------------------------------------------------------------------------------------------------
SMBMOUNTMK 27.2.2007 - PC00 neslo smbmount - pomohlo -t cifs
mount -t cifs -o username=root //pc00/d$ /mnt/pc00
mount -t smbfs -o username=root //pc02/c$ /mnt/pc02
mount -t smbfs //catia61/d$ /mnt -o rw,username=root,password=xxxxxxx--------------------------------------------------------------------------------------------------------------
mount -t cifs -o username=root //pc00/d$ /mnt/pc00
mount -t smbfs -o username=root //pc02/c$ /mnt/pc02
mount -t smbfs //catia61/d$ /mnt -o rw,username=root,password=xxxxxxx--------------------------------------------------------------------------------------------------------------
Odstrani konce radku v souboru test : cat test | tr -d '\n'--------------------------------------------------------------------------------------------------------------
cat /dev/null>page_log--------------------------------------------------------------------------------------------------------------
Pracovat se dá i v textové konzoli ... - Root.cz
MAIL - command line
$ echo 'Přijedu v šest' | mail -s předmět adresa@server.cz
$ mail -s předmět adresa@server.cz < text_zpravy.txt
--------------------------------------------------------------------------------------------------------------
Žádné komentáře:
Okomentovat