<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Linux%2FC2%2FBasics-of-System-Administration%2FEnglish</id>
		<title>Linux/C2/Basics-of-System-Administration/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Linux%2FC2%2FBasics-of-System-Administration%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux/C2/Basics-of-System-Administration/English&amp;action=history"/>
		<updated>2026-05-02T12:24:36Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Linux/C2/Basics-of-System-Administration/English&amp;diff=199&amp;oldid=prev</id>
		<title>Chandrika: Created page with ''''Title of script''': '''Basics of Systems Administration'''  '''Author: Praveen'''  '''Keywords: su, adduser, usermod, userdel, UID, GID, du, df, Linux, System Admin, Spoken tu…'</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Linux/C2/Basics-of-System-Administration/English&amp;diff=199&amp;oldid=prev"/>
				<updated>2012-11-27T12:30:21Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;#039;&amp;#039;&amp;#039;&amp;#039;Title of script&amp;#039;&amp;#039;&amp;#039;: &amp;#039;&amp;#039;&amp;#039;Basics of Systems Administration&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Author: Praveen&amp;#039;&amp;#039;&amp;#039;  &amp;#039;&amp;#039;&amp;#039;Keywords: su, adduser, usermod, userdel, UID, GID, du, df, Linux, System Admin, Spoken tu…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Title of script''': '''Basics of Systems Administration'''&lt;br /&gt;
&lt;br /&gt;
'''Author: Praveen'''&lt;br /&gt;
&lt;br /&gt;
'''Keywords: su, adduser, usermod, userdel, UID, GID, du, df, Linux, System Admin, Spoken tutorial, Video tutorial'''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{| border=1&lt;br /&gt;
! &amp;lt;center&amp;gt;Visual Cue&amp;lt;/center&amp;gt;&lt;br /&gt;
! &amp;lt;center&amp;gt;Narration&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Display Slide 1 '''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Hello and welcome to the Spoken Tutorial on Basics of System Administration with Linux. &lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Display Slide 2''' &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| In this tutorial we will learn the followings.&lt;br /&gt;
&lt;br /&gt;
adduser&lt;br /&gt;
&lt;br /&gt;
su&lt;br /&gt;
&lt;br /&gt;
usermod&lt;br /&gt;
&lt;br /&gt;
userdel&lt;br /&gt;
&lt;br /&gt;
id &lt;br /&gt;
&lt;br /&gt;
du&lt;br /&gt;
&lt;br /&gt;
df&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Display Slide 3 '''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| I am using Ubuntu 10.10 for this tutorial.&lt;br /&gt;
&lt;br /&gt;
As a prerequisite please go through the spoken tutorial on &lt;br /&gt;
&lt;br /&gt;
“General Purpose Utilities in Linux” which is available on this website “[http://spoken-tutorial.org/ http://spoken-tutorial.org]”&lt;br /&gt;
&lt;br /&gt;
One must have admin access in order to execute the commands shown.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Display Slide 4'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''useradd '''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let us first learn how to create a new user. &lt;br /&gt;
&lt;br /&gt;
The “adduser” command will create a new user login for us along with authentication.&lt;br /&gt;
&lt;br /&gt;
We can add any user account with the help of “sudo” command.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Display Slide 5'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''sudo'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let me give you a brief explanation about the “sudo” command.&lt;br /&gt;
&lt;br /&gt;
Sudo command allows the administrative user to execute a command as a super user. &lt;br /&gt;
&lt;br /&gt;
The sudo command has many options. &lt;br /&gt;
&lt;br /&gt;
We will learn about the options as we go further in this tutorial.&lt;br /&gt;
&lt;br /&gt;
Lets now learn how to create a “New User”.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Switch to the Terminal and Type at the command prompt:'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''$sudo adduser duck'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Open the “Terminal” by pressing the keys “Ctrl, Alt and t” simultaniously on your keyboard&lt;br /&gt;
&lt;br /&gt;
I have already invoked the “Terminal” here.&lt;br /&gt;
&lt;br /&gt;
Here type the command “sudo space adduser” and press Enter .&lt;br /&gt;
&lt;br /&gt;
You will be prompted for a password. I will give the “Admin” password here and Enter.&lt;br /&gt;
&lt;br /&gt;
The typed password on the terminal, is not visible. So we have to type the password carefully.&lt;br /&gt;
&lt;br /&gt;
Once done, a message “adduser : Only one or two names allowed” is displayed.&lt;br /&gt;
&lt;br /&gt;
So let us create a new user account named “duck”.&lt;br /&gt;
&lt;br /&gt;
Type the command : &lt;br /&gt;
&lt;br /&gt;
sudo space adduser space duck, and press Enter.&lt;br /&gt;
&lt;br /&gt;
We have created a new user called “duck”.&lt;br /&gt;
&lt;br /&gt;
In the process of creating a new user, a seperate “home” directory for that user has also been created. &lt;br /&gt;
&lt;br /&gt;
Please note that we will be prompted for a new password for the user “duck”. &lt;br /&gt;
&lt;br /&gt;
Type the password of your choice, in my case im going to type “duck” as the password and press Enter.&lt;br /&gt;
&lt;br /&gt;
Please type the new password again. The password is asked twice for security reasons and for confirmation.&lt;br /&gt;
&lt;br /&gt;
Now our password for the new user is updated. We will be asked for other details too.&lt;br /&gt;
&lt;br /&gt;
But for the time being, I will enter only the “Full Name” as “duck” and leave the rest of the details blank by pressing the Enter key.&lt;br /&gt;
&lt;br /&gt;
Enter.&lt;br /&gt;
&lt;br /&gt;
I will confirm this by entering “y”. This is to confirm that all the information is correct.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Type at the command prompt''' &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''$ ls /home'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let us now check, if the user account has been created. &lt;br /&gt;
&lt;br /&gt;
To do this, please type the at the command prompt “ls space /(slash) home” and press Enter.&lt;br /&gt;
&lt;br /&gt;
To show the list of users in the home folder “ls” command is used.&lt;br /&gt;
&lt;br /&gt;
And here is our newly created user named “duck”.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Display Slide 6 '''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''su command''' &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let me switch back to the slides.&lt;br /&gt;
&lt;br /&gt;
Now the next command is the “su”&lt;br /&gt;
&lt;br /&gt;
“su” stands for “Switch User”.&lt;br /&gt;
&lt;br /&gt;
This command is useful for switching from the current user to another user.&lt;br /&gt;
&lt;br /&gt;
Let us go to the Terminal now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Switch to the terminal'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Enter the command “su space hyphen space duck” on the “Terminal” and press Enter. &lt;br /&gt;
&lt;br /&gt;
You will be prompted for a password. &lt;br /&gt;
&lt;br /&gt;
I shall type the user “duck's” password here please recall that it was “duck” itself.&lt;br /&gt;
&lt;br /&gt;
Please notice that, the Terminal switches from the previous user to the new user, which is “duck” in our case.&lt;br /&gt;
&lt;br /&gt;
To logout from this user, type “logout” and hit Enter.&lt;br /&gt;
&lt;br /&gt;
Now the terminal logs out from the current user “duck” and comes back to the previous user account.&lt;br /&gt;
&lt;br /&gt;
which is “vinhai” in our case.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Display Slide 7'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''usermod command'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let us learn about the “usermod” command. &lt;br /&gt;
&lt;br /&gt;
The “usermod” command:&lt;br /&gt;
&lt;br /&gt;
Enables a super user or root user to modify the settings of other user accounts such as:&lt;br /&gt;
&lt;br /&gt;
Change the password to no password or empty password.&lt;br /&gt;
&lt;br /&gt;
Show the date on which the user account will be disabled&lt;br /&gt;
&lt;br /&gt;
Let us try this command and see.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Type at the command prompt''' &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''$sudo usermod -e 2012-12-27 duck'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let me switch to the terminal now.&lt;br /&gt;
&lt;br /&gt;
Let me show you how to set a date of expiry for the user account duck.&lt;br /&gt;
&lt;br /&gt;
Here at the command prompt type &lt;br /&gt;
&lt;br /&gt;
“$sudo space usermod space -(hyphen)e space 2012-(hyphen)12-(hyphen)27 space duck” &lt;br /&gt;
&lt;br /&gt;
and press Enter.&lt;br /&gt;
&lt;br /&gt;
The user account expiry date is set as mentioned in the command here with the help of the option “-e”.&lt;br /&gt;
&lt;br /&gt;
Now you have set an expiry date for the user account “duck”.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Display Slide 8'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''uid and gid'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let us now talk about the “uid” and “gid” commands. &lt;br /&gt;
&lt;br /&gt;
“id – command” is used to check the identities of all the users and groups&lt;br /&gt;
&lt;br /&gt;
To know about the identity of the user, we use “id space -(hyphen)u”.&lt;br /&gt;
&lt;br /&gt;
To know about the identity of the group users, it is “id space -(hyphen)g”&lt;br /&gt;
&lt;br /&gt;
Now lets work on this.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Type at the command prompt''' &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''$id'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| At the terminal, let us type “id” and press Enter.&lt;br /&gt;
&lt;br /&gt;
Now we can see the User IDs and Group IDs on the system that we are using.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Type at the command prompt''' &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''$id -u'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| To get only the user id, we use “-(hyphen)u” option.&lt;br /&gt;
&lt;br /&gt;
Let us type the command “id space -(hyphen)u” and press enter.&lt;br /&gt;
&lt;br /&gt;
Now we can see only the ids of the users.&lt;br /&gt;
&lt;br /&gt;
But what if we need to know the names of the users?&lt;br /&gt;
&lt;br /&gt;
To find that out, we will type “id space -(hyphen)n space -(hyphen)u” on the terminal here and press Enter. &lt;br /&gt;
&lt;br /&gt;
Now we can see the names of the users instead of their ids.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Type at the command prompt''' &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''$id -g'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let us now learn the commands for Group IDs.&lt;br /&gt;
&lt;br /&gt;
Lets type “ id space -(hyphen)g”. Here we can see the group ids.&lt;br /&gt;
&lt;br /&gt;
If we want to view '''all''' the current user's group IDs, type “id space -(hyphen) (capital)G” and press Enter. &lt;br /&gt;
&lt;br /&gt;
Please notice that I have typed G in capital letter. See the result for yourself.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Display Slide 9'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''userdel command'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Now let us learn how to delete a user.&lt;br /&gt;
&lt;br /&gt;
For this we use “userdel” command.&lt;br /&gt;
&lt;br /&gt;
We can delete an user account permanently with the help of the “userdel” command.&lt;br /&gt;
&lt;br /&gt;
Lets try this on the terminal.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Type at the command prompt''' &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''$sudo userdel -r duck'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Here type “sudo space userdel space -(hyphen)r space duck”.&lt;br /&gt;
&lt;br /&gt;
I have used the -(hyphen)r option. This is to remove the user along with his home directory.&lt;br /&gt;
&lt;br /&gt;
Let us press Enter and see what happens.&lt;br /&gt;
&lt;br /&gt;
Now the user “duck” has been deleted. Check this by typing “ls space /(slash)home” and press the Enter.&lt;br /&gt;
&lt;br /&gt;
We will find that, the user account “duck” has been deleted.&lt;br /&gt;
&lt;br /&gt;
Let me go back to the slides now.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Display Slide 10'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''df and du Commands'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Some of the useful commands in Linux System Administration are “df” and “du”&lt;br /&gt;
&lt;br /&gt;
The “df” command gives a report on the free space available on the disk.&lt;br /&gt;
&lt;br /&gt;
And the “du” command gives a report on how much space a file has occupied.&lt;br /&gt;
&lt;br /&gt;
Please try these two commands and find the output for yourself as an assignment.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Type at the command prompt:'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''$df -h'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let us shift to the terminal, I shall show you a fewuseful options used with the “df” command.&lt;br /&gt;
&lt;br /&gt;
Please type df space -(hyphen)h and press Enter.&lt;br /&gt;
&lt;br /&gt;
Here it shows the size of the Filesystem, and the space is used.&lt;br /&gt;
&lt;br /&gt;
It also shows the space mounted on in a human readable format.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Type at the command prompt''' &amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''$du -s *.txt'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Let us now try some options with the “du” command&lt;br /&gt;
&lt;br /&gt;
At this point i assume that you have created some text files in your home folder.&lt;br /&gt;
&lt;br /&gt;
If not please refer to the tutorial on “General Purpose Utilities in Linux”.&lt;br /&gt;
&lt;br /&gt;
I have already created some text files in my home directory to execute the following command.&lt;br /&gt;
&lt;br /&gt;
Goto “home folder” on the terminal by typing “cd space /(slash) home” and press Enter.&lt;br /&gt;
&lt;br /&gt;
Then type du space -(hyphen)s space *. (astrix dot) txt and press enter.&lt;br /&gt;
&lt;br /&gt;
This command will give you a report on the txt files available in the directory along with its file sizes. &lt;br /&gt;
&lt;br /&gt;
As an assignment, at the command prompt please “du space -(hyphen)ch space *.(astrix dot)txt” and see what happens.&lt;br /&gt;
&lt;br /&gt;
Let me go back to the slides.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Display slide 11 and 12 '''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''Summary'''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| To summarise, we have learnt:&lt;br /&gt;
&lt;br /&gt;
# “adduser” command to create a new user. &lt;br /&gt;
# “su” command to switch from one user to another user.&lt;br /&gt;
# “usermod” command to change the user account settings.&lt;br /&gt;
# “userdel” command to delete the user account.&lt;br /&gt;
# id command to know the information about user ids and group ids.&lt;br /&gt;
# “df” command to check the file system size and its availability.&lt;br /&gt;
# “du” command to check the space occupied by a file.&lt;br /&gt;
&lt;br /&gt;
This brings us to the end of this tutorial on “Basics of system administration”&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Slide 13 and 14'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;'''About the Spoken Tutorial Project '''&amp;lt;/center&amp;gt;&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| The video available at this url, &lt;br /&gt;
&lt;br /&gt;
http://spoken-tutorial.org /What\_is\_a\_Spoken\_Tutorial&lt;br /&gt;
&lt;br /&gt;
Summarises the Spoken Tutorial project. &lt;br /&gt;
&lt;br /&gt;
If you do not have good bandwidth, you can download and watch it. &lt;br /&gt;
&lt;br /&gt;
We conduct workshops using spoken tutorials. &lt;br /&gt;
&lt;br /&gt;
We also give certificates to those who pass an online test. &lt;br /&gt;
&lt;br /&gt;
Please contact us for more details.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:none;padding:0.097cm;&amp;quot;| &amp;lt;center&amp;gt;'''Slide 15'''&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
| style=&amp;quot;border-top:none;border-bottom:1pt solid #000000;border-left:1pt solid #000000;border-right:1pt solid #000000;padding:0.097cm;&amp;quot;| Spoken Tutorial is a part of the “Talk to a Teacher” project Supported by the National Mission on Education through ICT (NMEICT), MHRD, Government of India. &lt;br /&gt;
&lt;br /&gt;
More information is available on this url&lt;br /&gt;
&lt;br /&gt;
http://spoken-tutorial.org/NMEICT-Intro &lt;br /&gt;
&lt;br /&gt;
The script for this tutorial has been contributed by Praveen and this is Namita from IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thank you for watching.&lt;br /&gt;
&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Chandrika</name></author>	</entry>

	</feed>