-
Create 10 files having name songX.mp3 , where X should be 1-10. Move the files to Music directory.Create a symbolic link between Music directoey & Audio directory.
-
Create a group named "sysadmin". Create users bob and rob. They should belong to "manager" group as a secondary group. Create a user max who should not be a member of "manager" group. passwd for all users created should be "linux123".
-
User max should have non-interactive shell and the account of max should expire after 30 days. Bob should be prompted to change his password at first login.
-
Create the Directory "/home/manager" with the following characteristics. Group ownership of "/home/manager" should go to "manager" group. The directory should be have full permission for all members of "manager" group but not to any other users except "root". Files created under "/home/manager" should get the same group ownership is set to the "manager" group.
-
Create the user gabriel with uid 4223 with password "linux123".
-
Archive /etc/hosts to /tmp/var/archive.tar.bz2
-
grep all lines containing "udp" from /etc/services and send the output in another file named udp_services.txt
-
Monitor the processes using top command.Sort the display by CPU utilization.
-
Create an alias where stat should run as "/bin/uptime" command. It should persist acrsoss reboots.
-
Create a file using vim text editor.(know to insert, delete and quit vim)
-
Query the current default zone. Set the default zone to "dmz". Get a list of all available zones and send the output to a file zones.txt.
-
Add port 8080/tcp. Verify by listing the ports currently listening or are active and append the output to zones.txt
-
Forward the port 80/tcp to port 8080/tcp.
-
Change the APT mirror using the command line.
Note:
- All tasks must be done from the terminal.
- All changes should persist across reboots