OSY Practical Answers
OSY Practical Answers
OSY Practical Answers
1. Write theory & procedure for installing and configuring Linux/Ubuntu operating systems.
- Follow the installation prompts to set up partitions, time zones, user accounts, etc.
- Post-installation, update the system using 'sudo apt update && sudo apt upgrade'.
- Configure settings such as network, firewall (ufw), and user permissions as required.
2. Execute and explain general-purpose commands date, time, cal, clear, banner, tty, script,
man.
3. Execute and explain basic commands: who, who am i, login, passwd, su, pwd.
Basic commands:
4. Execute and explain commands to start, stop and restart the specified service in Linux.
Service management:
5. Execute and explain process-related commands: ps, wait, sleep, exit, kill.
Process-related commands:
Commands:
Commands:
Commands:
9. Use vi editor and perform all important VI editor commands and explain them.
VI editor commands:
10. Write, execute & explain the Shell Script by using the 'if' statement.
Example:
```bash
if [ $1 -gt 0 ]; then
else
fi
```
11. Write, execute & explain the Shell Script by using the 'for' statement.
Example:
```bash
for i in {1..5}; do
echo $i
done
```
12. Write, execute & explain the Shell Script to check file permissions.
Example:
```bash
```