LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-04-2004, 07:10 PM   #1
Chryzmo
Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware 10.1
Posts: 180

Rep: Reputation: 30
Command Line Questions


Heyas,

I have been using Mandrake 9.2 for a few weeks now and I am pretty happy with it so far. There have been a few bumps along the way, but nothing too bad. Now, I want to try using just the commandline, without booting into KDE at all, just to see how it is.

But first I had a few questions. First, are there any web browsers you can run from the command line? Also, is there a way to run programs in the background, like say an MP3 player and then a web browser. If so, how would you switch back to the program running in the background? And finally, if a program is made with say the KDE libraries, does KDE need to be running in order to run that program, or do you just need the KDE files installed for the program to access?

Thanks,
Chris
 
Old 02-04-2004, 07:15 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
web browser = lynx
i never tried it, but maybe fire up your mp3 player in the first terminal, and then press ctrl-alt-f2 and go to another terminal and load up lynx ...
someone will tell you if thats possible or not, as like i said i never tried something like that ...
all i can say pertaining to the last question is, if it is a GUI app, then you can't run it in the terminal
 
Old 02-04-2004, 07:18 PM   #3
Greyweather
Member
 
Registered: Aug 2003
Distribution: Ubuntu 4.10
Posts: 311

Rep: Reputation: 30
"First, are there any web browsers you can run from the command line?"

Lynx, Links, and w3m come to mind.

"Also, is there a way to run programs in the background, like say an MP3 player and then a web browser."

Yep. For example:
amp /home/example/sample.mp3 &

The '&' makes it run in the background.

Last edited by Greyweather; 02-04-2004 at 07:29 PM.
 
Old 02-04-2004, 07:22 PM   #4
Nu-Bee
Member
 
Registered: Dec 2002
Location: USA
Distribution: Mandrake 9.2
Posts: 269

Rep: Reputation: 30
Re: Command Line Questions

Quote:
Originally posted by Chryzmo
Heyas,

I have been using Mandrake 9.2 for a few weeks now and I am pretty happy with it so far. There have been a few bumps along the way, but nothing too bad. Now, I want to try using just the commandline, without booting into KDE at all, just to see how it is.

But first I had a few questions. First, are there any web browsers you can run from the command line? Also, is there a way to run programs in the background, like say an MP3 player and then a web browser. If so, how would you switch back to the program running in the background? And finally, if a program is made with say the KDE libraries, does KDE need to be running in order to run that program, or do you just need the KDE files installed for the program to access?

Thanks,
Chris
Just try Ctrl-Alt-F1 to Ctrl-Alt-F6 to go to a CLI, then when you want to go back to a GUI use Ctrl-Alt-F7. You have several (6) virtual terminals like this you can use...

lynx works great from the CLI...

I'll let others reply to the rest. I am not familiar with music from CLI....
 
Old 02-04-2004, 07:28 PM   #5
future leet
LQ Newbie
 
Registered: Feb 2004
Posts: 15

Rep: Reputation: 0
If you want to boot into proper no graphics mode you can change your defualt runlevel to 3, in the file /etc/inittab there should be somthing like:

id:5:initdefault

here, 5 is graphical mode, 3 is text, multi-user mode.

However, you should be able to switch to an old school terminal anyway with (in my distro, yours may vary) Ctrl+Alt+F1 though F7 while in your desktop manager. The first six terminals are text, the seventh is the graphical one. Or if you want to enter a lower runlevel, init 3 will send you to level 3 after booting to level 5.

lynx is a very good program, but remember almost all websites are designed to be represented graphically.
 
Old 02-04-2004, 08:36 PM   #6
statmobile
Member
 
Registered: Aug 2003
Location: Chapel Hill, NC
Distribution: Gentoo, Windows 95 2000 & XP
Posts: 160

Rep: Reputation: 30
I would suggest that you first practice the terminal stuff while running KDE. Just open an xterm (or other terminal you may prefer), and put in the name of any application you want to run. I could understand that you may want to avoid KDE or Gnome because they are so heavy, but you may be better off with a light desktop like xfce4, or a window manager. Personally, I would need to run X-windows at the minimum. I do everything from the command line, but I need to open windows, etc..
 
  


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
Anyone know the answers to these command-line questions? PDASquare Linux - General 11 08-28-2005 08:37 AM
Anyone know the answers to these command-line questions? PDASquare Linux - Software 2 08-27-2005 04:52 PM
I have some questions about the command line again. darren200184 Linux - Newbie 3 02-15-2005 08:13 AM
Some questions in the command line. darren200184 Linux - Newbie 2 02-13-2005 08:40 PM
newbie questions about the command line sether *BSD 12 09-04-2004 01:40 PM


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