Un-Answered Questions { Shell Script }

What are "c" and "b" permission fields of a file?

556


How will you find the 99th line of a file using only tail and head command?

1972


What is the difference between grep and egrep?

600


What are the 3 standard streams in linux?

568


What is a boot block?

572


How can I send a mail with a compressed file as an attachment?

553


How can you find out how long the system has been running?

523


How will you print the login names of all users on a system?

565


Given a file find the count of lines containing the word "abc".

950


What is an inode block?

573


How will you pass and access arguments to a script in linux?

573


In my bash shell I want my prompt to be of format '$"present working directory":"hostname"> and load a file containing a list of user-defined functions as soon as I log in, how will you automate this?

635


How do we delete all blank lines in a file?

567


How can we find the process name from its process id?

699


How will you copy a file from one machine to other?

539