MCS-022 Optimize Compressed
MCS-022 Optimize Compressed
MCS-022 Optimize Compressed
MCS-022 1 P.T.O.
(d) Write the Linux/Unix commands for the
following : 10
(i) Show the users logged in on the
network.
(ii) List the files having more than one
digit in the name.
(iii) Tell the system to run the process
continuously even if the user logs out.
(iv) To allow a user to communicate with
another user, logged in by splitting
the screen and providing two-way
communication.
(v) To kill a process after one hour.
MCS-022 2
(c) Write a Linux shell script for automatic
grouping of files given in a directory. All
files will be grouped on the basis of their
size and will be saved into the newly created
folders based on file size groups given
below : Files will be grouped into 0 to 5 kB,
5 kB to 5 MB, 5 MB to 1 GB and greater
than 1 GB. 10
Note : Make suitable assumptions, if
necessary.
MCS-022 3 8,00Q