Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-07-2012, 09:53 PM   #1
Registered: Oct 2010
Posts: 57

Rep: Reputation: 0
linux line command

what does `ln -sf` mean?
i found a link to change my ec2 time and couldnt find anything on those 2 lines

full command:
sudo ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime

Last edited by ggalan; 03-07-2012 at 10:24 PM.
Old 03-07-2012, 10:20 PM   #2
Registered: Oct 2007
Location: MI
Distribution: Debian Slackware
Posts: 528

Rep: Reputation: 59
look at the man page, man ln

ln -sf is the command to create a symbolic link, the ln is the command, -sf are arguments. The s is the argument to make a symbolic link instead of a hard link. -f, remove existing destination files.
1 members found this post helpful.


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
[SOLVED] Cursor does not move to the bottom line and overwrite to same line on command line mesuutt Linux - Newbie 3 02-25-2012 09:04 AM
Linux command line L Jay Linux - Newbie 6 06-04-2009 01:06 AM
LXer: The Linux Command Shell For Beginners: Fear Not The Command Line! LXer Syndicated Linux News 0 12-22-2008 07:30 PM
xine command line? or some other command line only engine? lumix Linux - Software 2 08-10-2007 11:46 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:11 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