🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do I use unix fdisk?

#26
From: Erik Jensen
Date: Sun, 12 Sep 1999 00:00
39 lines
1799 bytes
> 
> While using linux I went into the director /sbin on my hard drive.  At
> the prompt [Richard@localhost /sbin]$   

The directory where shutdown is located is NOT in your path. Therefore
the shell (Bash, in your case) could not find it. Its probably the same
for fdisk.

BTW, don't USE fdisk unless you know exactly what you want to do BEFORE
you start. You could wind up reinstalling your OS otherwise.


Now to use shutdown you can su root, enter the password for root. Now 

	cd /sbin/shutdown -h now <ENTER>

For more information try

	man shutdown


> 
> I can't figure out how to execute any unix commands.

	Try command_name <ENTER>

Assuming (1) the directory containing command in your path and
	 (2) you have the correct permissions to execute the file.

To see your path try

	echo $PATH

> extension such as .bat, .exe, .com is executable

Good Luck

Erik Jensen
Technical Details
Message-ID: <37DBC06F.C4375F8E@home.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-7-bit
X-Google-Thread: 11033e,b913130757bcb881
X-Google-Attributes: gid11033e,public
X-Google-Thread: f8a83,b913130757bcb881
X-Google-Attributes: gidf8a83,public
X-Google-Thread: 100c5f,b913130757bcb881
X-Google-Attributes: gid100c5f,public
From: Erik Jensen <erikjensen@home.com>
Subject: Re: How do I use unix fdisk?
Date: 1999/09/12
Message-ID: <37DBC06F.C4375F8E@home.com>
X-Deja-AN: 524100250
Content-Transfer-Encoding: 7bit
References: <37dbbbfb.1207402@news.det.ameritech.net>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: abuse@home.net
X-Trace: news1.frmt1.sfba.home.com 937148665 24.1.81.14 (Sun, 12 Sep 1999 08:04:25 PDT)
Organization: @Home Network
MIME-Version: 1.0
NNTP-Posting-Date: Sun, 12 Sep 1999 08:04:25 PDT
Newsgroups: alt.os.linux.mandrake,alt.linux,ahn.tech.linux