The UNIX and Linux Forums  

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


UNIX Desktop for Dummies Questions & Answers Questions regarding GNOME, KDE, CDE, Open Office, etc go here. All UNIX and Linux Newbies Welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to make sound using C under UNIX trapeze UNIX for Dummies Questions & Answers 6 12-10-2007 11:14 PM
Unix Make mmipko High Level Programming 3 11-23-2007 03:18 PM
Make a copy of a unix HDD josramon UNIX for Dummies Questions & Answers 0 03-20-2007 08:57 AM
make file mxms755 UNIX for Dummies Questions & Answers 1 05-09-2006 06:38 AM
How can I make ls -l in HP-UNIX? sangjinn High Level Programming 1 09-24-2001 02:39 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-24-2005
Registered User
 

Join Date: Jan 2005
Location: Hyderabad
Posts: 8
Make file in Unix

How to make files in Unix
Reply With Quote
Forum Sponsor
  #2  
Old 02-25-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
See the man page for make - there are probably subtle differences for each OS, so reading your man page would be better than for me to show a link to one that may not be right for you.
Reply With Quote
  #3  
Old 03-03-2005
Registered User
 

Join Date: Mar 2005
Posts: 12
I think he is talking about making a file not using make files. If you want to create a file, use touch.
Reply With Quote
  #4  
Old 03-03-2005
pressy's Avatar
solaris cultist
 

Join Date: Aug 2003
Location: Vienna / Austria (Europe) [EARTH]
Posts: 718
if it would be solaris there is a command called mkfile to create files with a specific filesize
Reply With Quote
  #5  
Old 03-24-2005
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
yes in unix there is a way to make a file of a certain size too...

In HPUX, it is called "prealloc"... sometimes used for place holders or even used to overwrite a disk or a tape.

There is a make command but I dont think you want that one.
__________________
My brain is your brain
Reply With Quote
  #6  
Old 04-13-2005
Registered User
 

Join Date: Apr 2005
Posts: 2
vi <filename>
Reply With Quote
  #7  
Old 04-20-2005
Just Ice's Avatar
Lights on, brain off.
 

Join Date: Mar 2005
Location: in front of my computer
Posts: 629
Wink

and many more ... and some more not mentioned ...
Code:
> file
>> file
echo "boo" | tee file
echo "boo" | tee -a file
cp file1 file
ln file1 file
cat file1 > file
cat file1 file2 >> file
command_with_output > file
command_with_output >> file
command_with_output_pipe_command_with_output > file
command_with_output_pipe_command_with_output >> file
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:04 AM.


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