Un-Answered Questions { Shell Script }

How do you create a shortcut in linux?

604


Suppose you execute a command using exec, what will be the status of your current process in the shell?

602


What makes c shell a more preferable option than the bourne shell?

546


How to print all the arguments provided to the script?

561


Tell something about the super block in shell scripting?

583


Write a shell script to get current date, time, user name and current working directory.

648


Determine the output of the following command: [ -z “” ] && echo 0 || echo 1

564


Print a given number, in reverse order using a shell script such that the input is provided using command line argument only.

713


How to get the first line from a file using just the terminal?

606


How to use arguments in a script?

594


What command needs to be used to take the backup?

539


What does it mean by #!/Bin/sh or #!/Bin/bash at the beginning of every script?

576


How to print pid of the current shell?

608


How can the contents of a file inside jar be read without extracting in a shell script?

602


How to print the first array element?

568