Topics for the Command Line Lecture for Newbies
Part 1: Command Line
- Opening a terminal. (The Terminal Icon on KDE)
- Exiting from a terminal. (exit or the X button)
- The Command Loop
- cd
- pwd
- ls
- mkdir
- cp
- mv
- rm
- wildcards and their use (*, ?, [ ])
- less/more
- Quitting with q
- Next Page with space/Page-Down
- Previous Page with b/Page-Up
- To the end with >
- To the beginning with <
- One line down with Down-Arrow/j
- One line up with Up-Arrow/k
- Moving Sideways: Right-Arrow/Left-Arrow
- Searching with / (forward) and ? (backward)
- kdehelp
- man
- makewhatis + apropos
- The "--help" and "-h" switches.
- find
- Piping:
- Shell Goodies:
- The command history (up and down arrows)
- TAB filename completion
- Ctrl+A, Ctrl+E, ALT-F, ALT-B
Part 2: Job Control / Interaction With X
- Ctrl+Z
- Ctrl+C
- &
- bg
Part 3: vi
- Invoking vi (vi/vim/gvim)
- Exiting (:q and :q!)
- Saving the file (:w)
- Moving around:
- The Arrow Keys + h-j-k-l
- Adding text (i/a) and getting back to command mode (ESC)
- Deleting text:
- Advanced movement commands:
- 0 and $
- gg and G
- digits + movement
- Getting help: (:help)
References and Links
http://www.linux.org.il/LDP/LDP/gs/gs.html -
The Linux Installation and Getting Started Guide
http://www.linux.org.il/LDP/docs.html#guide -
http://www.geek-girl.com/Unixhelp/ -