Specialty Forums
Security and Virus
General Hardware
CPUs/Overclocking
Networking
Digital Photo/Video
Office Software
PC Gaming
Console Gaming
Programming
Database
Web Development
Digital Home

General Forums
Windows XP
Windows Vista
Windows 95/98
Windows Me
Windows NT
Windows 2000
Win Server 2008
Win Server 2003
Windows 3.1
Linux
PDAs
BeOS
Novell Netware
OpenVMS
Solaris
Disk Op. System
Unix
Mac
OS/2

Drivers
Driver Scan
Driver Forum

Software
Automatic Updates

BIOS Updates

My Computing.Net

Solution Center

Free IT eBook

Howtos

Site Search

Message Find

RSS Feeds

Install Guides

Data Recovery

About

Home
Reply to Message Icon Go to Main Page Icon

Tips in creating files in UNIX

Original Message
Name: Thennarasu Eswaran
Date: July 14, 2006 at 05:48:13 Pacific
Subject: Tips in creating files in UNIX
OS: UNIX
CPU/Ram: 256 MB
Model/Manufacturer: INTEL
Comment:
cat "file1" > file1

Use the above command to create a new file in the name file1.

Thanks,
Thennarasu Eswaran


Report Offensive Message For Removal


Response Number 1
Name: janie_rose
Date: July 20, 2006 at 06:52:40 Pacific
Subject: Tips in creating files in UNIX
Reply: (edit)
just try to type it bcoz thats how you can start...

cat > file 1 (you can create your file)

cat >> file1 (you can add lines to your file)

i dont know if this will do just tell me...


Report Offensive Follow Up For Removal

Response Number 2
Name: Thennarasu Eswaran
Date: July 25, 2006 at 07:47:16 Pacific
Subject: Tips in creating files in UNIX
Reply: (edit)
Hi janie_rose,
It's not the exact answer I think.
First let me explain the problems I faced.
I was in a situation where I need to create a empty file by applying a single UNIX command.
We can use touch command for doing it.
other than tat we can use
cat "file" > file
to create a file in UNIX in the name file.
Let me know your comments !!!

Thanks,
Thennarasu Eswaran


Report Offensive Follow Up For Removal




Use following form to reply to current message:

   Name: From My Computing.Net Settings
 E-Mail: From My Computing.Net Settings

Subject: Tips in creating files in UNIX

Comments:

 
  Homepage URL (*): 
Homepage Title (*): 
         Image URL: 
 


Data Recovery Software




XP Installed to G?

exessive internet traffic

ZoneAlarm Question. Blocked Connect

Windows Live Messenger Problem

Delete $Uninstall after SP3 updates


The information on Computing.Net is the opinions of its users. Such opinions may not be accurate and they are to be used at your own risk. Computing.Net cannot verify the validity of the statements made on this site. Computing.Net and Computing.Net, LLC hereby disclaim all responsibility and liability for the content of Computing.Net and its accuracy.
PLEASE READ THE FULL DISCLAIMER AND LEGAL TERMS BY CLICKING HERE

All content ©1996-2007 Computing.Net, LLC