From 1e2cd1f5f09aaf3fb309d84b3102b36b8a27cc98 Mon Sep 17 00:00:00 2001 From: Zero King Date: Thu, 6 Apr 2017 06:23:57 +0000 Subject: [PATCH] Fix quickly go to directory example (#27) --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f063ee0..4d037f9 100644 --- a/README.md +++ b/README.md @@ -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.