You can go back to the last dir with cd -
Related Contents:
- How do I split a string on a delimiter in Bash?
- Check existence of input argument in a Bash shell script
- YYYY-MM-DD format date in shell script
- How to echo shell commands as they are executed
- How can I compare numbers in Bash?
- Why is whitespace sometimes needed around metacharacters?
- How to urlencode data for curl command?
- How to represent multiple conditions in a shell if statement?
- How can I suppress all output from a command using Bash?
- Running script upon login in mac OS X [closed]
- How can I detect if my shell script is running through a pipe?
- Returning a boolean from a Bash function
- Only get hash value using md5sum (without filename)
- Remove duplicate entries in a Bash script [duplicate]
- Quick-and-dirty way to ensure only one instance of a shell script is running at a time
- How to check if running in Cygwin, Mac or Linux?
- Variable interpolation in the shell
- How can I debug a Bash script? [closed]
- How to tell if a string is not defined in a Bash shell script
- Convert Unix timestamp to a date string
- Count occurrences of a char in a string using Bash
- How to specify a multi-line shell variable?
- Relative paths based on file location instead of current working directory [duplicate]
- Curl with multiline of JSON
- What does “export” do in shell programming? [duplicate]
- Simulating ENTER keypress in bash script
- recursively add file extension to all files
- Bash command line and input limit
- What do $? $0 $1 $2 mean in shell script? [duplicate]
- Is there a way to create key-value pairs in Bash script?
- Execute a shell function with timeout
- Unix shell script to truncate a large file
- Is mixing getopts with positional parameters possible?
- Can’t run AWS CLI from CRON (credentials)
- How to delete empty source directories when moving folders with rsync?
- LINES and COLUMNS environmental variables lost in a script
- How does Ctrl-C terminate a child process?
- How to run a vim command from the shell command-line?
- How to pipe multiple commands into a single command in the shell? (sh, bash, …)
- shell replace cr\lf by comma
- How to calculate the log of a number using bc?
- Using if elif fi in shell scripts [duplicate]
- Pass command line arguments via sbatch
- How to check if multiple variables are defined or not in bash
- Grab the filename in Unix out of full path
- How to write if statement in .tmux.conf to set different options for different tmux versions?
- What is the reason for the weird syntax of the “case” statement in a bash/zsh script?
- How can I see all of the bash history?
- How to define a shell script with variable number of arguments?
- How to automatically accept the remote key when rsyncing?