Files and shell
PATH, variables, search and tidy-ups. 8 commands.
- Add a folder to your PATHMake the programs in a folder runnable from anywhere, for good, not just in this terminal.
- Set an environment variable for goodSave a variable like an API URL or a token so every new terminal has it.
- Find what's filling up your diskSee how full the disk is, which folders are biggest and which single files are huge.
- Create a command shortcut (alias)Type a short word instead of a long command you use all the time.
- Find a file by nameSearch your home folder for a file when you know (part of) its name.
- Run a script you downloadedFix "permission denied" and "running scripts is disabled" when a script won't start.
- Search for text inside filesFind every file in a project that contains a word, with the line numbers.
- Zip and unzip filesPack a folder into a .zip (or .tar.gz) and unpack it again.