Showing post for tag for #Bash
Remove filtergh is a lovely CLI tool from GitHub that lets you manage your repos from Terminal, including downloading license and .gitignore files.
Clearing the command history is good practice when, for example, one has mistakenly pasted sensitive info.
❯ history -c
will do the trick. More details inside.A CLI task I find myself doing often with sed
Storing your CLI config files (.bash_profile and all the rest) on github makes sense - as a backup, but also to compare and learn.
Sometimes you need to copy your local version of a project under subversion to a new location, without all the .git stuff. Here’s a couple of ways of doing it.
Where to put unix based scripts on a Mac without them getting in the way? Simple: create a bin folder in your home directory, and add it to the path:
export PATH=~/bin:$PATH
Looking for files inside an archive, without having to extract them first using Terminal.
Finding files that were changed in the last day, sorted by size, using the Terminal