DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
linux up command multiple level of directory
up () { local old="$PWD" for i in $(seq "${1:-1}"); do cd .. done OLDPWD="$old" }
Source by askubuntu.com #
PREVIOUS
NEXT
Tagged:
#linux
#command
#multiple
#level
#directory
ADD COMMENT
Topic
COMMENT
Name
6+8 =
Submit