LinuxQuestions.org
Visit Jeremy's Blog.
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 09-25-2003, 08:10 AM   #1
connor
LQ Newbie
 
Registered: Sep 2003
Location: N.Ireland
Distribution: Redhat 8
Posts: 2

Rep: Reputation: 0
Terminal Commands in Gnome


I know this is a bit of an odd question but thought I'd try my luck.

I'm completely new to linux and find myself heavily leaning on Gnome for doing everything. By that I mean pointing and clicking instead of learning the various linux commands for use in the terminal. But I find it hard to understand the syntax and all the various different options I need with each command. Is there anyway in which I can learn by example. By that I mean, some kind of log that everytime I maybe move a file around in Gnome or install a rpm or something, that I can see exactly what is being passed to the terminal/kernel. It would just be easier than doing searches for every command and ending up being lazy and just doing it with the mouse. I'm not even sure if this is the way linux even works, but thought I'd post this to see what response I got. Any help what-so-ever would be of great help.
 
Old 09-25-2003, 08:45 AM   #2
cadj
Member
 
Registered: Aug 2003
Location: Melbourne Australia
Distribution: LinuxMint Elyssa
Posts: 373

Rep: Reputation: 32
i dont know about showing all your actions, but here are some usefull commands for you

top 'show all running processes sorted by memory, cpu etc
ps -A 'same as above, but simple
ifconfig 'show your network details

most executable files (to run) are kept in
/bin
/usr/bin
/usr/X11R6/bin

need any more advise? just repy and ill help a bit more
 
Old 09-25-2003, 08:52 AM   #3
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
I dont think so.

try these...

ls (list files)
ls -l (long list)
mv (move)
rm (remove)
rmdir (remove dir)
rm -rf (forceable remove everything in the path. use with care)
cp (copy)

use the tab key for autocompetion of commands and filenames. USE IT LOTS!!!

that should be enough to get you around the filesystem.

use "man <command>" to get a detailed manual on an installed package or command.

or use --help to get a quick output of command options.
like "cp --help"

change to another user ie root.
su - <username or leave blank for root>

find a program
which "command"

use updatedb and locate to search the filesystem for a text string.
"locate apache"

and you can use grep too to filter the results.
"locate apache |grep /usr/local"

grep is well cool.



uncompress and unpack a tar.gz file
tar zxvf filename.tar.gz

uncompress and unpack a tar.bz2 file
tar jxvf filename.tar.bz2


practice a bit. You'll soon get the hang of it.

Last edited by fatgod; 09-25-2003 at 08:54 AM.
 
Old 09-25-2003, 09:21 AM   #4
connor
LQ Newbie
 
Registered: Sep 2003
Location: N.Ireland
Distribution: Redhat 8
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks, do you know of somewhere I could get a list of all the commands to use in the terminal. Something I could print out and use as a reference. or is there a command I can type which will give me a complete list?
 
Old 09-25-2003, 09:31 AM   #5
yapp
Member
 
Registered: Apr 2003
Location: Netherlands
Distribution: SuSE (before: Gentoo, Slackware)
Posts: 613

Rep: Reputation: 30
You could use google for that There are a lot of tutorials on the web you can start with.

If you press <tab> to complete a command, it will complete as much as possible. When you press <tab> again, it will show you every posibility. When you haven't typed anything, it will ask you whether you want to see all 2000 (?) programs in the path But this also includes gnome-programs, and such.

This also works with file names, and shell variables.

Last edited by yapp; 09-25-2003 at 09:32 AM.
 
Old 09-25-2003, 10:03 AM   #6
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
Quote:
Originally posted by connor
Thanks, do you know of somewhere I could get a list of all the commands to use in the terminal. Something I could print out and use as a reference. or is there a command I can type which will give me a complete list?
http://www.google.co.uk/search?q=lin...e+Search&meta=

Take your pick I seem to remember that one of the mods here has a link to the other of all linux command lists.

maybe you can also find a list or two on the linux documentation project. www.tldp.org

This one looks OK too, http://www.jfroment.uklinux.net/shellcommands.html it's not very complete, but it's organised into operational sections, which I think could be handy

And use "pico" as your text editor "vi" is hard to get to know
 
Old 09-25-2003, 10:15 AM   #7
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,111

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
fatgod and cadj have the best sugestions, look in
/bin
/usr/bin and
/usr/local/bin
and do a 'man' on the commands
also though, they seemed to miss
/sbin
/usr/sbin
/usr/local/sbin
for superuser utilities, however these /sbin commands must be used as root and shoujld not be taken lightly as they could mess up your system if used incorrectly
 
Old 09-25-2003, 10:19 AM   #8
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,111

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
oh yeah, and /usr/local/bin

Last edited by frieza; 09-25-2003 at 10:20 AM.
 
  


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
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 11:34 AM
certain commands aren't working on the terminal bariswheel Mandriva 4 12-22-2004 05:35 PM
Terminal commands Ermen Linux - Newbie 1 11-23-2004 11:13 AM
Alternative terminal to konsole & gnome-terminal Adony Linux - Software 3 10-08-2004 04:59 AM
Terminal commands newtothegame Linux - Newbie 2 09-16-2003 05:52 PM


All times are GMT -5. The time now is 01:21 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration