https://github.com/kshrikant7/linux-assignment
https://github.com/kshrikant7/linux-assignment
linux shell-script ubuntu
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kshrikant7/linux-assignment
- Owner: kshrikant7
- Created: 2023-10-05T07:43:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-06T12:52:52.000Z (over 1 year ago)
- Last Synced: 2025-02-01T07:44:22.786Z (4 months ago)
- Topics: linux, shell-script, ubuntu
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linux-Assignment
1. Configure smtp in localhost.
2. Create a user in your localhost, which should not be able to execute the sudo command.
3. Configure your system in such a way that when a user type and executes a describe command from anywhere of the system it must list all the files and folders of the user's current directory.
Ex:- $ describe
$ content1 content2
Content3 content 44. Users can put a compressed file at any path of the linux file system. The name of the file will be research and the extension will be of compression type, example for gzip type extension will be .gz.
You have to find the file and check the compression type and uncompress it.5. Configure your system in such a way that any user of your system creates a file then there should not be permission to do any activity in that file.
Note:- Don’t use the chmod command.
6. Create a service with the name showtime , after starting the service, every minute it should print the current time in a file in the user home directory.
Ex:-
sudo service showtime start -> It should start writing in file.
sudo service showtime stop -> It should stop writing in file.
sudo service showtime status -> It should show status.