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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-03-2007, 05:40 PM
|
#1
|
LQ Newbie
Registered: Oct 2007
Posts: 8
Rep:
|
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
|
|
|
10-03-2007, 06:04 PM
|
#2
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,336
|
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.
|
|
|
10-03-2007, 06:08 PM
|
#3
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
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
|
|
|
10-03-2007, 06:26 PM
|
#4
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
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.
|
|
|
10-03-2007, 08:34 PM
|
#5
|
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809
|
Quote:
Originally Posted by bo_akins
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.
|
|
|
All times are GMT -5. The time now is 05:11 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|