Experiment No 1
Experiment No 1
1 a. Edit text file with Nano and Cat Editor,Learn Sudo Previlege and unix shell
commands like cd, ls ,cat etc
i. Write Command to Display your current directory
iii Write Command to Change to your home directory using only three key
press
viii Write Command to Stay were you are and list the content of /etc directory
ix Write Command to Stay were you are and list the content of /bin and /sbin
directory
x Write Command to Stay were you are and list the content of /home/pi
xi Write Command to List all files including hidden file from your home
directory
xii Write Command to List long listing of configuration file in /etc in human
readable format
xiv Write Command to List the files of /usr/bin and redirect output to the file
in ~/mylisitng_rollno.txt
xviii Write Command to Display first two line of List1 and redirect output to
list2
xix Write Command to Sort the content of list1and transfer unique content to
list2
xx Write Command to Compare list1,list2,list3 and list4 and if any error send
the errors to errors.txt
Location :
Open _________________________
At the end of _______________________insert filename along with path