Linux
With Product You Purchase
Subscribe to our mailing list to get the new updates!
Lorem ipsum dolor sit amet, consectetur.
Related Articles
34 Comments
Leave a Reply Cancel reply
Check Also
Close
- How to install Kali Linux EASY & FAST on VirtualBoxDecember 7, 2024
Man your intros are repetitive and boring
[n]>word
Hehehe
so whatโs your least favorite command?
I stopped worrying about escaping after I learned python. My hot take in situation where expr needed in bash script, bash script should be rewritten in python. For calculator I also use python instead of expr, bc, dc, etc.
I lost in the find rock part
Globbing is going to be the next NSFW twitter word, ain't it?๐
idk Ima just stick to python
Hmm, for actual shell scripting this command might be nice indeed, although usually expressions are already understood by bash directly.
But for direct use I rather use something like the Python or Node shell, or a calculator to do the job, which all don't have the escaping problem.
Intro to the short is my favorite intro. It's very mysterious and interesting.
That man page…. [n]>>word
The "The 'expr' Command in Linux" video is my favorite linux video
This is my least favorite Linux command.
No need to escape single characters. Just quote the full expression.
Time to read the manual page. I had dismissed expr as just a poor alternative to Bash arithmetic expansion, but it also does string operatons and regex?? Wonder what uses I've been missing… Thanks for the short!
I just use the browser console for numeric operations, but "expr" is great too ๐.
I hope you don't go through lovers like you do favorite Linux commands.
dc when?
Idc what anyone say. I appreciate you man for all the work put in it. Thank you for saving last minute situation and stressful situation requirements. ๐ค๐ค๐ซ
My system didn't come with a crc32 command, but you can still calculate a reverse order crc32 via: cat "$1" | gzip -1 -c | tail -c8 | xxd -ps -l 4
Thank you! Finally I will stop running a Lua or Python shell for simple calculations. ๐
My own fav so far:)
I like expr but it is limited to doing interger arithmetic proplems, i.e no support for floating point arithmetic. You need to use bc for that.
theres nothing on this Earth I hate more than escape tokens.
In Bash, you can also do
echo $((10 / 2))
Note the double parentheses
Hol up. Wait a minute. What's that n word I just saw๐คจ๐
This bug is my favourite bug
Nice info sir.
N word
expr is an F tier command that should never be used, also my favorite Linux command.
Legend says that bro called Linus Torvalds and asked him what was his favorite Linux command.
This is my favourite youtube short
Which Linux should i install?
Bugs that don't raise exception and can sometimes produce correct answer are my 'favorite' kind of bugs.
When you have to keep adding parentheses to force the order of operations ๐