Homework 6

Homework 6

Three Shell Utilities:

  1. ls command

ls: lists the contents of the working directory, including other directories (e.g. haydenp19.github.io) and files (e.g. install_irods.sh and mavic_mini_2_sorghum.mp4)

2. date command

date: displays or changes the date of the system according to a specified format

3. wc command

wc: prints the byte count, word count, line count, and name of the specified file (in this case a bash script, install_irods.sh)

 

Installing a package:

I chose to install the package xdg-utils so I could open a file or a URL from the shell. This could be useful for viewing the contents of a file or for linking via browser to a resourceful site.

 

sudo (aka Super User DO): gives root privileges to the command immediately following

 

xdg-utils package includes xdg-open: opens a file or URL in the user’s preferred application