Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux up command multiple level of directory

up ()
{
    local old="$PWD"
    for i in $(seq "${1:-1}"); do
        cd ..
    done
    OLDPWD="$old"
}
Comment

PREVIOUS NEXT
Code Example
Shell :: ignore pre-commit hook 
Shell :: calenderfx installation 
Shell :: how to commit a file in git and never commit it again 
Shell :: nodejs new version error overwrite old 
Shell :: fork/exec /bin/bash: resource temporarily unavailable 
Shell :: login authentication in android using volley github 
Shell :: dont want ot type my passphrase everytime i push 
Shell :: Show CSF version 
Shell :: git rebase which is local and remote 
Shell :: drush available source plugins 
Shell :: how do i get buster and gnome chromebook 
Shell :: como descargar flask en ubuntu 21.04 
Shell :: git command change to previous comit 
Shell :: get to directory downloads in ubuntu 20.04 using terminal 
Shell :: vnc not working ubuntu dconf 
Shell :: install webdav ubuntu 18.04 
Shell :: sed range of lines result 
Shell :: facebook signin does not working on facbook app works only when no app is installed 
Shell :: show windows version cnd 
Shell :: fstab linux mint 
Shell :: is greepper installed 
Shell :: To prevent the reboot command from sending a message, systemctl command 
Shell :: CPU usage alert generator bash script 
Shell :: lst conflit files gt 
Shell :: webgpu chrome linux 
Shell :: show specific lines in file linux 
Shell :: linux list zip contents 
Shell :: fatal error: jansson.h: Aucun fichier ou dossier de ce type 
Shell :: check git remote address 
Shell :: forever command 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =