0% found this document useful (0 votes)
7 views2 pages

Linux Assignment 111

This is a assignment for the linux

Uploaded by

sudipkghs3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Linux Assignment 111

This is a assignment for the linux

Uploaded by

sudipkghs3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

LINUX ASSIGNMENT :-

1> What is a kernel, and what does it do? {5}

2> Explain what each of the following commands does and give an example on how to use

it: {16}

a. touch
b. ls
c. rm
d. cat
e. cp
f. mkdir
g. pwd
h. cd
3> What each of the following commands does? {5}

a. cd /
b. cd ~
c. cd
d. cd ..
e. pwd
4> Explain each field in the output of `ls -l` command {5}

5> Specify which command would you use (and how) for each of the following scenarios

{5}

a. Remove a directory with files


b. Display the content of a file
c. Provides access to the file /tmp/x for everyone
d. Change working directory to user home directory
e. Replace every occurrence of the word "good" with "great" in the file /tmp/y
6> What is stored in each of the following paths? {{5}

a. /bin, /sbin, /usr/bin and /usr/sbin


b. /etc
c. /home
d. /var
e. /tmp
7> How do you create users? Where user information is stored? {4}

8> What information is stored in /etc/passwd? explain each field {5}

You might also like