/l3/users/07-09-2009/nt-ladm/debian1.net.nt/user :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 |
|
$screen -w
![]() |
$kill -9 1786
|
$screen
|
$ssh 192.168.16.254
1 #!/bin/bash 2 #set -x 3 #rsync -az nt.ua:/tmp/test/ /backup-nt/test/ && echo rsync_is_done | ssh clint@nt.ua mail -s rsync_nt sergey.cherepenin@gmail.com 4 route add -host nt.ua gw 10.0.1.1 5 rsync -az nt.ua:/usr/www/nt.com.ua/ /backup-nt/nt.com.ua/ && ssh clint@nt.ua 'df -h | mail -s rsync_nt_done sergey.cherepenin@gmail.com' 6 route del -host nt.ua gw 10.0.1.1 "/sbin/rsync_nt" 6L, 355C |
$lspci --help
![]() lspci: invalid option -- - Usage: lspci [<switches>] -v Be verbose -n Show numeric ID's -nn Show both textual and numeric ID's (names & numbers) -b Bus-centric view (PCI addresses and IRQ's instead of those seen by the CPU) -x Show hex-dump of the standard portion of config space -xxx Show hex-dump of the whole config space (dangerous; root only) -xxxx Show hex-dump of the 4096-byte extended config space (root only) -s [[[[<domain>]:]<bus>]:][<slot>][.[<func>]] Show only devices in selected slots -d [<vendor>]:[<device>] Show only selected devices -t Show bus tree -m Produce machine-readable output -i <file> Use specified ID database instead of /usr/share/misc/pci.ids -D Always show domain numbers -M Enable `bus mapping' mode (dangerous; root only) -P <dir> Use specified directory instead of /proc/bus/pci -H <mode> Use direct hardware access (<mode> = 1 or 2) -F <file> Read configuration data from given file -G Enable PCI access debugging |
$whois
![]() bash: whois: command not found |
$sudo
Password: Чтение списков пакетов... Готово Построение дерева зависимостей... Готово Будут установлены следующие дополнительные пакеты: libidn11 НОВЫЕ пакеты, которые будут установлены: libidn11 whois обновлено 0, установлено 2 новых пакетов, для удаления отмечено 0 пакетов, и 55 пакетов не обновлено. Необходимо скачать 163kБ архивов. После распаковки объем занятого дискового пространства возрастёт на 594kB. Хотите продолжить [Д/н]? Получено:1 http://debian.org.ua etch/main libidn11 0.6.5-1 [116kB] Получено:2 http://debian.org.ua etch/main whois 4.7.20 [47,7kB] Получено 163kB за 0s (738kB/c) Выбор ранее не выбранного пакета libidn11. (Чтение базы данных... на данный момент установлено 23070 файлов и каталогов.) Распаковывается пакет libidn11 (из файла .../libidn11_0.6.5-1_i386.deb)... Выбор ранее не выбранного пакета whois. Распаковывается пакет whois (из файла .../archives/whois_4.7.20_i386.deb)... Настраивается пакет libidn11 (0.6.5-1) ... Настраивается пакет whois (4.7.20) ... |
$whois nt.ua | grep gmail
e-mail: sergey.cherepenin@gmail.com |
$mkdir find
|
$cd find
|
$touch 1.cnf
|
$touch 1.conf
|
$touch 1.config
|
$find . -regex 1.*
![]() find: пути должны быть перед выражением Usage: find [-H] [-L] [-P] [path...] [expression] |
$find . -regex 1\
|
$find . -regex 1\..
|
$find . -regex '
|
$find . -regex '1\.\(config\|cnf\|conf\)
|
$find . -regex '.*
./1.cnf ./1.config ./1.conf |
$find . -regex '1
|
$find . -regex '\
![]() find: Invalid back reference |
$find . -regex '
./1.cnf ./1.config ./1.conf |
$touch 123.c
[user@debian1:find]$ find . -regex ' ./1.cnf ./1.config ./1.conf |
$find . -regex '.*\(config\|cnf\|conf\)'
./1.cnf ./1.config ./1.conf |
$ls
123.c 1.cnf 1.conf 1.config |
$find . -regex '1
|
$find . -regex 1
|
$find . -regex '^1
|
$find . -regex '^1.*(config|cnf|conf
|
$find . -regex '^
|
|