Available languages
Useful links
Читать на русском
Sunday, December 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:"
Complete Story
Original story:
10 Bash Tips for Working Faster With the Shell (Part 1 of 2)
8 More Bash Tips for Working Faster With the Shell (Part 2 of 2)
In addition:
Introduction to Linux Command-Line for Beginners
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment