what are the most common linux terminal shortcuts that you use ?
Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
for commands that require a lot of arguments that need to be issued the same way every time i do
$ history | grep command (minus the arguments)
$ $history | grep vlc
frieza, you may be interested to know, you can use "ctrl + r" and type "vlc" to reverse incremental search the history.
Pressing ctrl+r repeatedly again, to scroll through the matched entries, until you find the one you want.
This will create a folder called Months with subfolders of the months
and each sub month folder will have subfolders from Week1 through Week4
and each Week* folder will have subfolders of the days of the week
This is good for making folders that each would have things in common
Try it out and you see what I mean.
Bet no GUI file manager could top that
Last edited by linux-freak; 01-03-2012 at 03:36 AM.
Here's what's in my cheat-sheet.txt right now for Bash. I don't use all of these regularly, but they have all been useful on some occasions.
** CURSOR MOVEMENT **
C-f, C-b forward, backward one character
M-f, M-b forward, backward one word
C-a, C-e start, end of line
C-], M-C-] search next, previous occurrence of character in line
** DELETING **
<Backsp> character left of cursor
<Del> | C-d character under cursor
** MISCELLANEOUS EDITING **
C-_ | C-x C-u | C-/ undo last edit
C-t transpose character left of cursor
M-t transpose word left of cursor
M-u uppercase word
M-l lowercase word
M-r undo all changes to this line
C-l clear screen and continue editing current line
C-x C-e edit the current line in the $EDITOR
** COMPLETION **
<Tab> complete text before point
M-? list all completions
M-* insert all completions
M-~ force tilde completion
** KILLING AND YANKING TEXT **
C-k kill from cursor to end of line
C-u kill from cursor to start of line
M-- C-k kill from cursor to start of line
M-d kill from cursor to end of word
M-<Backsp> kill from cursor to start of word
C-w kill from cursor to previous whitespace
C-y yank most recently killed text at cursor
M-y rotate kill-ring and yank
** RECALLING FROM HISTORY **
C-p, C-n recall previous, next line from history
M-< recall first line from history
M-> recall last line from history
M-p, M-n reverse, forward search (non-incremental)
C-r, C-s reverse, forward i-search
<Return> accept and execute line
C-a | <Esc> accept and edit at start of line
C-e accept and edit at end of line
C-g abort i-search and restore original line
** REPEATING COMMANDS **
<Esc> n (where n represents an integer)
M-n (only first digit need be metafied)
C-x ( begin keyboard macro definition
C-x ) end keyboard macro definition
C-x e execute keyboard macro
In the absence of further documentation, the list above may seem quite arcane to the uninitiated. As this is a cheat sheet intended for my personal use I only recorded enough information to remind myself. Here's the full documentation: