Tips for remembering the order of parameters for ln?Syncing multiple home folders with dropbox and...
How to draw a Venn diagram for X - (Y intersect Z)?
How much would a 1 foot tall human weigh?
Is there a wall log?
How would you control supersoldiers in a late iron-age society?
Shouldn't countries like Russia and Canada support global warming?
What is the source of "You can achieve a lot with hate, but even more with love" (Shakespeare?)
Why is it called a stateful and a stateless firewall?
Why is the UK still pressing on with Brexit?
How to publish superseding results without creating enemies
Block diagram vs flow chart?
Building Truncatable Primes using Nest(List), While, Fold
Is it appropriate to CC a lot of people on an email
Work done by spring force
Planar regular languages
Prove that a convergent real sequence always has a smallest or a largest term
If I want an interpretable model, are there methods other than Linear Regression?
Test to know when to use GLM over Linear Regression?
What is the meaning of "order" in this quote?
International Orange?
Is "you will become a subject matter expert" code for "you'll be working on your own 100% of the time"?
Why are some files not movable on Windows 10?
What would happen if Protagoras v Euathlus were heard in court today?
Why is this sentence grammatical?
Is there any reason to concentrate on the Thunderous Smite spell after using its effects?
Tips for remembering the order of parameters for ln?
Syncing multiple home folders with dropbox and symlinksFast and slow symlinksWhy SOFT LINK can't point, But HARD LINK can point to the INODE of a deleted Original File?Equivalent of alias for a symbolic link?OpenSSH refused .ssh directory with a symbolic linkWhy does udev concatenate two symlinks?`ls` Attemptes to list nonexisting symbolic links on WSLCreate symlink to a directory I don't have permissions over
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have used ln to write symbolic links for years but I still get the order of parameters the wrong away around.
This usually has me writing:
ln -s a b
and then looking at the output to remind myself.
Does anyone have any tips to help me remember the correct order?
symlink ln
add a comment
|
I have used ln to write symbolic links for years but I still get the order of parameters the wrong away around.
This usually has me writing:
ln -s a b
and then looking at the output to remind myself.
Does anyone have any tips to help me remember the correct order?
symlink ln
1
sometimes it help to say it outloud when you type it in "symbolic link toa, and call itb"
– jsotola
9 mins ago
add a comment
|
I have used ln to write symbolic links for years but I still get the order of parameters the wrong away around.
This usually has me writing:
ln -s a b
and then looking at the output to remind myself.
Does anyone have any tips to help me remember the correct order?
symlink ln
I have used ln to write symbolic links for years but I still get the order of parameters the wrong away around.
This usually has me writing:
ln -s a b
and then looking at the output to remind myself.
Does anyone have any tips to help me remember the correct order?
symlink ln
symlink ln
asked 25 mins ago
ZhroZhro
4756 silver badges16 bronze badges
4756 silver badges16 bronze badges
1
sometimes it help to say it outloud when you type it in "symbolic link toa, and call itb"
– jsotola
9 mins ago
add a comment
|
1
sometimes it help to say it outloud when you type it in "symbolic link toa, and call itb"
– jsotola
9 mins ago
1
1
sometimes it help to say it outloud when you type it in "symbolic link to
a, and call it b"– jsotola
9 mins ago
sometimes it help to say it outloud when you type it in "symbolic link to
a, and call it b"– jsotola
9 mins ago
add a comment
|
1 Answer
1
active
oldest
votes
I use the following: ln has a one-argument form (2nd form listed in the manpage) in which only the target is required (because how could ln work at all without knowing the target) and ln creates the link in the current directory. The two-argument form is an addition to one-argument form, thus the target is always the first argument.
add a comment
|
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f541795%2ftips-for-remembering-the-order-of-parameters-for-ln%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I use the following: ln has a one-argument form (2nd form listed in the manpage) in which only the target is required (because how could ln work at all without knowing the target) and ln creates the link in the current directory. The two-argument form is an addition to one-argument form, thus the target is always the first argument.
add a comment
|
I use the following: ln has a one-argument form (2nd form listed in the manpage) in which only the target is required (because how could ln work at all without knowing the target) and ln creates the link in the current directory. The two-argument form is an addition to one-argument form, thus the target is always the first argument.
add a comment
|
I use the following: ln has a one-argument form (2nd form listed in the manpage) in which only the target is required (because how could ln work at all without knowing the target) and ln creates the link in the current directory. The two-argument form is an addition to one-argument form, thus the target is always the first argument.
I use the following: ln has a one-argument form (2nd form listed in the manpage) in which only the target is required (because how could ln work at all without knowing the target) and ln creates the link in the current directory. The two-argument form is an addition to one-argument form, thus the target is always the first argument.
answered 5 mins ago
garygary
412 bronze badges
412 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f541795%2ftips-for-remembering-the-order-of-parameters-for-ln%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
sometimes it help to say it outloud when you type it in "symbolic link to
a, and call itb"– jsotola
9 mins ago