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 11-15-2005, 08:06 PM   #1
TSynergy
Member
 
Registered: Aug 2003
Location: Georgia U.S.A.
Posts: 101

Rep: Reputation: 16
Command line option -F means what?


Hi

I've been reading a tutorial located at http://www.linux.org/lessons/interm/c191.html. Could someone tell me the meaning of command line -F? The tutorial though very good conveying information didn't seem to mention the exact meaning of F. I've checked the web and its seems to mean 'force' ing a command to execute. Is that correct?

Tj

Distribution: FedoraCore3
 
Old 11-15-2005, 08:18 PM   #2
bigjohn
Senior Member
 
Registered: Jun 2002
Location: UK .
Distribution: *buntu (usually Kubuntu)
Posts: 2,682
Blog Entries: 9

Rep: Reputation: 45
doesn't the exact meaning of the switch depend on what command you're using it with ???

Have you looked at the man pages for the command ???

For example, in my gentoo install, if I'm "emerging" something (installing) the -f is for "fetchonly" whereas the -F is "fetch-all-URI". So I'd imagine it's command dependant - I can't say for certain but suspect that thats the case.
 
Old 11-15-2005, 08:19 PM   #3
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
-f is force
-F in ls is used to mark directories with a trailing slash (/), doors with a trailing greater-than sign (>), executable files with a trailing asterisk (*), FIFOs with a trailing vertical bar (|), symbolic links with a trailing at-sign (@), and AF_UNIX address family sockets with a trailing equals sign (=).

*nix is case sensitive
 
Old 11-15-2005, 08:26 PM   #4
TSynergy
Member
 
Registered: Aug 2003
Location: Georgia U.S.A.
Posts: 101

Original Poster
Rep: Reputation: 16
Hi

Thats new information for me. Thanks. These are the commands in which trying to figure out the meanin of 'f' in the aforementioned tutorial:

rpm -F new_improved_package.rpm

tar -czpf mystuff.tar.gz /home/acme-inc/

Are you able to guess the meanings? If so, please let me know.

Tj
 
Old 11-15-2005, 08:29 PM   #5
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Honolulu, HI
Distribution: Arch
Posts: 1,380

Rep: Reputation: 47
the tar f is filename and the rpm -F i think is freshen
 
Old 11-15-2005, 09:01 PM   #6
TSynergy
Member
 
Registered: Aug 2003
Location: Georgia U.S.A.
Posts: 101

Original Poster
Rep: Reputation: 16
OK, freshen, hence the capitalization. ic. Thanks much and thanks all for the other information.

Tj
 
  


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
vim 'n' lynx: command line option to search for string Samsara Linux - Software 6 01-02-2013 07:36 PM
Kdetv command line (missing?) option AliDigitaly Linux - Software 0 09-30-2005 06:11 PM
Command to output file content line by line aznluvsmc Programming 2 09-12-2004 08:45 PM
51 characters only in the 1st Line of command line eggCover Linux - General 2 07-29-2004 02:28 PM
perl command line option question afshin Programming 2 01-22-2003 09:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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