-
Compare two numbers and print the largest.
-
Check whether the given number is Even or Odd.
-
Take 2 file names as arguments & check whether the two files contents are same.
-
To print the contents of a file from the given line number to another given line number. Get arguments (file name , first line number, second line number) from command line.
-
To generate all permutations of 1,2 and 3 using for loops (repetitions allowed).
-
To read a directory as a command line argument and delete all files in that directory whose size is 0 bytes.
-
To print numbers 1 to 10 using until construct.
-
Move all hidden files from the given directory to a newly created subdirectory.
-
Program which accepts a name as argument and then checks whether it exists as a directory. If it doesn’t exist, create the directory or if it exists as an ordinary file, then remove the file and create the directory.
-
Find the factorial of a number using recursive function call
-
Create your own customized shell.
-
Depth First Traversal of a directory tree
-
Read 10 strings to an array; sort it (alphabetic sorting) and print them
-
Using select construct, Write a menu driven program to implement following
-
create a file (using touch)
-
rename a file
-
delete a file
-
copy file
-
Write a script to check whether given number is prime or not using Functions.
-
Check whether a given number is Armstrong number or not ?
-
Compare two given files and display common words.
-
Notifications
You must be signed in to change notification settings - Fork 0
Gautham/ShellScripts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A few Shell Scripts I made..
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published