/etc (SlashETC)/2021-09-26T21:07:04-04:00Michael J. FordHow to Check Battery Status Using Linux Command Line/2021/08/how-to-check-battery-status-using-linux-command-line2021-08-18T16:00:00-04:00<p><img src="https://www.linuxjournal.com/sites/default/files/nodeimage/story/check-battery-status-linux-command-line.jpg" alt="How to Check Battery Status Using Linux Command Line" /></p> <p>by <a href="https://www.linuxjournal.com/users/suparna-ganguly" title="View user profile.">Suparna Ganguly</a></p> <p>Checking the battery status through GUI is easy. Hovering the mouse cursor over the battery indicator given in the Laptop task bar simply shows the battery level. But, did you know...Fix Firefox Proton (Bring Back Photon)/2021/08/firefox-proton-fix2021-08-17T15:10:31-04:00<p>After a long hiatius updating things (yes… bad Michael) I updated Firefox to the latest version, v91 - and to my horror the new ‘Proton’ interface. I had to get rid of it. But alas, I’m late to the party and Mozilla has already removed the nice simple about:config edits...Download mp3 files linked in a RSS podcast feed/2021/08/download-mp3-files-linked-in-a-rss-podcast-feed2021-08-09T13:40:26-04:00<p><code class="highlighter-rouge">$ curl http://radiofrance-podcast.net/podcast09/rss_14726.xml | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*mp3" | sort -u | xargs wget</code></p> <p>Directly download all mp3 files of the desired podcast</p> <ul> <li><a href="http://www.commandlinefu.com/commands/view/25469/download-mp3-files-linked-in-a-rss-podcast-feed">View this command to comment, vote or add to favourites</a></li> <li><a href="https://app.slashetc.us/commands/by/pascalv">View all commands by <strong>pascalv</strong></a></li> </ul> <p><a href="http://www.commandlinefu.com"><img src="http://www.commandlinefu.com/images/small-logo.jpg" alt="commandlinefu.com" /></a></p> <p>Diff your entire...Testssl.sh – Testing TLS/SSL Encryption Anywhere on Any Port/2021/05/testsslsh--testing-tlsssl-encryption-anywhere-on-any-port2021-05-10T06:36:18-04:00<p>The post Testssl.sh – Testing TLS/SSL Encryption Anywhere on Any Port first appeared on Tecmint: Linux Howtos, Tutorials & Guides .testssl.sh is a free and open-source, feature-rich command-line tool used for checking TLS/SSL encryption enabled services for supported ciphers, protocols, and some...\ \ [[ This is a content summary only....ASCII Schematic Diagrams/2021/04/ascii-schematic-diagrams2021-04-29T15:30:00-04:00<p><img src="https://hackaday.com/wp-content/uploads/2021/04/aacircuit-feature_featured.png?w=800" alt="" />{sizes=”(max-width: 800px) 100vw, 800px” srcset=”https://hackaday.com/wp-content/uploads/2021/04/aacircuit-feature_featured.png 1200w, https://hackaday.com/wp-content/uploads/2021/04/aacircuit-feature_featured.png?resize=250,125 250w, https://hackaday.com/wp-content/uploads/2021/04/aacircuit-feature_featured.png?resize=400,200 400w, https://hackaday.com/wp-content/uploads/2021/04/aacircuit-feature_featured.png?resize=800,400 800w”}</p> <p>We wondered recently about those crude ASCII schematics you see in some documentation — are there any dedicated schematic-focused tools to draw them, or are they just hand-crafted using various ASCII-art drawing tools? To our...How to Discover, From Inside a Bash Script, the Path the Script Is In/2021/04/how-to-discover-from-inside-a-bash-script-the-path-the-script-is-in2021-04-28T19:20:40-04:00<p>When you develop complex Bash scripts and start putting various scripts into a folder, where one script interacts with another by, for example, starting it, it quickly becomes necessary to ensure we know the path the script was started from, so we can start the other scripts with a fully...Run entire shell script as root/2021/04/run-entire-shell-script-as-root2021-04-27T05:04:30-04:00<p><code class="highlighter-rouge">$ #!/usr/bin/sudo /bin/bash</code></p> <p>Placing sudo in the shebang line of a shell script runs the entire thing as root. Useful for scripts designed to, e.g. automate system upgrades or package manager wrappers — makes prepending everything with sudo no longer necessary</p> <ul> <li><a href="http://www.commandlinefu.com/commands/view/25273/run-entire-shell-script-as-root">View this command to comment, vote...How to identify potentially vulnerable network daemons on your Linux systems/2021/03/how-to-identify-potentially-vulnerable-network-daemons-on-your-linux-systems2021-03-25T16:02:43-04:00<p>Identifying vulnerable network daemons for remediation and how attackers find vulnerable resources.</p>
<p class="center-text"><a href="http://lxer.com/module/newswire/ext_link.php?rid=298701">Article Source</a>.</p>
How to embed a binary file in a bash shell script/2021/02/how-to-embed-a-binary-file-in-a-bash-shell-script2021-02-26T01:50:00-05:00<p>You may have been in a situation where you want to embed a binary file in your shell script before sharing it with others. For example, you are working on an installation script that includes a tarball. Or you are writing a portable shell script that includes any external dependency....Linux Fu: Serial Untethered/2021/02/linux-fu-serial-untethered2021-02-11T18:01:31-05:00<p>Serial ports used to be everywhere. In a way, they still are since many things that appear to plug in as a USB device actually look like a serial port. The problem is that today, the world runs on the network. Sure, you can buy a terminal server that converts...