Review your favorite Linux distribution.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 04-23-2004, 02:28 PM   #1
Registered: Aug 2003
Posts: 39

Rep: Reputation: 15
create a new file


its a simple problem, i think, but i didn't find the solution.
i just want to create a new empty file in a bash script. but i don't know with which command i can do this.

i'm sure someone of you can help me... :-)

thank you
Old 04-23-2004, 02:44 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
You can use:
touch /path/to/new_file


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Create header file for existing .c file hk_michael Programming 5 02-25-2005 05:26 PM
Why can I not create a file? aroundtuit Linux - Newbie 14 09-07-2004 08:36 PM
Create file using 'touch ./tmp.$$', file tmp.3941 is created, why? huangyanfeng Linux - General 1 04-13-2004 03:36 AM
How can I create a .db file? nuzzy Linux - Software 0 07-31-2003 10:04 AM
Create a file Vexris Linux - Newbie 3 06-05-2001 04:27 PM > Forums > Non-*NIX Forums > Programming

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

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