10 Linux Shortcuts You Can't Live Without



10 Linux Shortcuts You Can't Live Without

The most handy shortcut and time saver for the linux command line. This actually makes navigating directories faster in the CLI than the traditional GUI browser. Simply start typing the command, filename, or directory and hit tab. Bash will automatically complete what you are typing. It even works at the lilo prompt and in some X applications.

2. Ctrl + c

Stop that program dead in its tracks. This is the command line version of end task.

3. Ctrl + z

Send the current process to background. This is useful if you have a program running, and you need the terminal for awhile but don't want to exit the program completely.

Type the command fg to get the process back.

4. Ctrl + d

Log out from the current terminal. If you use this in an X terminal emulator such as xterm it will usually close it after logging out.

5. Ctrl + u

Erase the current line. I use this one all the time when I type the wrong command in.

6. Ctrl + Alt + F1, (F1-F6)

Switch to the first virtual terminal. In Linux, you can have several virtual terminals at the same time. The default is 6. (Ctrl + Alt + F7 to get back to X)

7. Ctrl + l (lowercase L)

Clear the terminal.

8. Ctrl + Alt + Backspace

Kill the X server. Use this if X crashes and you can't exit it normally. If you've configured GDM to start automatically at bootup, this restarts the server and throws you back to the graphical login screen.

9. Ctrl + a

Move the cursor to the beginning of the current line. Usefull for those times you navigated all the way through 20 directories and forgot to add 'cp' to the beginning. Use this instead of the arrow keys.

10. Ctrl + e

Last but not least get that cursor back to the end of the line.


Read full article from 10 Linux Shortcuts You Can't Live Without


No comments:

Post a Comment

Labels

Algorithm (219) Lucene (130) LeetCode (97) Database (36) Data Structure (33) text mining (28) Solr (27) java (27) Mathematical Algorithm (26) Difficult Algorithm (25) Logic Thinking (23) Puzzles (23) Bit Algorithms (22) Math (21) List (20) Dynamic Programming (19) Linux (19) Tree (18) Machine Learning (15) EPI (11) Queue (11) Smart Algorithm (11) Operating System (9) Java Basic (8) Recursive Algorithm (8) Stack (8) Eclipse (7) Scala (7) Tika (7) J2EE (6) Monitoring (6) Trie (6) Concurrency (5) Geometry Algorithm (5) Greedy Algorithm (5) Mahout (5) MySQL (5) xpost (5) C (4) Interview (4) Vi (4) regular expression (4) to-do (4) C++ (3) Chrome (3) Divide and Conquer (3) Graph Algorithm (3) Permutation (3) Powershell (3) Random (3) Segment Tree (3) UIMA (3) Union-Find (3) Video (3) Virtualization (3) Windows (3) XML (3) Advanced Data Structure (2) Android (2) Bash (2) Classic Algorithm (2) Debugging (2) Design Pattern (2) Google (2) Hadoop (2) Java Collections (2) Markov Chains (2) Probabilities (2) Shell (2) Site (2) Web Development (2) Workplace (2) angularjs (2) .Net (1) Amazon Interview (1) Android Studio (1) Array (1) Boilerpipe (1) Book Notes (1) ChromeOS (1) Chromebook (1) Codility (1) Desgin (1) Design (1) Divide and Conqure (1) GAE (1) Google Interview (1) Great Stuff (1) Hash (1) High Tech Companies (1) Improving (1) LifeTips (1) Maven (1) Network (1) Performance (1) Programming (1) Resources (1) Sampling (1) Sed (1) Smart Thinking (1) Sort (1) Spark (1) Stanford NLP (1) System Design (1) Trove (1) VIP (1) tools (1)

Popular Posts