Это старая версия документа!
Администрирование
Работа с историей
- !! run last command
- !command run the most recent command that starts with ‘command’ (e.g. !ls)
- !command:p print out the command that !command would run (also adds it as the latest command in the command history)
- !$ the last word of the previous command (same as Alt + .)
- !$:p print out the word that !$ would substitute
- !* the previous command except for the last word (e.g. if you type ‘find some_file.txt /‘, then !* would give you ‘find some_file.txt‘)
- !*:p print out what !* would substitute
Поиск
locate whereis wich apt-cache show sysstat apt-cache search sysstat apt-cache policy sysstat find / -type f -exec grep -l "IP" {} \;
init
- chkconfig