All posts tagged 'Command Line'
-
A Bash Function for Easy Zipping
I work as a tutor in a software engineering bootcamp, and earlier on in the project students submit their projects, and pass them to us for help, as zip archives. Unzipping an archive at the command line is rather easy. unzip foo.zip But zipping is a bit trickier, and I'd always forget the syntax....
Read article -
A custom edit action for todo.txt-cli
Frequently I find myself looking for a better way to keep track of my todo list, and I may have found the ideal solution for me: todo.txt. It's a simple plain text syntax for writing todo lists. I've been using it with the todo.txt CLI lately, on Ubuntu and WSL2, syncing the documents with...
Read article -
How to search through text with grep
Here are a few ways to use grep — a command line program that allows you to search through text. 1. Search for a pattern in a file The basic syntax is grep <pattern> <filename> where <pattern> is a string or regex. Running this will print each line in <filename> that contains a...
Read article -
Command Line Notes
I've never been a very good note taker, but I've always appreciated the art. When I got my undergraduate degree in math I tried to be studious. I produced massive quantities of notes in Microsoft OneNote. I suppose they were helpful in a way, etching the concepts in my brain. But ultimately the...
Read article