The document provides instructions for a Linux lab assignment involving logging in as different users, navigating directories, modifying permissions, copying and moving files, and creating new users. The key tasks are to log in as guest and root, explore the directory structure and commands, create and modify files and directories, and set permissions for shared access between new users.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
The document provides instructions for a Linux lab assignment involving logging in as different users, navigating directories, modifying permissions, copying and moving files, and creating new users. The key tasks are to log in as guest and root, explore the directory structure and commands, create and modify files and directories, and set permissions for shared access between new users.
The document provides instructions for a Linux lab assignment involving logging in as different users, navigating directories, modifying permissions, copying and moving files, and creating new users. The key tasks are to log in as guest and root, explore the directory structure and commands, create and modify files and directories, and set permissions for shared access between new users.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
The document provides instructions for a Linux lab assignment involving logging in as different users, navigating directories, modifying permissions, copying and moving files, and creating new users. The key tasks are to log in as guest and root, explore the directory structure and commands, create and modify files and directories, and set permissions for shared access between new users.
Copyright:
Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOC, PDF, TXT or read online from Scribd
Download as doc, pdf, or txt
You are on page 1of 1
LINUX LAB- 1 ASSIGNMENT
1. Login as guest (password is guest123)
2. Find the present Directory 3. Write the / directory structure 4. Write a few commands available in /bin and /sbin directory 5. Find the guest directory 6. Write the permissions of guest directory 7. Create a new Directory test in guest directory 8. Write the permissions of test directory 9. Copy the file /etc/resolv.conf in test directory 10. Rename the test directory to testing 11. Delete the testing directory 12. Change the permissions of guest directory to 775 13. Change the permissions of /tmp directory to 700 14. Login as root user (password is cciitk) 15. Change the permissions of guest directory to 700 16. The location of kernel files in Unix File System is /boot and by looking at the kernel file, write the kernel version you are using in your system. 17. Login as guest 18. Change directory to / 19. List the contents of /home directory 20. Find the group to which guest belongs 21. Create a file sidbi in the home area of guest (hint: use touch command) 22. Find the permissions of the file sidbi 23. Find the inode number of file sidbi (hint: ls –li) 24. Copy the file sidbi to sidbi1 25. Find the inode number of file sidbi1 (hint: ls –li) 26. Move the file sidbi to sidbi2 27. Find the inode number of file sidbi2 (hint: ls –li) 28. Move sidbi2 to sidbi 29. Login as root 30. Create a new user guest1 with same group as guest (hint: use GUI tool ApplicationsSystem Settings Users and Groups)[More on this later in the course] 31. Create a new user guest2 with a different group than the group of guest (hint: use GUI tool ApplicationsSystem Settings Users and Groups) 32. Find, what permissions should the file sidbi have, so that both guest1 and guest2 can write into this file.