Try a few different things to ensure you understand when to use -r
, and the effect of trailing slashes and asterisks.
Try renaming some files and directories.
Try adding and removing permissions using chmod
and chown
. Practice reading the permissions using the 'long list' command.
Experiment more with grep
and sed
- what else can you do with them?
Create a bash script to back up your home directory
tar
to save spaceUse curl
to download the image at hugh.li/curl
.
Check out the Guide to *nix directories to get it onto your desktop.
jq
jq
to download a photo from https://dog.ceo/dog-api(this is quite tricky!)
wget
probably isn't installed on your machine by default. You can download it using apt-get install
or brew install
.
wget
is useful for 'spidering' websites to check all the links work.
Try the --spider
flag to check for broken links on your personal website. Check the man
page and Stack Overflow to think about what other flags you might need. How can you save the output to a log file?
Look at the workshop notes and the Digital Ocean tutorial
man
Francis Kayiwa's Bash workshop
Go home
Go back to the workshop
Check the Guide to *nix directories