added the `pushd` command for easy switching between different

directories
pull/89/head
murima 2015-06-20 22:36:47 +03:00
parent eab7f29c28
commit 5b649159a7
1 changed files with 1 additions and 0 deletions

View File

@ -144,6 +144,7 @@ Notes:
- For a simple web server for all files in the current directory (and subdirs), available to anyone on your network, use: - For a simple web server for all files in the current directory (and subdirs), available to anyone on your network, use:
`python -m SimpleHTTPServer 7777` (for port 7777 and Python 2) and `python -m http.server 7777` (for port 7777 and Python 3). `python -m SimpleHTTPServer 7777` (for port 7777 and Python 2) and `python -m http.server 7777` (for port 7777 and Python 3).
-For switching between directories while working on multiple directories use `pushd` to pushd the directories in a stack and you can easily remove them using `pop`, which will remove the topmost directory in the stack or rotate the stack forward or backward using `pushd+n`. where `n` is the number of times to rotate the stack
## Processing files and data ## Processing files and data