Re:./watch
by teddyh on Saturday October 18, 2025 @07:37AM
(#45626539)
Similarly, many people needlessly append a slash to every directory name.
[ Parent
| on HN ]
Re:./watch
by BoredPositron on Saturday October 18, 2025 @08:44AM
(#45626911)
For me it's because of rsync.
Re:./watch
by chuckadams on Saturday October 18, 2025 @02:21PM
(#45629360)
It's handy when the directory might not exist, happens all the time in git checkouts. Raise your hand if you've ever moved something to tmp and created a file called tmp.
Usually it's tab-complete adding the slash though, I don't go typing it in.
Re:./watch
by SoftTalker on Saturday October 18, 2025 @02:39PM
(#45629475)
Makes it clear you're naming a directory and not a file.
I also alias 'ls' to 'ls -F' so that directories have a / appended, makes it easier to understand the output.