LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 09-25-2018, 05:30 AM   #1
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Rep: Reputation: Disabled
BL4.5.0-64bit - How to create a link to folder, please?


I'd like to have quicker access between two folders,
so, how can I create a link from a folder to another one, please?

EDIT:
I found it.
In Terminology, I had to do

Code:
ln -s /path/to/link-target /path/of/where/to/put/link
Isn't there a way without typing the sometimes very long paths, i.e. without using the terminal?

Last edited by madmax25; 09-25-2018 at 08:18 AM.
 
Old 09-25-2018, 07:59 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
You can shorten things a bit:
1) Create the link while sitting in the directory where you want "/path of where to put link" so you only have to type the name. e.g.
RATHER THAN:
ln -s /this/dir/is/very/long/dont/you/think /this/otherdir/is/also/very/long/to/type
INSTEAD:
cd /this/otherdir/is/also/very/long/to
ln -s /this/dir/is/very/long/dont/you/think type

Any later references to "/this/otherdir/is/also/very/long/to/type" will work just as they would if you'd done the first syntax.

2) If the directories have a common path you can use relative links e.g.:
RATHER THAN:
ln -s /this/dir/is/very/long/dont/you/think /this/dir/is/very/long/dont/we/know
INSTEAD:
cd /this/dir/is/very/long/dont/we
ln -s ../../you/think know

The ../../ makes it relative to the common /this/dir/is/very/long/dont subdirectory of both the target and the link.

Last edited by MensaWater; 09-25-2018 at 08:12 AM.
 
Old 09-25-2018, 08:32 AM   #3
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Original Poster
Rep: Reputation: Disabled
Isn't there a way, when right clicking a folder, to create a context option like "Create a link to that folder"?
Then you could move that link to wherever you need it.

Would be quite a handy thing, I guess.
 
Old 09-25-2018, 08:40 AM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
There probably is but I don't spend a lot of time in GUIs myself. The real power comes at command line.

These days even MS Windows servers don't install the GUI by default and they recommend using command line (Powershell).
 
Old 09-25-2018, 11:25 AM   #5
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
You can create a symlink with a particular SW. From time to time I use Double Commander and under Files menu item you can find creating a symbolic link.

Last edited by the_waiter; 09-25-2018 at 12:20 PM.
 
Old 09-25-2018, 11:50 AM   #6
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
Quote:
Originally Posted by madmax25 View Post
how can I create a link from a folder to another one, please?

Isn't there a way without typing the sometimes very long paths, i.e. without using the terminal?
Yes, you can do it in pcmanfm.

Find the folder you want linked somewhere else. Highlight it. From the pull down menu select edit/Create Link. Then select the folder you want to put the link.
 
Old 09-25-2018, 12:00 PM   #7
madmax25
Member
 
Registered: Aug 2018
Posts: 348

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by enigma9o7 View Post
Yes, you can do it in pcmanfm.

Find the folder you want linked somewhere else. Highlight it. From the pull down menu select edit/Create Link. Then select the folder you want to put the link.
Wow, a-ma-zing!!!
Didn't know it was that easy!
Much better than the uncomfortable way with the terminal.

Thank you very much!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BL4.5.0-64bit - Need command to start Moksha from command line? madmax25 Bodhi 4 10-04-2018 10:30 AM
BL4.5.0.64bit - Vino tray icon missing madmax25 Bodhi 2 09-23-2018 09:34 AM
BL4.5.0-64bit - ukuu doesn't show what it is doing. madmax25 Bodhi 2 09-23-2018 09:29 AM
How to create a shortcut to access the folder in terminal? Mike_Brown Linux - Newbie 1 11-25-2015 11:26 AM
Root Folder Shortcut Shoal Linux - Newbie 6 08-11-2004 12:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi

All times are GMT -5. The time now is 04:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration