Professional Documents
Culture Documents
2)Copy data from /tmp /mani. (file in 10.10.34.50 server username: root password: root123)
ans)login 10.10.34.50
ans)56G
4)Go to 40th row without using arrows & change word humans as animals.
ans)40G
5)Go to 50th row without using arrows and go end of the line and came back to starting of the line.
ans)50G
6)Go to 1st row without using arrows and change character in “mixing” word (m = p)
ans)gg
7)Go to 10th row without using arrows and delete character “p” in “pollutions” and save the file
ans)10G
dc
9)Delete the words in 5th row - “problem” , 6th row – recycle , 7th row - global
5G-dw
6G-dw
7G-dw
10G-yy-20G-p
13)Go to the 50th row copy 1st word and paste that last in 50th row
• Add lun Make a file system with size of 10 GB and mount the file system with /IBM/IBM-AIX
• Add lun make 5 partitions and make file systems as show below
10GB - /NITRO
10GB - /ZEN
10GB - /EXSI
10GB - /HYPER –V
10GB - /NOVA
• Add lun and make file system size of 1 GB and mount with /HP/HP-UX
• Create a sized file 900MB in /HP-UX named as sized1 (check disk utilization /HP-UX)
• Change the file system permissions as only owner have all access
1) Create a group named as NETWORK_DEVICES group id is 5000 add the below users
1.hub(5001)
2.switch(5002)
3.router(5003)
4.bridge(5004)
2) Create a group name as STORAGE_DEVICES group id is 6000 add below users without home directory
1.DAS(6001)
2.NAS(6002)
3.SAN(6003)
12) create a users (bootblock , superblock , inode , datablock ) with default parameters and add to secondary
group to NETWORK_DEVICES
• Create a file with any user named as AP-001 in /tmp. The file must be accessible for all now your pwd is
root
• Create a directory with any user named as TS-001 /var/tmp. The directory must be accessible for all now
your in root
• Switch to hub user and create a file in /tmp/TS-002 named as AP-002 and its accessible for hub and
STORAGE_DEVICES group member also switch any group member of STORAGE_DEVICES and delete it
(except with root)
• Switch to NAS user and create a directory named TS-003 and its accessible to owner only
• Create a file in /tmp/ named as AP-002 with root user and change ownership to NAS user and group is
NETWORK_DEVICES
• Switch to SAN user create a file in /var/tmp named Ap-003. Make Owner only accessible that file
• Create a shared directory in /tmp named as sharedirectroy_1 with stickybit create a files (f1……) with all
users
• Create a directory in with user of NAS in /tmp name as TS-004 and create a file named f1 with hub user
and create a file named f2 with switch user in TS_004 but the file must accessible for STORAGE_DEVICES
group
• Create a file /tmp with any user but the file only have read permission for any one except root