Register
It is currently Fri Oct 31, 2014 11:09 am

Some shell and bash TIPS :)


All times are UTC - 6 hours


Post new topic Reply to topic  [ 2 posts ] 
Author Message
 PostPosted: Fri Mar 17, 2006 12:35 pm   
Site Admin
User avatar

Joined: Sun May 15, 2005 9:36 pm
Posts: 669
Location: Des Moines, Iowa
http://www.andamooka.org/reader.pl?pgid=learndebch13_02

Quote:
Keystroke(s) /Function

Up Move back one command in the history list.

Down Move forward one command in the history list.

Left Move back one character.

Right Move forward one character.

Esc f Move forward one word.

Esc b Move back one word.

Ctrl-A Move to beginning of line.

Ctrl-E Move to end of line.

Ctrl-D Delete current character.

Backspace Delete previous character.

Esc d Delete current word.

Ctrl-U Delete from beginning of line.

Esc k Delete to end of line.

Ctrl-Y Retrieve last item deleted.

Esc . Insert last word of previous command.

Ctrl-L Clear the screen, placing the current line at the top of the screen.

Tab Attempt to complete the current word, interpreting it as a filename, username, variable name, hostname, or command as determined by the context.

Esc ? List the possible completions.


Top
 Profile WWW  
 PostPosted: Fri Jul 30, 2010 3:34 pm   

Joined: Fri Jul 30, 2010 3:19 pm
Posts: 6
Ctrl-K is delete to end of line

ESC-K is delete entire line


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 14 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  


BashScripts | Promote Your Page Too
Powered by phpBB © 2011 phpBB Group
© 2003 - 2011 USA LINUX USERS GROUP