Fix quickly go to directory example (#27)

This commit is contained in:
Zero King 2017-04-06 06:23:57 +00:00 committed by Adnan Ahmed
parent a9ee7cbe5f
commit 1e2cd1f5f0
1 changed files with 3 additions and 2 deletions

View File

@ -1072,9 +1072,10 @@ Open `bash_profile` by running following command `nano ~/.bash_profile`
nano ~/.bashrc
> export hotellogs="/workspace/hotel-api/storage/logs"
```bash
source ~/.bashrc
cd hotellogs
cd $hotellogs
```
# 4. Debugging
You can easily debug the bash script by passing different options to `bash` command. For example `-n` will not run commands and check for syntax errors only. `-v` echo commands before running them. `-x` echo commands after command-line processing.