Доступные языки

Полезные ссылки
Read in English

воскресенье, 26 декабря 2010 г.

Bash Tips for Working Faster With the Shell

"Using !! "This command is used to bring back and automatically execute the last command in history. It is the same as pressing C^P followed by Enter). Here’s an example:

debian$ cat /etc/debian_version
5.0.7
debian$ !!
cat /etc/debian_version
5.0.7

"Using !text

"Replacing ‘text’ with any command will call the last command in the history which starts with ‘text’. Example:"

Original story:
10 Bash Tips for Working Faster With the Shell (Part 1 of 2)
In addition:

Комментариев нет: