Assignment 4 - sayanbhattacharya1234/Oracle_DBA GitHub Wiki
1. Use grep to find the word root in the file /etc/passwd.
2. Search for the word error in the file /var/log/messages.
no idea
3. Display all lines in /etc/passwd that contain “bash”.
4. Search for the word oracle in all files inside your home directory.
5.Find lines in /etc/passwd that do not contain the word nologin.
6. Show all the processes currently running on your system.
7. Display only your own processes using ps.
8. View the file /etc/passwd one page at a time using more.
9. WUse ifconfig to check your system’s IP address and network interfaces.
10. Create a new file called test.sh and give it execute permission to owner
11. Remove read permission for group user and public on the file test.sh