this post was submitted on 30 Jan 2025
28 points (100.0% liked)

Linux Questions

1281 readers
60 users here now

Linux questions Rules (in addition of the Lemmy.zip rules)

Tips for giving and receiving help

Any rule violations will result in disciplinary actions

founded 2 years ago
MODERATORS
 

Is there anything that could help me memorise the argument order of the ln command?

I'll take anything from little helper phrases over shell extensions to replacements written in Rust. I only use the command occasionally, but I need a fool-proof solution. Do you have any tricks to get it right?

@linuxquestions

#AskFedi #Linux

you are viewing a single comment's thread
view the rest of the comments
[–] eternacht 2 points 1 day ago

I think of it in terms of the cp command: Source first, followed by destination. The last argument is always the new file/link you are creating.