Answer Posted / vjsujay
#!/usr/bin/sh
echo "Sample Script to display current date & time"
date
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Explain about login shell?
Why should we use shell scripts?
What is @echo off?
How will you pass and access arguments to a script in linux?
Tell something about the super block in shell scripting?
What is bash used for?
How to check if a directory exists?
How are shells born?
Why is it called a shell?
Can we run shell script in windows?
What is bash command used for?
c program which behaves like a shell(command interpreter). it has its own prompt say "NewShell$".any normal shell command is executed from your shell by starting a child process to execute a system program corrosponding to the command
What are the advantages of shell scripting?
How do I open the shell prompt?
How to debug the problems encountered in the shell script/program?