LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-12-2010, 09:10 PM   #1
michael mc hugh
LQ Newbie
 
Registered: Oct 2010
Posts: 6

Rep: Reputation: -2
Red face . Give a command to


a. Redirect the standard output from a sort command into a file named phone_list. Assume that the input file is named numbers.
b. Translate all occurrences of characters [ and { to the character (, and
translate all occurrences of the characters] and} to the character) in the file permdemos.c. (Hint: Refer to the tr man page.)
c. Create a file named book that contains the contents of two other filesart1 and part2.
 
Old 10-12-2010, 09:14 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
Sorry, sport, We don't do your homework for you.

On the other hand, show us what code you have worked up and where your problem is, and we may give you advice on how to correct malfunctioning code.
 
Old 10-12-2010, 09:45 PM   #3
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by michael mc hugh View Post
a. Redirect the standard output from a sort command into a file named phone_list. Assume that the input file is named numbers.
The answer key for this part, at least, is easily googlable:

http://web.hwr.arizona.edu/~h597/ex3soln.html

The rest you should do yourself. If you're having trouble, then be aware that many books have this exact set of questions as a chapter exercise. Just read the chapter, and you'll be set.

http://flylib.com/books/en/3.163.1.80/2/

Last edited by dugan; 10-12-2010 at 09:56 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Why won't sqlplus give me a command history? indubitableness Linux - Software 3 11-12-2009 01:34 AM
where to give the command rajesh84210 Linux - Software 1 08-22-2009 03:57 AM
Looking for a command/program to give me wifi info? jacatone Linux - Newbie 1 02-15-2009 10:57 PM
what command to give if printing is RAW? bahadur Linux - Networking 1 07-23-2004 08:28 AM
How do I give a user to run the nice command? badmofo666 Linux - Newbie 3 03-17-2004 07:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration