Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Create a bash shell script to sort and then
uniq the file from the command line & store it to a new
file and output the results to the screen. Name this
script "sortAndUniq.sh"

Answer Posted / supriya

sort -u filename1 |tee file2

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does chmod do?

1191


Explore about environment variables?

1044


Is shell scripting easy to learn?

1025


What is another name for a bash shell script that you might see?

1476


What is $1 in shell scripting?

1042


What is the use of break command?

1111


Write the syntax for "if" conditionals in linux?

1118


What is @echo off?

1021


Which shell is the best?

999


How can I set the default rwx permission to all users on every file which is created in the current shell?

1429


How will you pass and access arguments to a script in linux?

1158


Please give me example of " at command , contrab command " how to use

2805


What can scripts do?

1102


Is shell and terminal the same?

1062


What is a file basename?

1049