Document on '!!'


I am using Solaris 2.6

'!!'  is a command to repeat last used command

but sometimes it does not work.

where can I find the document about it .

Thanx
PhoebeAsked:
Who is Participating?
 
poggaConnect With a Mentor Commented:
!! is only available in the (t)csh shell.
Info is available in the man pages on csh.
(  man csh  )
(Look for shell history section)
0
 
tfewsterCommented:
!! only works in the c-shell, so it would not work for e.g. root who uses the bourne shell. Check what shell is used in /etc/passwd.

Try man csh for more info!
0
 
tfewsterCommented:
Is there an echo in here?
0
 
poggaCommented:
sorry, it took me a while between writing and posting.
0
All Courses

From novice to tech pro — start learning today.