Unix / Linux shortcut keys

Unix / Linux shortcut keys Quick links Introduction Shortcuts are designed to help shorten the time required to perform freq...

Unix / Linux shortcut keys

Quick links
Shortcuts are designed to help shorten the time required to perform frequently used commands or actions. In the below sections we have listed keyboard shortcut keys that can be performed by pressing two or more keys at once. In addition to keyboard shortcut keys, we have also listed command line shortcut keys that can be typed in at the shell.
Please note that the below shortcut keys and command line shortcuts will not work on all variants of Unix and/or Linux.
Keyboard shortcut keys
Moves the cursor backward one character.
Cancels the currently running command.
Logs out of the current session.
Moves the cursor forward one character.
Erase one character. Similar to pressing backspace.
Paste previous line and/or lines.
Stops all output on screen (XOFF).
Turns all output stopped on screen back on (XON).
Erases the complete line.
Deletes the last word typed in. For example, if you typed 'mv file1 file2' this shortcut would delete file2.
Cancels current operation, moves back a directory and/or takes the current operation and moves it to the background. See bg command down the page for additional information about background.
Command line shortcuts
In addition to the below command line shortcuts, it is also helpful to use the alias command that allows you to specify a keyword for frequently used commands or mistakes.
Moves to the user's home directory.
Repeats the line last entered at the shell. See history command for previous commands.
Repeats the last argument for the command last used. See history command for previous commands. down
Resets the terminal if terminal screen is not displaying correctly.
shutdown -h now
Remotely or locally shuts the system down.

Linux / Unix background command
About bg
Continues a stopped job in the background. This function is not available on all Unix shell's.
bg [-l] [-p] [-x] [job]
Report the process group ID and working directory of the jobs.
Report only the process group ID of the jobs.
Replace any job_id found in command or arguments with the corresponding process  group ID, and then execute command passing it arguments.
Specifies the job that you want to run in the background.
bg  - Lists the current running jobs.
Below is a listing of how to determine the type of job when looking at the job listing.
% or %+ or %%
for the current job.
%- or -
for the previous job.
Technical support
What causes stopped jobs?
Generally a stopped job will occur if the connection is interrupted or the commanded is interrupted with TSTP signals (typically CTRL + Z).
Linux / Unix face and history command
About fc and history
The 'fc' utility lists or edits and re-executes, commands previously entered to an interactive sh.
The 'history' utility allows you to use words from previous command lines in the command line you are typing. This simplifies spelling corrections and the repetition of complicated commands or arguments.
history [-h] [-r] [n]
Start a history substitution, except when followed by a space character, tab, newline, = or (.
Runs the last command that you ran.
Re-run line number 10 in the history.
Refer to the current command line minus n.
Refer to the most recent command containing str (string).
Re runs the last command that you ran that starts with str (string).
fc [-e editor] [-n] [-l] [-r] [-s] [ first [ last ] ]
-e editor
Use the editor named by editor to edit the commands. The editor string is a utility name, subject to search via the PATH variable. The value in the FCEDIT variable is used as a default when -e is not specified. If FCEDIT is null or unset, ed will be used as the editor.
Suppress command numbers when listing with -l.
List the commands rather than invoking an editor on them. The commands will be written in the sequence indicated by the first and last operands, as affected by -r, with each command preceded by the command number.
Reverse the order of printout to be most recent first rather than oldest first.
Re-execute the command without invoking an editor.
first [last]
Select the commands to list or edit. The number of previous commands that can be accessed is determined by the value of the HISTSIZE variable. The value of first or last or both will be one of the following:
 A positive number representing a command number; command numbers can be displayed with the -l option.
A negative decimal number representing the command that was executed number of commands previously. For example, -1 is the immediately previous command.
A string indicating the most recently entered command that begins with that string. If the old=new operand is not also specified with -s, the string form of the first operand cannot contain an embedded equal sign.
fc -l - Would list the history of commands on the computer similar to the following:
2 grep --help
3 bg
4 fg
5 pine
6 cd public_html
7 rm index.html
8 sz index.html
9 ls -laxo
10 chmod 755 index.htm
fc -e - ls - Would execute the last ls command.
history - Typing history alone would give results similar to the following:
2 grep --help
3 bg
4 fg
5 pine
6 cd public_html
7 rm index.html
8 sz index.html
9 ls -laxo
10 chmod 755 index.htm
!ls - Would execute the last ls command.
!! - Would execute the last command executed.



Acronyms,1,Ads Ready,1,Adsense,1,Adserver,1,airtel,2,android,22,Apps,4,Auto Loader,19,backup,1,Bank,1,BB10,1,better,1,bios,1,blackberry,24,Blogger,11,blogger jquery,12,Blogger Template,3,blogger tips,12,Blogger Widget/Gadget,13,Bluetooth,1,BOIS Update,1,browser,2,Bug,1,business,3,CAD,1,capability,1,Career Development,2,Celebrate,1,chat,1,cloud computing,1,code,1,comment,2,computer,13,crack,17,crash,1,css,3,cure,1,CV,18,data,2,delete,1,Diamond Bank,2,download,32,email,6,ESPN,1,etisalat,2,Facebook,2,Feedburner,1,Firmware,3,Flash File,27,Flash Games,3,Flashing,3,For Seniors,2,free-up space,1,Freebies and Giveaways,2,FTP,1,Galaxy,2,games,5,glo,2,good,1,Google,8,Google Affiliate,1,Google Drive,1,Google Photos,1,Google Play Store,3,Google+.,1,great,1,GTA,4,guide,3,hacks,7,handle,1,Hard drive,2,HDD,1,how to,10,HTC,2,html,1,Huawei,1,ict,4,India,1,INEC,1,Infinity Best,1,Innovation,1,Intel,1,internet,6,internet explorer,1,iOS,2,ipad,4,iphone,7,Itel,1,java script,6,Jetpack,1,keyboard,8,know,3,Label,3,Laptop,1,Learning,12,LG,2,Lollipop,2,Mac,2,Management,1,Marriage,1,Mediafire,1,meeting,1,message,12,Microsoft,5,Microsoft excel,2,mobile,7,Mobile Phones Specifications,1,mobility,2,money,1,Motorola,1,Movie,1,Mozilla Firerfox,1,MS Word,1,MTK,2,mtn,4,music,1,need,1,Networking,1,NOBLE NOKIA INFO,9,Nokia,4,notebook,1,passwords,1,PayDirect,1,PayPal,1,PC,7,PC Games,45,PC mgazine,6,PC Tricks,3,pc-crash,1,PDF,1,Personal Productivity,4,Phone,3,photo shop,1,Play Station,9,Plugin,1,post,2,Premium Blogger Template,1,protect,3,ProtectTool,1,Racing Game,2,reasons,1,Responsive,1,Root,2,sagem,1,samsung,11,save,1,secrets,1,secure,4,security,9,security Enhancements,5,Server,1,shell-coding,1,shortcut,21,Simple Server,1,SmartsmsSolutions,2,SMS,6,social community,3,Sony,2,Spreadtrum,1,SSD,1,steps,1,Stock Rom,2,Symbian,1,Sync,2,Tablet PC,3,Talent,1,TECH_WORLD,2,Techniques,3,technology,3,technology tips,26,Tecno,7,template hacks,1,Theme,1,tips,19,transmissions,1,Tutorial,3,tutorials,28,types,1,USB Driver,1,users,1,Video,1,Virus,1,Visa Card,1,Volcano Box,8,Vote,1,WAP WORLD,8,Whatsapp,1,windows,11,Windows 10,2,Windows 7,1,Windows 8,1,windows mobile,1,Windows Phone,2,Windows Phone Store,2,windows xp,5,word of life,11,Wordpress,3,work place skills,7,WPTouch Mobile Plugin,1,Xbox,2,zain,1,Zenith Bank,1,
NOBLE ICT EXPLOITS ZONE™: Unix / Linux shortcut keys
Unix / Linux shortcut keys
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy