answersLogoWhite

0


Best Answer

dono

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Write a shell program to check and display 10 leap years?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering
Related questions

Write a shell program called whos to display a sorted list of the logged in usersJust display the user names and no other information?

The 'users' command should do that; you don't need to write a shell script to get that information in that format.


Write a program in shell script to display odd number from 0 to 100?

seq 1 2 99


Shell program for gcd of three given numbers?

write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? write a shell program for finding out gcd of three given numbers? check bellow link http://bashscript.blogspot.com/2009/08/gcd-of-more-than-two-numbers.html


Write a shell program to check read and write permissions of a file?

You don't say what you want to do with the permissions, but most shells have a 'test' command that can look at various permissions. Look at the 'man' command for the shell you are running in to see what tests are possible on files and directories. You can check to see if the target is a directory, or a file, and whether it has read, write, or execute/search permissions. Again, it varies by the shell environment.


How do you write a statement in DOS using shell script to display a word?

We can not perform Shell Scripting in DOS, we can do Batch programing in DOS..


Write a Shell program to find the smallest number from a set of numbers?

k


Write a Shell program to find the sum of cube of individual digits of a number?

no thanks


Write a shell program to delete all the files in the current directory?

in winxp del *.* /Q /S


What basically is a shell?

A shell is a program that read commands from some input device, typically the keyboard, and displays results on some output device, typically the display. It manages the environment and executes other programs as needed.


Write a shell program using if-the-else to test whether a variable name is a directory or a file?

see : Write_a_shell_program_using_the_if-the-else_to_test_whether_a_variable_name_is_a_directory_or_a_file


Write a shell program to translate the6 etcpasswd file into uppercase?

tr [:lower:] [:upper:] < /etc/passwd > somefile


How do you clean out and prepare for display the shell of two types of snails?

kill the snail and clean it.wash the inside of the shell and preserve it then put it on display