Documente Academic
Documente Profesional
Documente Cultură
1) date
It will display system date, dayname, month, year number
and time zone.
Ex: $date
2) cal
It will display current month calender of current year .
3) who
Display information about all logged in users
Ex: dinesh
5) who am i
6) clear
Used to clear the screen.
Ex: $ banner H
$ $
$ $
$$$$$$$$$
$ $
$ $
8)passwd
It is used to change password of current user.
sysadmin:
# passwd <username>
Enter current password:inf123
Enter new password :inf12345
Reenter new password :inf12345
9) echo $USER
Ex: $ pwd
/home/dinesh59
Ex: /bin/bash
12) exit
13) uname -a
FILE TYPES:-
In unix/linux , we have 3 types of files.
3) Special files:
Files contains system related information.
$ mkdir d1 d2 d3
2) cd ( change directory )
It is used to switch from working directory in
to specified directory.
Ex: $pwd
/home/dinesh
Ex: $ cd sample
Ex: $ pwd
/home/dinesh/sample
Ex: $ mkdir d5
d5 is created under pv
$cd d5
$cd ( enter )
Ex: cd ..
Note:
.. Indicates parent directory of working directory
. Indicates current directory
~ Indicates default directory
/ Indicates Root Directory
$ rm -r <dirname>
Ex: pwd
/home/pandu
Ex: $ rmdir d5
error
Ex: $ rmdir d1
Ex: $ rm -r d1
Ex: $ rmdir d3
Ex: $ rmdir d4 d5
home/dinesh
|
e1
|
e2
|
e3
|
-------------------------
| | |
e4 e5 e6
Vmware link:-
https://drive.google.com/open?id=1GV19-ABbV0GQNYMHquqRiA_kQeoSBWhI
UBUNTU-64 Bit:-
https://drive.google.com/open?id=1ay7TqUItYXSwFnreeGz4s2WPOBZXX8cU