🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.os.linux.mandrake
Article #25

Re: How do I use unix fdisk?

#25
From: Artur Swietanowski
Date: Sun, 12 Sep 1999 00:00
26 lines
2137 bytes
Richard O'Keefe wrote:
> I can't figure out how to execute any unix commands.  With DOS any
> extension such as .bat, .exe, .com is executable

With U**X any *file* with 'x' permission flag set for the current 
effective user ID is executable. The caveat that you have fallen 
into is such, that only the directories listed in the PATH env. 
variable are searched. This usually means that the current directory 
is not (nuless a dot "." is expressly made a part of the PATH).

To execute a file which is not on the path, you need to specify the 
relative or absolute path name of this file. Assuming you're in 
/sbin, you may execute either
  # /sbin/fdisk
or
  # ./fdisk
to the same effect. Obviously, in the latter case you use the 
relative path to the same file. 

Regards,
---------------------------------------------------------------------
Artur Swietanowski                         http://swietano.spedia.net
Institut f�r Statistik,  Operations Research  und  Computerverfahren,
Universit�t Wien,     Universit�tsstr. 5,    A-1010 Wien,     Austria
tel. +43 (1) 427 738 620                     fax  +43 (1) 427 738 629
---------------------------------------------------------------------
Technical Details
Message-ID: <37DBBFFF.77204B05@bigfoot.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37dbbbfb.1207402@news.det.ameritech.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 100c5f,b913130757bcb881
X-Google-Attributes: gid100c5f,public
X-Google-Thread: f8a83,b913130757bcb881
X-Google-Attributes: gidf8a83,public
X-Google-Thread: 11033e,b913130757bcb881
X-Google-Attributes: gid11033e,public
From: Artur Swietanowski <swietanowski@bigfoot.com>
Subject: Re: How do I use unix fdisk?
Date: 1999/09/12
Message-ID: <37DBBFFF.77204B05@bigfoot.com>
X-Deja-AN: 524100248
Content-Transfer-Encoding: 8bit
References: <37dbbbfb.1207402@news.det.ameritech.net>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: news-adm@news.univie.ac.at
X-Trace: www.univie.ac.at 937148384 62956 131.130.31.227 (12 Sep 1999 14:59:44 GMT)
Organization: Vienna University, Austria
Mime-Version: 1.0
NNTP-Posting-Date: 12 Sep 1999 14:59:44 GMT
Newsgroups: alt.os.linux.mandrake,alt.linux,ahn.tech.linux