diff --git a/shell/shell_tips.md b/shell/shell_tips.md index 67171b8..b9271b6 100644 --- a/shell/shell_tips.md +++ b/shell/shell_tips.md @@ -23,14 +23,15 @@ Most programs let you clear the highlighting with `+u`. Follow a file as new lines are added to it: ```sh -tail -f *somefile* +tail -f "${file}" ``` -See changes in a directory, as it changes: +Watch which files in `${directory}` have most recently changed. -`watch -d ls *directory*` +`watch -d ls -t ${directory}/ Or use the `-g` flag to exit once the output changes. + This command will look at whether you're connected to the internet, and turn into a rainbow once the connection hits. > watch -g ip address && clear && ip address | lolcat diff --git a/system/makefiles/help.md b/system/makefiles/help.md index bda9e68..0361f80 100644 --- a/system/makefiles/help.md +++ b/system/makefiles/help.md @@ -1,5 +1,5 @@ --- -title: make help target +title: Make help target tags: - system - make