this post was submitted on 01 Dec 2024
419 points (99.5% liked)
Bash
995 readers
1 users here now
Talk about the Bash Shell and Bash scripting
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
This only makes sense if you make an alias for every command you ever use...which sounds like a lot of pointless labor. I don't use bash history anymore, though, because I use fish, and it can autofill your commands without having to do a search through history. Much easier.
You presume too much. I didn't create this comic. I've heard the debate around pros and cons of metasyntactic variables, and I think there are good points on both sides. Typically, when I want to use an example, I try to use a specific case, because it makes it more memorable, but I've actually had somebody get more confused by that, so I guess you can't make everybody happy.
My question is: Are you confused by algebra? Like, when you see "2 + X = 5", do you say "I can't solve this! WTF is X??? What does it mean?"
I'm not sure what you're saying here. Do you know what
touchdoes? Also, no, it isn't easier to look up the timestamp and manually type it in, even if it's just one file. This was really about using$(), nottouch, anyway.This is one of the quirks of Unix and Unix-like systems. I was reading something about this recently. I think that it has to do with how programs are written and how they interact with the shell. CTRL-C is used by the shell, but some programs use CTRL-Z instead. So, I think that some programs override the shell or something like that?