LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-03-2007, 05:40 PM   #1
bo_akins
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Rep: Reputation: 0
how do I use a command someone Gives me?


Greetings,

Ok, whenever someone gives me an answer to a question, the reply usually
is something like this "cat /etc/fstab " ok, do I use alt f2 to use that command? or do I goto the Konsole terminal Program?

Peace, Love, And Monkey Grease
 
Old 10-03-2007, 06:04 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,336

Rep: Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176Reputation: 4176
For things like that, just use a console - sometimes you'll need to be root.
It's always good to look at the manpage first - i.e. "man cat" (use "q" to quit).

"cat" is safe, but some commands are dangerous to your system, and it pays to know what you have been advised to do, before you issue the command.
The advice may be correct, but still potentially harmful. As I said, pays to check firfst.
 
Old 10-03-2007, 06:08 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Open a terminal to run the command. For some commands you will need to be root, either by doing
Code:
su
#enter root password
cat /etc/fstab
or by
Code:
sudo cat /etc/fstab
#enter your user password
 
Old 10-03-2007, 06:26 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 67
It is very often possible to do the same thing as the terminal commands achieve using GUI tools, but most of the time giving people instructions on how to use GUI tools is a lot harder. The GUI tools tend to vary more between distros as well.
 
Old 10-03-2007, 08:34 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by bo_akins View Post
Greetings,

Ok, whenever someone gives me an answer to a question, the reply usually
is something like this "cat /etc/fstab " ok, do I use alt f2 to use that command? or do I goto the Konsole terminal Program?

Peace, Love, And Monkey Grease
ctrl-alt-F1 or ctrl-alt-F2 will take you to a text-mode (command-line) screen. The Konsole terminal program accomplishes the same thing.

Getting comfortable with the basic commands is highly recommended. You will discover that some tasks are easier in a terminal.
 
  


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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
Require Linux/Perl equivalent command for windows Command alix123 Programming 7 08-19-2005 03:23 AM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 08:14 PM
Command to display whole filestructure hierarchy f/ command line? mjewell Linux - Newbie 10 01-19-2004 11:48 AM
Where is Command line utility for Cups and command tutorial mossy Linux - Software 8 01-16-2004 01:24 AM

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

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