0

I know I can create a folder's shortcut by pressing Ctrl and shift, but I wonder how to do it in a command line.

  • "pressing Ctrl and Shift" doesn't do anything for me. – vanadium Dec 21 '19 at 9:10
  • 1
    There is a difference between a "shortcut" (quick link to a folder, but does otherwise not change the behaviour of the folder) and a "symlink" (replaces the folder, i.e., makes the folder appear as if moved (actually copied) onto a new location. Please adapt your title if you mean a "link" (like you create with Ctrl Shift Drag), but then this is a duplicate question. – vanadium Dec 21 '19 at 9:13
1

You can create a symbolik link file in the Desktop folder with a ln command like this:

ln -s ~/home/user/some/folder ~/Desktop/some_folder
  • yeah, but it tells me that the link is broken – Negrito Dec 23 '19 at 11:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.