Story points | 1 |
Tags | bash |
Hard Prerequisites |
|
Soft Prerequisites |
|
While you work through this project you will save your script commands in a number of files called shell scripts, name them by task and sub task number i.e. 1-2, they have the extension .sh. You’ll be handing those in later. In general we use a tool called Git and a platform called Github for project submissions but this will be covered later in the course.
Open a linux terminal. Now do the following from the command line.
ls
and press enter. What do you see? What does this mean?pwd
and press enter. What do you see? What does this mean?workspace
then cd
into your new directoryls
and press enter. What do you see? What does this mean?README.md
(you can use the touch
command to do this)README.md
, name your copy CHANGELOG.md
Create an empty file named exercise.md
 and move this file to the /tmp
 directory, using a relative pathname. Then, delete this file using an absolute pathname.
umuzi.md
, recruits.md
and cohort.md
.umuzi.md
, recruit.md
, cohort.md
and displays the result on the screen.umuzi.md
, cohort.md
and recruits.md
to print/store the output into a new file named summary.md
.summary.md
. Be careful not to overwrite the exiting contendnano
text editor create a file named my_bio.md
my_files
and move my_bio.md
within.sudo apt update
.sudo apt upgrade
to apply the updates downloaded and select Y for Yes.sudo apt install
package_name.sudo apt install tree
.
You might ask what is sudo? Sudo allows you to run programs with the security privileges of another user, it is also referred to as a superuser. It is often used to install, start and stop applications that require root priviledges.dpkg
is a tool to install, build remove and manage Debian Packages.
This is how you use dpkg
, we will install VS Code in this example.
Firstly download VS Code VS Code Download
then open your terminal in the current folder of the item you just downloaded, type in
sudo dpkg -i
filename.deb, you will then enter your password and the package will install.