4 typo for command fixed; nicer example run
source | link

As the most common shells expands paths, to create a relative symlink you should quote the "source path".

Also, the -s parameter means --symbolic. ln creates hard links by default.

$ ln -s '../../relative_path' path
$ llls -al path

lrwxrwxrwx 1 empjustine empjustine 19 Aug  6 01:38 path -> ../../relative/path

As the most common shells expands paths, to create a relative symlink you should quote the "source path".

Also, the -s parameter means --symbolic. ln creates hard links by default.

$ ln -s '../../relative_path' path
$ ll path

lrwxrwxrwx 1 empjustine empjustine 19 Aug  6 01:38 path -> ../../relative/path

As the most common shells expands paths, to create a relative symlink you should quote the "source path".

Also, the -s parameter means --symbolic. ln creates hard links by default.

$ ln -s '../../relative_path' path
$ ls -al path

lrwxrwxrwx 1 empjustine empjustine 19 Aug  6 01:38 path -> ../../relative/path
3 typo for command fixed; nicer example run
source | link

As the most common shells expands paths, to create a relative symlink you should quote the "source path".

Also, the -s parameter means --symbolic. ls createln creates hard links by default.

$ ln -s '../../relative_path' path
$ lsll -lapath

lrwxrwxrwx 1 empjustine empjustine 19 Aug  6 01:38 path -> ../../relative/path

As the most common shells expands paths, to create a relative symlink you should quote the "source path".

Also, the -s parameter means --symbolic. ls create hard links by default.

$ ln -s '../../relative_path' path
$ ls -la

lrwxrwxrwx 1 empjustine empjustine 19 Aug  6 01:38 path -> ../../relative/path

As the most common shells expands paths, to create a relative symlink you should quote the "source path".

Also, the -s parameter means --symbolic. ln creates hard links by default.

$ ln -s '../../relative_path' path
$ ll path

lrwxrwxrwx 1 empjustine empjustine 19 Aug  6 01:38 path -> ../../relative/path
2 spelling was wrong, and confusing.
source | link

As the most common shells expands paths, to attempt to create a symbolicrelative symlink you should quote the target"source path".

Also, the -s parameter means --symbolic. ls create hard links by default.

$ ln -s '../../relative_path' path
$ ls -la

lrwxrwxrwx 1 empjustine empjustine 19 Aug  6 01:38 path -> ../../relative/path

As the most common shells expands paths, to attempt to create a symbolic symlink you should quote the target.

Also, the -s parameter means --symbolic. ls create hard links by default.

$ ln -s '../../relative_path' path
$ ls -la

lrwxrwxrwx 1 empjustine empjustine 19 Aug  6 01:38 path -> ../../relative/path

As the most common shells expands paths, to create a relative symlink you should quote the "source path".

Also, the -s parameter means --symbolic. ls create hard links by default.

$ ln -s '../../relative_path' path
$ ls -la

lrwxrwxrwx 1 empjustine empjustine 19 Aug  6 01:38 path -> ../../relative/path
1
source | link