LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-09-2004, 09:35 PM   #1
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Rep: Reputation: 15
Unhappy Can't open consloe


When I try to open the default console (in Phlak), it shows the console for a second, then it quits. I can open others like bash and the User Consloe, but I need to open this command line file, and I apparently can't without being able to open the default command line. Please help, and be nice, because I'm obviously a newbie.
 
Old 04-09-2004, 10:04 PM   #2
mikshaw
LQ Addict
 
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320

Rep: Reputation: 45
I think you're mistaken about what you need to do. Essentially all terminals within a Linux system use the same shell, unless they are configured otherwise...something that generally isn't done by default.

What is it you need to accomplish which requires a certain terminal?
 
Old 04-09-2004, 11:13 PM   #3
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
Ok, I downloaded Seti@home for Linux (console version). I want to run it. That's my goal.
 
Old 04-10-2004, 01:00 AM   #4
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
open a shell terminal that works. you did say that there was a couple of terminals that worked. in that console when it's time to make install you can get access (assuming that user console is just the regular user's shell console) by using the command "su" and entering in your root password.
 
Old 04-17-2004, 01:09 AM   #5
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
So, then you'd be able to open the normal console? Thanx so much.
 
Old 04-17-2004, 03:24 PM   #6
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
Ok, I tried that and left the console open. Then I tried running Seti at home. The console came up for a second, then closed. What do I do now!!!
 
Old 04-17-2004, 04:16 PM   #7
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
i'm not understanding what you're saying. what do you mean by normal console? if you got one console up and running (let's pretend aterm) then there's no reason to use that to open up another console (let's say konqueror). open up the console that works and run your program from it. am i missing something here?
 
Old 04-17-2004, 05:26 PM   #8
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
ok, i open some batch file. it opens the console, then the console closes after a second. why?
 
Old 04-17-2004, 10:29 PM   #9
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
""""ok, i open some batch file. it opens the console, then the console closes after a second. why?"""

It's because it's like if you open up ping.exe on windows, a dos window will open up and close real quick....

You need to open up a normal console, CD to the directory of the file you're "double clicking on" and then type ./file-youre-doube-clicking-on-that-just-opens-up-and-then-closes-real-fast

thats ./file-you-wanna-run

That should run the file instead of running it real quick.

You may need to be root to run it, maybe not.
If so,

type su and enter root password then cd to the directory and do the rest i told you to

does that help?
 
Old 04-18-2004, 11:21 AM   #10
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
yes, thank you so much. i get it. man, i must've looked stupid!!!!!
 
Old 04-18-2004, 03:15 PM   #11
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
wait, this is even more stupid, but how do you open a file once you CDed into the directory?
 
Old 04-18-2004, 03:39 PM   #12
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
if you're in the directory where what you want to open is in:

if the file in question is a program/executable you want to run, use:

1. ./program_name

or

2. sh program_name

if you want to run this program in the background which will let you do other things on the same console window, the use:

1. ./program_name &


if file in question is a text file, use:

1. <text_editor's_program_name> file_name

or

2. cat file_name

or

3. more file_name

.... etc....

Last edited by megaspaz; 04-18-2004 at 03:41 PM.
 
Old 04-18-2004, 03:45 PM   #13
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
It tells me "cannot execute binary file". I think it's a script file. Boo hoo.
 
Old 04-18-2004, 04:47 PM   #14
megaspaz
Senior Member
 
Registered: Nov 2002
Location: Silly Con Valley
Distribution: Red Hat 7.3, Red Hat 9.0
Posts: 2,054

Rep: Reputation: 46
if it's a shell script, check the permissions or just do this as root:

chmod 755 filename

and then try running the program again. if that doesn't work, post the command you're trying to use and it's output.
 
Old 04-24-2004, 02:31 PM   #15
elamigo2004
Member
 
Registered: Apr 2004
Location: HELL
Distribution: Phlak / Knoppix / Puppy
Posts: 98

Original Poster
Rep: Reputation: 15
1. ok, i typed in "su" and logged in
2. i typed "cd /home/morph/Brent/TEMP/setiathome-3.08.x86_64-pc-linux-gnu"
3. then I did "chmod 755 setiathome" (didn't work)
4. then I did "chmod 755 setiathome.su" (didn't work)
5. then I did "chmod 755 xsetiathome" (another version, didn't work)
6. then I did "chmod 755 xsetiathome.su" (didn't work)

WHAT'S GOING ON!!!!
 
  


Reply



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
Novell to Open SuSE Pro for open development HenchmenResourc Linux - News 0 08-02-2005 10:57 PM
Evolution - open word docs with open office (not KWord) bcarl314 Mandriva 1 06-11-2005 09:18 AM
installed open office from linuxpackages.net, don't know how to open it salviadud Slackware 7 04-15-2005 10:28 AM
im install amule there is more way to open him up its annoying to open him from shel SlackwareMan Linux - Software 1 07-31-2004 08:34 PM
Can Open Office open WordPerfect files hemenm Linux - Software 2 03-10-2004 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:01 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
Open Source Consulting | Domain Registration