Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 02-25-2004, 08:26 AM   #1
Registered: Aug 2003
Posts: 50

Rep: Reputation: 15
Touch "What does it mean and what does it do"?

I'm not new to Linux, but one thing I hve never been able to find is the meaning of the command "touch".

For example, when I setup my Qmail server you have to "touch" some directories

5. Read INSTALL.alias. Minimal survival command:
# (cd ~alias; touch .qmail-postmaster .qmail-mailer-daemon .qmail-root)
# chmod 644 ~alias/.qmail*

Can anyone tell me what is does?

Old 02-25-2004, 08:37 AM   #2
Registered: Dec 2002
Posts: 226

Rep: Reputation: 30
did you mean that you do not understand what "man touch" displays?
Old 02-25-2004, 08:42 AM   #3
Registered: Aug 2003
Posts: 50

Original Poster
Rep: Reputation: 15
well I actually never thought of doing a man on it... That told me what I was asking.

and for those who don't know and want to know

man says

touch - change file timestamps

touch [OPTION]... FILE...

Update the access and modification times of each FILE to
the current time.
Old 02-25-2004, 09:37 AM   #4
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Rep: Reputation: 15
I might add: If the file does not exists, it will be created.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use "touch" for a hole file tree mandavi Linux - General 11 07-05-2005 05:16 AM
How to "touch" a entire folder? mariusak Linux - Newbie 2 05-31-2005 08:24 AM
Parasite in a file name with touch & ">" orgazmo Programming 25 05-24-2005 03:28 AM
Turn off touch pad "clicking" pgte3 Linux - Newbie 7 08-25-2004 01:59 PM
Can't boot Mandrake 10.0, "Cannot touch, Read-Only File System" RasutoIbuki Mandriva 5 07-23-2004 08:57 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration