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 08-01-2004, 05:19 AM   #1
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Rep: Reputation: 15
Errr a few n00b questions about using terminal


errr how do I get out of the man page? When I want to do man something, I can't get back! hehe it's not really a big problem but I don't want to open a new terminal everytime I perform man (which I do a lot )

Or an alternative would be, is there a command that will open the man page in a new window?

n00b question number 2... can I change the colors of my panels? How do I do this without using another theme?
 
Old 08-01-2004, 05:27 AM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 54
how about pressing "q" for quit
 
Old 08-01-2004, 05:27 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
first question: simply press the button "q" on your keyboard, to _q_uit that's it...or, if you just wish to put it aside for a moment, press CTRL+Z and it magically disappears (but won't close - this is the magic). when you want it back again, type

jobs

and you'll see your running/stopped jobs. if you haven't ctrl+z:ed other jobs than this, you bring it back by typing

fg 1

and if you have put many apps into background (ctrl+z), then they can be get back with their numbers - 1 is the first you put into background, 2 is the second, 3 is the third and so on...so if you open "man" and put it into bg, then open irssi and put it into bg, you can get man back to foreground with

fg 1

and irssi back into fg with

fg 2

that's that... but the q button is your exit button. fg and bg are very usable, you should get to know them when you feel you're ready...check out man fg and man bg

and the panel colouring: are you talking about Gnome? if so, then just right-click your panel, then choose Prefences, the tab Background and Solid Color and pick it up. that is, if you're talking about Gnome Panel
 
Old 08-01-2004, 05:39 AM   #4
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
argh I feel so stupid now. can't believe I didn't try q! hehe looks like I don't have the manual page for bg and fg

Anyway I'm using KDE, 3.1.2 if it matters , and I can't find where I can change my panel colors
 
Old 08-01-2004, 05:44 AM   #5
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Ubuntu, FreeBSD
Posts: 1,449

Rep: Reputation: 48
You won't [well maybe you could but I doubt it] have a manual page for fg and bg. They are built in shell commands not seperate programs. `man bash` to learn about them. Hint -- you can search forward in a large manpage by typing /searchphrase[ENTER]

And just use /[ENTER] to keep going forward (this assumed your $PAGER is more or less -- if it is most then use N).
 
Old 08-01-2004, 05:53 AM   #6
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
Oooooh I was wondering how I'd search through the text. hehe I'm learning a lot right now

Thanks!

Hmmm I have one more questions I think that I'd just add it here

n00b question # 3: How do I change the splash image in grub? does it have to be in tar.gz (or xpm.gz me thinks). Coz I tried replacing the image /etc/fstab... only I replaced it with a .xpm file and it screwed up. hehe
 
Old 08-01-2004, 06:00 AM   #7
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Ubuntu, FreeBSD
Posts: 1,449

Rep: Reputation: 48
http://www.tldp.org/LDP/LG/current/jayanth.html

This will explain how to do the GRUB splash image. I would cut and paste it but that would take up too much room and not give credit where it is due. I don't use grub so I wasn't sure myself.
 
Old 08-01-2004, 06:30 AM   #8
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
hey thanks for the link! Ima try that hope I don't screw up again :d
 
Old 08-01-2004, 06:37 AM   #9
verstapp
Member
 
Registered: Feb 2004
Location: canberra australia
Distribution: Suse 9.0
Posts: 44

Rep: Reputation: 15
In Konqueror, if you type 'man:/topic' in the Location bar then you will get the man page in the main panel, fully page-up/down-able, resizeable, and you will also have click-able links, eg in the 'see also' section. This also works for (at least some) info pages.
 
Old 08-01-2004, 06:47 AM   #10
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
There are some gui man readers like xman and gman if you want to read man pages in a graphical setting. I also sometimes use a nifty little program called xless that works like less but in a gui window.

Also, don't forget to read man man.
 
Old 08-01-2004, 02:29 PM   #11
gaviidae
Member
 
Registered: Jun 2004
Location: West Michigan
Distribution: limping along with MD10, Knoppix3.6 : )
Posts: 62

Rep: Reputation: 15
Pablo:
Read up on the vi editor. Most of the stuff you see in the terminal like man pages come up in this. The other big editor is called emacs (which I know nada about, but lots of ppl like it). So if you want to see long files or anything and they scroll too fast, you can use vi to see them.
For instance if you wanted to see EVERYTHING under the / partition, it scrolls too fast. You can use
$ cd /
now your there, type
$ ls | less
and now you're probably in the vi editor (default even for most UNIX OSes)
I have to type :q to quit.
If it's a text file like a readme, you can go to where the readme is and type
$ vi whatever/readme.txt
Now you can scroll up and down with arrow keys and read.
And if you have a file like Device and want to change stuff like monitor or mouse settings, vi doesn't let you type anything until you hit the letter "i"
Now you can type and change stuff. When you're done, hit ESC. Now you can type commands like :q again. Don't want to save what you typed? Type :q! Want to save changes? Either :wq or ZZ will work.
This so far has been the most useful tool while learning Linux, even if it's the slow hard way to read stuff I know what I'm doing and can see stuff without wrecking it :) (always a possibility with me)
There are other lttle editors like pine and elm I think, but learning vi opens up whole new Stephen Hawking universes.(whoohoo)
gaviidae
 
Old 08-02-2004, 01:21 AM   #12
pablowablo
Member
 
Registered: Apr 2004
Posts: 131

Original Poster
Rep: Reputation: 15
hey thanks. I usually use nano as a text editor, I tried vi and it seems ok, I still dunno what I prefer tho... is it possible to see man pages using vi? the only way I know how to view man files are by type man whatever or xman whatever
 
Old 08-03-2004, 06:09 AM   #13
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
also, checking out text files doesn't need vi or emacs..just use cat and less (or more) with pipe:

cat textfile.txt | less

(or change less to more)

and oh...I said earlier "check out man fg", hehe..sorry I just typed it in my terminal and saw that some manpage opened and thought it was fg's..well it wasn't. it was "bash builtin commands" info/error page (because man fg didn't exist), so it was my mistake..well now I see what it does to be too quick :P

imho man pages are viewed the best with man. why would one need other tools...I mean, manpages are text and that's it, so if they're simple why wouldn't the app that displays them, be too? well whatever you like, but I like man-command itself
 
  


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
Use linux box as an RS232 terminal? (n00b question) PsychosisNode Linux - General 3 07-26-2005 08:32 AM
Questions from a n00b sKiBa Linux - Newbie 2 06-03-2004 03:38 PM
n00b Questions Joey.Dale Slackware 7 12-05-2003 11:59 PM
a few n00b questions... tv_is_drowning Linux - Newbie 3 11-06-2003 04:09 AM
Server - client questions....errr linuxlah Linux - Networking 2 06-12-2002 05:22 AM


All times are GMT -5. The time now is 06:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration