CAB Lab - II
CAB Lab - II
Q1. Run following linux command and write what they are doing (save a screen short):
Note: In Ubuntu, login and launch the command prompt (aka Terminal). The keyboard shortcut is
<CTRL><ALT><T>. Or, you can search for "Terminal" by clicking on the Dash button in the upper-left corner
(i.e., the Ubuntu equivalent of the Windows "start" button).
b) mkdir
c) mkdir LabMS3SE02
d) cd LabMS3SE02
e) cd ..
f)cd ~
g) pwd
a) cd LabMS3SE02
touch file1
cp file1 file2
cp file1 ../file2
mv file1 file2
rm file2
rm -i file2
rmdir LabMS3SE02
clear
Directories
File Manipulation
Q5 Create a log file (see script command in lab one) showing how to do each of the following tasks:
5 - create a new file that contains the calendar for this month
6 - list all files again, even hidden files (there should be just one file)
7 - display the entire contents of that new file