Some basics of bash
Some basics of bash
- Code:
STTY :- Change the settings and print terminal line settings
Now to suspend any control like contrl-v use this
[quote]
stty susp '^v'
[/quote]
- Code:
COMMAND LINE HISTORY :-
The history can be searched with an exclamation mark which denotes the starting of the command ..
for example :-
$ date
Tue Mar 10 16:45:47 IST 2009
$ !d
Tue Mar 10 16:45:47 IST 2009
Bash returns a message if did not find any suitable command in history ..
$ !x
bash: !x: event not found
A double '!' represents the last command
$ !! ( will execute the last command )
example
- Code:
$ date ; sleep 5 ; !#
date ; sleep 5 ; date ; sleep 5 ;
Fri Jan 18 15:26:54 EST 2002
Fri Jan 18 15:26:59 EST 2002
$
sriharsha- Posts : 21
Join date : 2009-02-02
Permissions in this forum:
You cannot reply to topics in this forum
|
|