SHARE
TWEET

Untitled

a guest Sep 22nd, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function up {
  2.     if [ -z "$1" -o ! "$1" -gt 0 ]; then
  3.         cd ..
  4.     else
  5.         CDSTR=""
  6.         for i in $(seq 1 $1) ; do
  7.             CDSTR="../$CDSTR"
  8.         done
  9.         cd $CDSTR
  10.     fi
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top