Is there a simpler way to create a symbolic link to a file in the current directory than by typing out the complete filepath?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I know that when creating symbolic links the paths must be absolute, or relative to the destination location
If I'm making a link in /usr/local/bin
that points to a file in the current directory, is there an easier way - something, for example, that works with tab-completion in bash - than to do ...
ln -s $(pwd)/target_file /usr/local/bin/
...?
(Where $(_something_)
evaluates the _something_
and substitutes it into the shell command.)
symlink
add a comment |Â
up vote
0
down vote
favorite
I know that when creating symbolic links the paths must be absolute, or relative to the destination location
If I'm making a link in /usr/local/bin
that points to a file in the current directory, is there an easier way - something, for example, that works with tab-completion in bash - than to do ...
ln -s $(pwd)/target_file /usr/local/bin/
...?
(Where $(_something_)
evaluates the _something_
and substitutes it into the shell command.)
symlink
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I know that when creating symbolic links the paths must be absolute, or relative to the destination location
If I'm making a link in /usr/local/bin
that points to a file in the current directory, is there an easier way - something, for example, that works with tab-completion in bash - than to do ...
ln -s $(pwd)/target_file /usr/local/bin/
...?
(Where $(_something_)
evaluates the _something_
and substitutes it into the shell command.)
symlink
I know that when creating symbolic links the paths must be absolute, or relative to the destination location
If I'm making a link in /usr/local/bin
that points to a file in the current directory, is there an easier way - something, for example, that works with tab-completion in bash - than to do ...
ln -s $(pwd)/target_file /usr/local/bin/
...?
(Where $(_something_)
evaluates the _something_
and substitutes it into the shell command.)
symlink
symlink
asked 3 mins ago
user3.1415927
51117
51117
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f479991%2fis-there-a-simpler-way-to-create-a-symbolic-link-to-a-file-in-the-current-direct%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password