🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How do I use unix fdisk?

#22
From: Nazim BAIZID
Date: Fri, 17 Sep 1999 00:00
60 lines
2787 bytes
Richard O'Keefe wrote:

> >Use a unix fdisk, windows (being brain dead as usual) can have trouble
> >deleteing non dos partitions.
> >
> How do you use unix fdisk?
>
> On the cdrom disk there is fdisk in the E:\MANDRAKE\INSTIMAG\USR\BIN>
> directory.  I saw that with MSDOS commands.  I don't know how to
> access my cdrom disk while using linux.
>

to acces your cdrom under linux
lmount it first
mount -t iso9660 /dev/hdb /mnt
/dev/hdb depends on the number of hard disk or partition you have , so if
it doesn't work try /dev/hdc
an that's all folks you can then do a cd /mandrake/instimge.......


>
> While using linux I went into the director /sbin on my hard drive.  At
> the prompt [Richard@localhost /sbin]$    I typed fdisk and hit <CR>
> the response was bash: fdisk: command not found.

you must login as root to do  fdisk
the exemple you gave us  tells me that you do fdisk while login as richard



>  I also typed
> shutdown and hit <CR>  the response was bash: shutdown: command not
> found.

same problem as above YOU MUST BE ROOT to do shutdown , fdisk or all
special system commands
login as root
and type shutdown -r now
and every thing will be ok

> Yet, when I type dir and hit <CR>, both fdisk and shutdown
> seem to be in the /sbin directory.
>

Security is better managed in linux
dangerous commands cant be run by users
only root can do these commands related to configurations etc ......

>
> I can't figure out how to execute any unix commands.  With DOS any
> extension such as .bat, .exe, .com is executable

yes in linux you can execute any shell you want or command like ls, cd,
vi, perl, gcc, man etc
under dos every one can damage the system
under linux only root can do  it.

donot forget
if you want execute commands related to the system login as root
else work as richard user
Technical Details
Message-ID: <37E1A7DD.1984C642@cybercable.fr>
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: f8a83,b913130757bcb881
X-Google-Attributes: gidf8a83,public
X-Google-Thread: 11033e,b913130757bcb881
X-Google-Attributes: gid11033e,public
X-Google-Thread: 100c5f,b913130757bcb881
X-Google-Attributes: gid100c5f,public
From: Nazim BAIZID <nbaizid@cybercable.fr>
Subject: Re: How do I use unix fdisk?
Date: 1999/09/17
Message-ID: <37E1A7DD.1984C642@cybercable.fr>
X-Deja-AN: 526130866
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: usenet@oceanite.cybercable.fr
X-Trace: oceanite.cybercable.fr 937535525 5741 212.198.160.42 (17 Sep 1999 02:32:05 GMT)
Organization: Cybercable Paris NewsServer
Mime-Version: 1.0
NNTP-Posting-Date: 17 Sep 1999 02:32:05 GMT
Newsgroups: alt.os.linux.mandrake,alt.linux,ahn.tech.linux