Assignment-1 Simple Shell Scripts

 

Write shell scripts to show the following
( you can write menu driven programs)

1.
a)Display the date and time
b)Current month calendar
c)contents of the home directory of a user

2.
a)Currently logged user and his logname
b) Your current shell
c) Your home directory

3.
a)Your operating system type
b) Your current path setting
c) Your current working directory .

4.
a)Show Currently logged users
b)Show only the user name of logged users in the host.
c)Details of last login

5.
a) About your OS and version, release number, kernel version
b) Show all available shells
c) Show mouse settings

6.
a)CPU details
b) Show information on CPU architecture
c)Number of Processor core

7.
a)Memory details
b) Display file system disk usage
c)Display the amount of free and used memory
d)Virtual memory statistics
e) File system Mounted

Write shell scripts

1. Menu ( GUI) driven program to display
long listing of files in the current directory ( ls –l)
list of users currently logged in ( who or who –H)

2. Menu ( GUI) driven program to display

network interface configurations ( ifconfig)
ip address details ( ip address)
ip address of your computer ( hostname –I)
ip address given the hostname ( host ceknpy.ac.in)

Comments

Popular posts from this blog

CSL 204 OPERATING SYSTEM LAB KTU IV SEM CSE

FCFS and SJF

Shared Memory Inter-Process Communication ( IPC)