LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-22-2010, 09:44 PM   #1
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Rep: Reputation: 30
change date


I just setup a system link ( ln -s ) to connect a file , can advise if I want to change the date of the link to a specific date , what can i do ? thx
 
Old 02-22-2010, 09:57 PM   #2
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Rep: Reputation: 56
Hmm.. not sure I understand what you're asking. What date do you mean? The only date I know of is the last modified date, and you can't set that to a specific date. It's automatically set each time the file is modified.
 
Old 02-23-2010, 12:07 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Incidentally, ln -s is a 'soft link', not a 'system link'.
 
Old 02-23-2010, 12:26 AM   #4
elainelaw
Member
 
Registered: Jan 2008
Posts: 258

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by mattca View Post
Hmm.. not sure I understand what you're asking. What date do you mean? The only date I know of is the last modified date, and you can't set that to a specific date. It's automatically set each time the file is modified.


if I do the link ( ln -s ) now , the date of the file is current date ( the date to setup the link ) , if I want to change to a specific date , what can i do ? thx
 
Old 02-23-2010, 11:51 AM   #5
mattca
Member
 
Registered: Jan 2009
Distribution: Slackware 14.1
Posts: 333

Rep: Reputation: 56
Quote:
Originally Posted by elainelaw View Post
if I do the link ( ln -s ) now , the date of the file is current date ( the date to setup the link ) , if I want to change to a specific date , what can i do ? thx
Again, if you're talking about the last modified date (the one you see when you ls -l), you can't. Otherwise it wouldn't be the last modified date.

If you're talking about a different date, you'll have to be more specific because I don't know of any others.
 
  


Reply


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
Change Date hansi umayangan Linux - General 2 03-01-2005 01:17 AM
Change Date hansi umayangan General 1 02-28-2005 01:02 AM
All I want to do is change the date format... Slycordinator Linux - General 5 12-11-2003 02:27 AM
Change date mbayeb Linux - General 2 01-31-2003 09:57 AM
Change Date ?? joetec Linux - General 1 01-08-2003 08:50 PM


All times are GMT -5. The time now is 09:10 PM.

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