вторник, 17 января 2017 г.

Частые команды linux

Посмотреть размеры всех папок с алиасом:

alias dus='du -s *|sort -nr|cut -f 2-|while read a;do du -hs $a;done'

Содержимое каталога:

alias lsa='ls -lah'

Монтирование windows папку

mount.cifs "// folder/BACKUPs" /mnt/nasfolder/ -o username=USER,password=PASSWORD,iocharset=utf8,file_mode=0777,dir_mode=0777

Обновление python-six:
pip install --upgrade six.

Установить ключ в убунту от репозитария дебиан:

sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0123456789

1 комментарий:

  1. Creating an account with a gambling website is fairly simple. The list beneath reveals a step-by-step procedure for making a casino account. SuperSlots stands out from the competition with its superb welcome package deal. There are two completely different welcome bonuses have the ability to|you presumably can} select from relying on the payment method you employ in your first deposit. To ensure a simple transaction course of, Bovada options 9 popular payment options like MatchPay, Mastercard, AMEX, Visa, Bitcoin, and multiple of} different cryptocurrencies. If you determine to offer Ignition a shot, you can see it easy to deposit and money out with banking options like Ethereum, Bitcoin, 카지노 Bitcoin Cash, Litecoin, MasterCard, Visa, and American Express.