TotalCodes
Menu
Android
Data Structure
Oracle(PL/SQL)
Shell Scripts
Monday, 27 May 2013
Shell Script to concatenate two files
echo -n "Enter File 1:- "
read f1
echo -n "Enter File 2:- "
read f2
echo -n "Enter Output file name:- "
read f3
cat $f1 $f2>$f3
echo "$f1 and $f2 are successfully merged into $f3"
echo "Content of $f3 are"
cat $f3
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment