We have so many useful folders, which are in different path, for our working in Linux.

For example :

  1. $cd ~/Documents/Courses/EDX/physics2013/
  2. $cd ~/Documents/Courses/Company/OpenGL/Proj/...
  3. $cd ~/Documents/Courses/Freelance/Android/Proj/... ....

How to create some short paths which can be used like

  1. $cd edxPhy2013
  2. $cd cglProj-v-2.13
  3. $cd flAndrProj-v-1.1

asked 30 Sep '13, 11:35

gapry's gravatar image

gapry
1112
accept rate: 0%




You can create an alias for the short path.

Ex.

alias edxPhy2013='cd ~/Documents/Courses/EDX/physics2013/' alias cglProj='cd ~/Documents/Courses/Company/OpenGL/Proj/' alias flAndrProj='cd ~/Documents/Courses/Freelance/Android/Proj/'

this will create a short path to switch your directory.

link

answered 03 Dec '13, 01:24

abdul9711's gravatar image

abdul9711
2113
accept rate: 0%

You can also use symlinks.

See ln man page

link

answered 13 Feb '14, 19:25

Andy%20Alkaline's gravatar image

Andy Alkaline
2018
accept rate: 11%

alias is the best solution

link

answered 14 Aug '14, 03:18

kalalharshal's gravatar image

kalalharshal
1113
accept rate: 0%

one more option use softlink concepts

link

answered 14 Aug '14, 03:19

kalalharshal's gravatar image

kalalharshal
1113
accept rate: 0%

I can"t find my answer, done a few moments ago, but a Bookmark folder in your Browser would work easily, with some time for the conf.

link

answered 17 Aug '14, 20:33

starlyte's gravatar image

starlyte
111
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×90

Asked: 30 Sep '13, 11:35

Seen: 2,829 times

Last updated: 17 Aug '14, 20:33

powered by OSQA