Skip to main content

Thread: shortcut cd


hi ubuntuforums,

if have folder structure this: home/user/pics/animals/downloaded/google_images/mammals/ ,
there way quicky cd mammals folder without typing long directory?

well, place @ end of .bash_rc
code:
export img=/home/user/pics/animals/downloaded/google_images/mammals/
after you're done, type in terminal apply changes:
code:
source .bashrc
done! now, whenever want enter directory, need enter this:
code:
cd $img
of course, can replace img , directory whatever like.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu [ubuntu] shortcut cd


Ubuntu

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?