LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 08-01-2003, 04:06 PM   #1
linuxnewbie001
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 5

Rep: Reputation: 0
Running commands


I know this is really stupid, but anyway:

When instructions say "run the df command and check the output", what do I do?

(I mean, a literal step-by-step process)
 
Old 08-01-2003, 04:13 PM   #2
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Which window manager are you using?
Basically go through the menu to Terminals or Consoles and pick your favourite, then try the command.

Or press Ctrl+Alt+F1 to F6 for command line login screens.
 
Old 08-01-2003, 04:17 PM   #3
bitpicker
Member
 
Registered: Jul 2003
Location: Germany
Distribution: Xubuntu, Ubuntu
Posts: 416
Blog Entries: 14

Rep: Reputation: 35
I take it you're in some windowed environment like KDE.

You can either open the program memnu and open a console from there, or you can hold Ctrl and Alt and press F1 (or F2 ... F6). The first will open a command line window, the other option will send you to a full screen version of the same thing.; there you will also have to log in new.

Whichever option you use, you will be at a command line now, and you can simply type df then Enter. You'll see the list of your partitions.

After that you can either type exit or close the window you opened, or if you switched to a full-screen console you can return to the GUI by holding Ctrl + Alt + F7.

Robin
 
Old 08-01-2003, 04:17 PM   #4
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Echoing what Proud said

Open a terminal

Type

su

then type your Root password

then type

df -h

(other commands follow a similar procedure - ie - su to Root user - then type command)

Last edited by Skyline; 08-01-2003 at 04:20 PM.
 
Old 08-01-2003, 04:18 PM   #5
linuxnewbie001
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 5

Original Poster
Rep: Reputation: 0
many thanks
 
Old 08-01-2003, 04:27 PM   #6
Proud
Senior Member
 
Registered: Dec 2002
Location: England
Distribution: Used to use Mandrake/Mandriva
Posts: 2,794

Rep: Reputation: 116Reputation: 116
Btw there's also KDiskFree in the KMenu -> Applications -> Monitoring (for Mandrake at least) which is KDE's nice visual layout of the result of df -h in the terminal. Or kdf
 
Old 08-01-2003, 04:28 PM   #7
linuxnewbie001
LQ Newbie
 
Registered: Aug 2003
Distribution: RedHat 9
Posts: 5

Original Poster
Rep: Reputation: 0
/dev/hda3 is my boot partition. I am trying to copy the Boot Sector onto a floppy. I am logged in as root and I my floppy drive is mounted, but what is wrong with the following command?

$ dd if=/dev/hda3 of=/mnt/floppy/linux.bin bs=512 count=1

I get: dd: opening `/dev/hda3': Permission denied
 
  


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
Running Commands blazted Linux - Newbie 6 11-13-2004 03:49 PM
Automatically running commands azebuski Linux - Newbie 3 02-11-2004 09:36 PM
running commands ./ ?? greendemon Linux - Newbie 4 08-04-2003 09:54 AM
Running commands on bootup robeb Linux - General 7 08-11-2002 08:02 PM
automatically running commands... lhoff Linux - General 9 02-21-2002 02:34 PM

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

All times are GMT -5. The time now is 01:00 AM.

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
Open Source Consulting | Domain Registration