ONE COMMAND A DAY
April 20, 2009 Leave a comment
2> cd command.
This command is used to change to another directory.Suppose we are in any directory and then we do cd /bin ,this changes our current directory or the working directory to /bin.
- -m keymap
- Use keymap as the keymap to be affected by the subsequent bindings. Acceptable keymap names are emacs, emacs-standard, emacs-meta, emacs-ctlx, vi, vi-move, vi-command, and vi-insert. vi is equivalent to vi-command; emacs is equivalent to emacs-standard.
- List the names of all readline functions.
- Display readline function names and bindings in such a way that they can be re-read.
- List current readline function names and bindings.
- Display readline variable names and values in such a way that they can be re-read.
- List current readline variable names and values.
- Display readline key sequences bound to macros and the strings they output in such a way that they can be re-read.
- Display readline key sequences bound to macros and the strings they output.
- -f filename
- Read key bindings from filename.
- -q function
- Query about which keys invoke the named function.
- -u function
- Unbind all keys bound to the named function.
- -r keyseq
- Remove any current binding for keyseq.
- -x keyseq:shell-command
- Cause shell-command to be executed whenever keyseq is entered
And yes man cd is always there for complete description.
Use the cd command to change into the / (root) directory.
$ cd /
Now change into the usr directory, below the / directory
- $ cd /usr