LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-28-2008, 11:07 AM   #1
arunksit
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
Exclamation to reproduce the command killed with ctrl+u


The command entered on the commandline can be erased using ctrl+u.Then which is the shortcut key to reproduce the command which was killed..?
 
Old 05-28-2008, 11:18 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Killed? Erased from the current command line. There is no control sequence to rewrite the command line, unless you've copied it in the buffer, so you can use the middle mouse button to paste. Just be patient and rewrite the command line from the beginning!
 
Old 05-28-2008, 08:15 PM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
If you've prev used the same or similar cmd, try the history cmd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
F5 or CTRL+R refresh desktop-what is the command it invokes deepclutch Linux - Software 4 02-08-2008 08:08 PM
How 2 start a stopped process(CTRL+Z)in command prompt babu198649 Linux - Newbie 4 10-15-2007 03:53 AM
nohup command used but process is still killed helptonewbie Linux - Newbie 4 02-13-2007 05:44 PM
Can you reproduce this? LQtoto Linux - Security 1 05-08-2004 05:41 AM
no ctrl-a or ctrl-z in emacs or on command line? ashlock Fedora 5 12-30-2003 09:00 PM


All times are GMT -5. The time now is 04:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration