skip to main
|
skip to sidebar
Mittwoch, 10. Februar 2010
cd; find . -print|tar cvf /dev/rmt/0cbn -T -
0 Kommentare:
Kommentar veröffentlichen
Neuerer Post
Älterer Post
Startseite
Abonnieren
Kommentare zum Post (Atom)
bits of knowledge of sysadmin
Blog-Archiv
▼
2010
(33)
►
September
(1)
cat .ssh/id_rsa.pub | ssh 111.122.1.98 "cd;mkdir ....
►
Juni
(3)
find . -type f -print0|xargs -0 ls -s1|sort -rn|he...
tr -cs "[:alpha:]" "\n" < bool2.pl |tail -10
modprobe -r pcspkr ---switch off pc speaker
▼
Februar
(24)
vim: %&g --repeat last substitution everywhere in ...
dmesg|dd -conv ucase
vim: :s ---repeat last substitution. Or simply &
tar cf - old-dir |(cd new-dir; cd ..; tar xvpf -)
vim: :%s/Intel/\U&/gc
vi: %s/^=.*=/=&=/gc ----lowers all headers level ...
ex: 3,8s/.*/(&)
tar xvf my.tar `tar tf my.tar|grep 'pattern';sleep...
:%s/\(abcd)\1/alphabet-soup/ ----changes 'abcdabcd...
ex: :s/End.*/End ---removes all characters on the ...
cd; find . -print|tar cvf /dev/rmt/0cbn -T -
vim: :g/3/s/line/LINE/gc ---on lines containing '3...
screen -D -R
cat /proc/cmdline ---shows parameteres passed to t...
man 7 signal
ex: 164,220 ya a ---yank lines 164 through 220 int...
vim: % refers to the current filename, # - to the ...
vim: :e! ---discard edits and return to the saved ...
find . -print|cpio -oacvB|(ssh myhost dd of=backup...
dmesg|grep cpu. -io
vim: :args :last :rewind
dpkg -iG foo ---G says not to proceed if a newer p...
ext: tune2fs -l /dev/hda2
vim: :0r foo.txt :$r foo.txt :$185 foo.tx...
►
Januar
(5)
`usermod -L` locks the user, `usermod -U` unlocks
gpg --keyserver=x-hkp://pgp.mit.edu --send-keys e4...
df . ---quickly determine what filesystem the curr...
virtualization-capable CPU (/proc/cpuinfo) must ha...
etherpad.com
►
2009
(274)
►
Dezember
(30)
ex: g/pattern1 ---print all lines containing patte...
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...
►
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
Sergei Guzenkov
de,fr,en,gr,ar,he linux(Arch,gentoo),OpenBSD,FreeBSD,NetBSD
Mein Profil vollständig anzeigen
0 Kommentare:
Kommentar veröffentlichen