Best products from r/bash
We found 10 comments on r/bash discussing the most recommended products. We ran sentiment analysis on each of these comments to determine how redditors feel about different products. We found 6 products and ranked them based on the amount of positive reactions they received. Here are the top 20.
3. How Linux Works, 2nd Edition: What Every Superuser Should Know
- No Starch Press
Features:
4. The AWK Programming Language
- Create perfect, evenly-shaped eyebrows in seconds with the 3 Second Brow eyebrow stamp! Just use our no-mess stamps and brow powder to create a full brow with a perfect arch.
- The best part about the 3 Second Brow is that there is no mess, it lasts all day long and you are guaranteed to always get the perfect, natural evenly shaped eyebrows like never before!
- Apply lightly for subtle color or add pressure for darker color. 3 Second Brow Eyebrow Stamp includes Light to Medium Brow Shade compact and 2 stamps (Structured Arch and Soft Arch)
- Inventory and Producer, Taylor Baldwin’s enthusiasm and talent are unparalleled. She has also long been a trusted name in health and beauty, dedicated to seeking out (or inventing) the best products and tips!
- Talyor Baldwin Health & Beauty is a brand you can trust to remain committed to providing quality innovations to improve your life.
Features:
5. Zalman ZM-VE350 USB 3.0 2.5" Hard Drive Enclosure with Built-in Virtual CD Emulator (ZM-V350S)
- Dimensions: 135.3(l)x78.6(w)x13.1(h)mm / Weight: 96g / Materials: Aluminum Alloy, Acryl, Ploy Carbonate / External Interface: USB 3.0, USB 2.0, Usb 1.1 / Internal Interface: S-ATA I/II/III / Power: Input DC5V
- VE350 is USB 3.0 hardware enclosure with built-in virtual CD emulator which supports ISO files.
- Plug-and Play, hardware will automatically be recognized and can be used instantly without software installation.
- ZM-VE350 is an external HDD case which is compatible with 2.5” SATA I/II/III HDD.
- The storage device will be enclosed in brushed aluminum casing and leather pouch is included for additional protection.
- Pressing the button for more than 3 seconds will automatically turn power off, allowing the external hard drive to be removed safely without damaging the data.
- Support OS Windows 2000, XP, Vista, 7, 8, 8.1 / Mac OS / Linux
Features:
I really love this book, has tons of great info in it. Might be able to find it online somewhere.
https://www.amazon.com/Linux-Command-Shell-Scripting-Bible/dp/111898384X/ref=pd_lpo_sbs_14_t_0?_encoding=UTF8&psc=1&refRID=KDKCH1GWS30M5R9G2Z3A
Otherwise, come up with a simple task you want to accomplish, and try and break it down into small steps. Then do some reading on basic bash commands and try and piece it together from there!
If you're open to learning a little
awk
, it can handle this in a breeze with a one-liner:awk '/^\s*$/{next}{arr[$1]++}END{for (a in arr) print a, arr[a]}' test.log
Breaking it down:
/^\\s*$/{next}
means if the line is empty, ignore it{arr[$1]++}
means make an array that holds your counts. `$1` means the first fieldNR>1{arr[$1]++}
END{for (a in arr) print a, arr[a]}
means at the end of processing, loop through the array you made and print the resultsawk is super powerful, and a lost art. This book is a great read if you can pick up a used one.
I recommend How Linux Works and The Linux Command Line. Those will take a total beginner and take you through the basics up to shell scripting.
The Linux Command Line is a work book where you type what it says and follow along. How Linux Works is more of an explanation with less hands-on. I went through both at the same time as the chapters align very well, particularly at the beginning.
You can look at https://wiki.archlinux.org/index.php/Multiboot_USB_drive for manual method. And if you want a paid solution you can look at https://www.amazon.com/gp/aw/d/B019C23LRA/ref=cm_cr_arp_mb_bdcrb_top?ie=UTF8
Thanks for the advice! I'm still new to bash scripting and can make use of that. The "put your then's and do's on the same line as your for's and if's and while's" for example makes a lot of sense, coming to think about it.
Also, in #bash they told me the same thing about variables: Only systemwide variables like EDITOR or PATH should be uppercase, else lowercase. Guess Jason Cannon's "Shell Scripting" was wrong about that. ;)
Keeping my own index file is what I plan to do next. Again, the #bash elders advised something similiar: To keep all mp3s filenames in an array. That might hog some memory but it supposedly faster than searching the whole filesystem.
Here is the mobile version of your link