My Shell Script Usage Collection

sgadmin created the topic: My Shell Script Usage Collection Count Total number of files in Directory and Subdirectory > find . -type f | wc –l Count Specific extention files…

Read more »

Shell script to run x times

rajeshkumar created the topic: shell script to run x times Problem: First i need to cd to this directory $SWDIR/util Second i need to run the following either 4 times…

Read more »

Whats the difference between running a shell scrip

scmuser created the topic: Whats the difference between running a shell scrip Whats the difference between running a shell script as ./script.sh and sh script.sh have a script that looks…

Read more »

Shell script merge two list and remove duplicates

rajeshkumar created the topic: shell script merge two list and remove duplicates You want all the records from list_A supplemented by all the records from list_B for which there is…

Read more »

Shell script for recursive delete required.

rajeshkumar created the topic: Shell script for recursive delete required. #!/bin/bash if [ $# -ne 1 -o ! -d “$1” ] then echo “Usage $0 dirname” exit 1 fi find…

Read more »

Shell Script to delete a folder that is more then

scmuser created the topic: Shell Script to delete a folder that is more then Shell Script to delete a folder that is more then 1 week old Hi all, i…

Read more »

Shell Script Run in Background

rajeshkumar created the topic: shell script run in background I wanted to run a particular shell program in a background and it should not be dependent on terminal session of…

Read more »

How to Restore The Dump File using Shell Scripting

scmuser created the topic: how to restore the dump file using shell scripting I have created a script file to dump the application files using the following script Code =============…

Read more »

Shell Script to Find All New Files Added

scmuser created the topic: shell script to find all new files added Hi, i am looking for a shell script to find all new files added or modified after a…

Read more »

Shell Script Program 1

scmuser created the topic: shell script program 1 Device a script that takes a filename as argument ( which must exist in the current directory) and locates from your home…

Read more »

Shell script program 2

scmuser created the topic: Shell script program 2 Use a script to take two numbers as arguments and output their sum using (i) bc (ii) expr. include error – checking…

Read more »

Test your Shell Scripting Skills: – Program 4

scmuser created the topic: Test your Shell Scripting Skills: – Program 4 Expand the scope of the script in 16.12 (Test Your Understanding) to perform search recursively.

Read more »

Test your Shell Scripting Skills: – Program 7

scmuser created the topic: Test your Shell Scripting Skills: – Program 7 You are moving files to handled which accepts only 8+3 type filesname. Produce a list of those files…

Read more »

Test your Shell Scripting Skills: – Program 8

scmuser created the topic: Test your Shell Scripting Skills: – Program 8 Write a script that displays a special listing showing the (i) permission (ii) size (iii) filename (iv) last…

Read more »

Test your Shell Scripting Skills: – Program 9

scmuser created the topic: Test your Shell Scripting Skills: – Program 9 Find out the pathname of the Korn shell on your machine and then change the interpreter line in…

Read more »

Test your Shell Scripting Skills: – Program 10

scmuser created the topic: Test your Shell Scripting Skills: – Program 10 Add the statement #inlclude at the beginning of every C source file in the current directory containing printf…

Read more »

Test your Shell Scripting Skills: – Program 11

scmuser created the topic: Test your Shell Scripting Skills: – Program 11 Write a script that compares two direcotries bar1 and bar2 (supplied as arguments) and copies or overwrites to…

Read more »

Test your Shell Scripting Skills: – Program 12

scmuser created the topic: Test your Shell Scripting Skills: – Program 12 You have a number of C programs that certain comment lines at the beginning of each program. The…

Read more »

Test your Shell Scripting Skills: – Program 13

scmuser created the topic: Test your Shell Scripting Skills: – Program 13 Write a shell script that uses find to look for a file and echo a suitable message if…

Read more »

Test your Shell Scripting Skills: – Program 14

scmuser created the topic: Test your Shell Scripting Skills: – Program 14 Devise a script that allows a user to view, add, delete or modify a setting in a configuration…

Read more »