skip to main
|
skip to sidebar
Samstag, 12. Dezember 2009
ex: /pattern1/;+5 ---print the first line containing pattern1 and 5 lines following it.
Keine Kommentare:
Kommentar veröffentlichen
Neuerer Post
Älterer Post
Startseite
Abonnieren
Kommentare zum Post (Atom)
bits of knowledge of a sysadmin
Blog-Archiv
►
2013
(2)
►
Februar
(2)
►
2010
(33)
►
September
(1)
►
Juni
(3)
►
Februar
(24)
►
Januar
(5)
▼
2009
(274)
▼
Dezember
(30)
ex: g/pattern1 ---print all lines containing pattern1
ex: /pattern1/;+5 ---print the first line containi...
audit2allow -i /var/log/audit/audit.log
chcon -R -t httpd_user_content_t /var/www/
yum install postfix system-switch-mail
ex: 5,+5 --prints lines 5 through to current line ...
ex: /foo/,/bar/d ---delete lines starting with the...
ex: /gaga/+d ---delete a line below the first line...
IPADDR_START ..
~/.bash_profile: export EDITOR=vim; export VISUAL=...
expand -i -t 18
ex: ,/gaga/d ---delete current line through to the...
ex: /gaga/d ---delete next line containing gaga
ex: -,+t0 ---copy three lines (the line above the...
mke2fs -t ext4 -O ^has_journal /dev/sdf -L sysresc...
grub-install --root-directory=/media/usbstick/ /de...
touch /forcefsck or `shutdown -rF now` ---t...
no sound in skype with pulseaudio: pavucontrol
ex: ,+5# ---shows line numbers of 5 lines starting...
ex: .,+203# or ,+203 (dot can be ommitted, beca...
ex: 500,$m.-2 ---move lines from 500 through the ...
httpd.conf: AddOutputFilterByType DEFLATE text/htm...
service httpd configtest
yum.conf: metadata_expire=90m
rpmbuild --showrc
ex: .,.+32d ----delete 32 lines starting from th...
syslogd -a /var/named/chroot/dev/log
man bootparam
man capabilities
dnssec-keygen -a hmac-md5 -b 256 -n USER dyndns -...
►
November
(102)
►
Oktober
(12)
►
September
(22)
►
August
(12)
►
Juni
(8)
►
Mai
(5)
►
April
(81)
►
März
(1)
►
Februar
(1)
►
2008
(10)
►
November
(2)
►
Oktober
(3)
►
September
(2)
►
August
(1)
►
Mai
(2)
Über mich
Sergey Guzenkov
de,fr,en,pt,es
Mein Profil vollständig anzeigen
Keine Kommentare:
Kommentar veröffentlichen