7 More Discussions You Might Find Interesting
1. Linux
The Linux kernel was originally created by Linus Torvalds, a Finnish computer science student, and first announced to the world on August 25, 1991-exactly 20 years ago today. At the time, Torvalds described his work as a "hobby" and contended that it would not be "big and professional" like the GNU... (2 Replies)
Discussion started by: itkamaraj
2 Replies
2. SCO
Hi all
I have installed a demo version of SCO OpenServer 5.0.2, I finally found it is Desktop Interface, I would like to know how to change its interface to dos based interface?
If you have any ideas, please tell me then. Thank you (2 Replies)
Discussion started by: TinhNhi
2 Replies
3. Solaris
Dear all,
I am a newbie in solaris and I need your advice.
I have a Solaris version 5.9 installed on Sunfire V240.
I am able to ssh the machine from putty remotely.
My problem is that I cannot see the display from KVM switch I have connected to it. I need also to be able to see the GUI... (2 Replies)
Discussion started by: mbouster
2 Replies
4. UNIX for Dummies Questions & Answers
I have a folder with many subdirectories and i need to set the modified date to today for everything in it. Please help, thanks!
I tried something i found online, find . -print0 | xargs -r0 touch
but I got the error: xargs: illegal option -- r (5 Replies)
Discussion started by: glev2005
5 Replies
5. What is on Your Mind?
This is my 100th post! I want to thank UNIX.com for teaching me a lot. I joined here with no knowledge of UNIX at all. I've learned so many while lurking in the shadows of UNIX.com and I've learned a lot more while trying to help other people's problem.
So, to the forum and all its mods and... (3 Replies)
Discussion started by: angheloko
3 Replies
6. Shell Programming and Scripting
Hi I have a simple question.
Is there an easy way to read a date of birth from a file and calculate how old that person is based on today's date? And would I need the make sure the birthdates are enterered in a particular format?
Thanks (10 Replies)
Discussion started by: mustaine85
10 Replies
7. UNIX for Dummies Questions & Answers
Hi to all,
I am looking a file in vi editor to get 100th occurance of a latter in that file.
Can any one help me in this?
Thanks
Sathish (1 Reply)
Discussion started by: bsathishmca
1 Replies
touch(1B) SunOS/BSD Compatibility Package Commands touch(1B)
NAME
touch - change file access and modification times
SYNOPSIS
/usr/ucb/touch [-acfm] file...
DESCRIPTION
touch sets the access and modification times of each file to the current time. file is created if it does not already exist.
OPTIONS
-a Change the access time of file. Do not change the modification time unless -m is also specified.
-c Do not create file if it does not exist.
-f Attempt to force the touch in spite of read and write permissions on file.
-m Change the modification time of file. Do not change the access time unless -a is also specified.
USAGE
See largefile(5) for the description of the behavior of touch when encountering files greater than or equal to 2 Gbyte ( 2**31 bytes).
EXIT STATUS
The following exit values are returned:
0 touch executed successfully and all requested changes were made.
>0 An error occurred. touch returns the number of files for which the times could not be successfully modified.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWscpu |
+-----------------------------+-----------------------------+
SEE ALSO
touch(1), attributes(5), largefile(5)
SunOS 5.10 26 Oct 1995 touch(1B)