Unix/ Linux ShortCuts
Unix/ Linux Keyboard shortcuts
These commands are case insensitive.
| Shortcut/command | Description |
|---|---|
| [Ctrl]+B | Moves the cursor backward one character. |
| [Ctrl]+C | Cancels the currently running command. |
| [Ctrl]+D | Logs out of the current session. |
| [Ctrl]+F | Moves the cursor forward one character. |
| [Ctrl]+H | Erase one character. Similar to pressing backspace. |
| [Ctrl]+P | Paste previous line(s). |
| [Ctrl]+S | Stops all output on screen (XOFF). |
| [Ctrl]+Q | Turns all output stopped on screen back on (XON). |
| [Ctrl]+U | Erases the complete line. |
| [Ctrl]+W | Deletes the last word typed. For example, if you typed 'mv file1 file2' this shortcut would delete file2. |
| [Ctrl]+Z | Cancels current operation, moves back a directory or takes the current operation and moves it to the background. See bg command for additional information about background |
| [Ctrl]+E | Alternative to End key (or) Move cursor to end of command |
| [Ctrl]+A | Alternative to Home key (or) Move cursor to starting of command |
Unix/ Linux Command line shortcuts
These are a few command line shortcuts.| Shortcut/ command | Description |
|---|---|
| ~ | Moves to the user's home directory. |
| cd - | Move to previously accessed directory |
| cd !$ | !$ represents the arguments from your last command |
| mkdir myfolder{1,2,3} | create three folders: myfolder1, myfolder2, and myfolder3. |
| !! | 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. |
| reset | Resets the terminal if terminal screen is not displaying correctly. |
| shutdown -h now | Remotely or locally shuts the system down. |
| exit | logout |
| <Mark or Select text><Enter> | Copies the text currently highlighted or marked |
| <Mouse Right Click> | Paste the text which is currently highlighted somewhere else. |
| alias | Using alias, we can create shortcuts for frequently used commands/ |
tags: Unix shortcuts, Linux keyboard shortcuts,
No comments:
Post a Comment