Tuesday, 6 November 2012

system administrative commands

system administrative commands



[MAHESH@domain30 mahesh]$ pwd
/mahesh


[MAHESH@domain30 mahesh]$ su
Password: ******
[root@domain30 mahesh]#

[root@domain30 mahesh]# date

Fri Oct 19 20:40:26 IST 2012

[root@domain30 Desktop]# passwd
Changing password for user root.
New password:
BAD PASSWORD: it is based on a dictionary word
BAD PASSWORD: is too simple
Retype new password:
passwd: all authentication tokens updated successfully.

[root@domain30 Desktop]# ulimit 20791510

[root@domain30 Desktop]# wall
i am student of SEIT

Broadcast message from root@domain30 (pts/0)(Sat Oct 13 11:03:07

i am student of SEIT

[root@domain30 mahesh]# chmod 1775 arithmetic.sh
[root@domain30 mahesh]# ls -l
total 52
-rw-r--r--. 1 root   root      0 Oct 19 19:51 25
-rw-r--r--. 1 root   root     19 Oct 18 14:07 2.txt
-rw-r--r--. 1 root   root      0 Oct 18 14:30 7
-rwxrwxr-t. 1 root   root    173 Oct 19 19:38 arithmetic.sh
-rw-r--r--. 1 root   root    170 Oct 12 21:44 fifth.sh


[root@domain30 mahesh]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg_domain30-lv_root
                      43872748   2806724  38837392   7% /
tmpfs                  1935592       272   1935320   1% /dev/shm
/dev/sda5               495844     35372    434872   8% /boot
/dev/sdb1              3912656      2100   3910556   1% /media/984D-171A

[root@domain30 mahesh]# du
20 ./fourth
8 ./ITSE
76 .





No comments:

Post a Comment