Found 21 bookmarks
Newest
How to make Bash scripts read from stdin
How to make Bash scripts read from stdin
I needed to write some Bash scripts on Linux that read the input from stdin or a file passed as an optional argument, but couldn't figure...
How to make Bash scripts read from stdin
So You Want To Make A Command Line Interface
So You Want To Make A Command Line Interface
[Keba] not only asked Answeres.HackaDay.com, but also sent us an email as follows. “Can you make a basic guide to designing a good Command Line User Interface?” Wouldn’t you know …
So You Want To Make A Command Line Interface
Downloading a YouTube channel with yt-dlp
Downloading a YouTube channel with yt-dlp
Downloading whole YouTube channels using the yt-dlp tool, with specifying video quality and format types. For a general run down and usage guide on yt-dlp go here. Go to the bottom for the full yt-dlp…
Downloading a YouTube channel with yt-dlp
Checking lots of URLs with curl
Checking lots of URLs with curl
A bash script to check the HTTP status code of a bunch of URLs, for simple and portable uptime checking.
Checking lots of URLs with curl
Piping stdout and stderr to Preview
Piping stdout and stderr to Preview
A while back, I wrote about how handy it was to redirect a man page into Preview. This allows you to keep the man page open, search it, and generally have a better user experience than struggling w…
Piping stdout and stderr to Preview
Blink Shell for iOS
Blink Shell for iOS
A brief review and guide to Blink Shell, an SSH and Mosh client for iOS.
Blink Shell for iOS
Archiving a (WordPress) website with wget
Archiving a (WordPress) website with wget
`wget --mirror -p --html-extension --convert-links -e robots=off -P . http://url-to-site` I needed to archive several WordPress sites as part of the process of gathering the raw data for my thesis research. I found a few recipes online for using wget to grab entire sites, but they all needed some tweaking. So, here's my recipe for posterity: I used wget, which is available on any linux-ish system (I ran it on the same Ubuntu server that hosts the sites). wget --mirror -p --html-extension --convert-links -e robots=off -P .
Archiving a (WordPress) website with wget
Command line quick tips: wc, sort, sed and tr - Fedora Magazine
Command line quick tips: wc, sort, sed and tr - Fedora Magazine
Linux distributions are great to use and they have some tricks under their sleeves which users may not be aware of. Let’s have a look at some command line utilities which really come in handy when you’re the guy that likes to stick with the terminal rather than using a GUI.  We all know that […]
Command line quick tips: wc, sort, sed and tr - Fedora Magazine