The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
General UNIX Query dave_nithis Shell Programming and Scripting 2 12-12-2007 06:22 AM
HP Unix | Urgent Need Help msgobinathan HP-UX 4 11-11-2007 06:26 AM
Urgent Need your help --New to Unix nikeng Shell Programming and Scripting 0 11-02-2005 05:58 PM
General Unix Questions !! dreams5617 UNIX for Advanced & Expert Users 5 08-20-2004 11:17 AM
I am in urgent need of all UNIX-derivates... PatrickXXO UNIX for Dummies Questions & Answers 2 01-10-2002 03:12 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 08-08-2008
Registered User
 

Join Date: Aug 2008
Posts: 6
Few general unix qns..URGENT!!

hey guys,
I have a few general qns on unix, so I'd appreciate quick responses.
1. How do u read a file line by line and display its contents using KSH?
2. How to kill a process using only the name?
3. How to create an empty file with 1MB memory size?
4. How to append some content to an existing file using only sed command?
Forum Sponsor
  #2  
Old 08-08-2008
Ikon's Avatar
Registered User
 

Join Date: Jul 2008
Location: Phoenix, Arizona
Posts: 407
have you tried using google? This sounds like some kind of homework. Please read the rules about duplicate posting too.

Some commands to lookup:

cat
more
less
kill
sed

On linux you can use killall to kill a process by name. Unix (ksh) command killall kills all active processes, used by shutdown command.

Last edited by Ikon; 08-08-2008 at 02:20 PM.
  #3  
Old 08-08-2008
Bughunter Extraordinaire
 

Join Date: May 2005
Location: In the leftmost byte of /dev/kmem
Posts: 1,262
Smells like homework.
Looks like homework.
Feels like homework.
Reads like homework.

It must be homework.

And as a personal remark: Please skip the "URGENT", kid. Most of us are hard working professionals. We have schedules to meet, work to do, families to sustain, kids to raise and only then find time to answer questions. If you want to have your questions answered immediately call 1-800-HIRE-A-UNIX-PROFESSIONAL-FOR-GOOD-MONEY.

-closed-

bakunin
Google The UNIX and Linux Forums
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 09:35 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0