Answer Posted / lokesh
There are lot of ways by which u can execute a file in Unix.
1. ./<filename>
2. <filename> #only if the permissions are in place for the
user
3. sh <filename> #uses bash shell
4. nohup <filename> #the process doesn't get killed even on
reboot
5. Batch <filename>
6. at <time> <filename> #to schedule the job
7. U can also autorun it by making an entry into the cron
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Name the unix command to find how many days the server has been up.
How do I search for a file in unix command?
Describe the usage and functionality of the command rm –r * in unix?
Why is shebang used?
Explain the steps that a shell follows while processing a command.
What does the command '$ls | wc –l > file1' do?
What are the dos commands?
How many unix commands are there?
What is grep and how do you use it?
What command is used to switching between users in unix?
What is nr in awk command?
Enlist some filename manipulation commands in unix.
What is the use of cut command in unix?
How do I use grep to find a file?
Which command should you use to find the remaining disk space in unix server?