LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-03-2010, 11:21 AM   #1
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: BunsenLabs Linux
Posts: 465
Blog Entries: 2

Rep: Reputation: 119Reputation: 119
Where Did The Command Prompt Go?


Hey Everybody!

This has got me curious:

When I'm in terminal (Ubuntu 10.04) and do the "gksudo nautilus" command, all works fine- but when I am finished and ready to do another command (whether I close out Nautilus or not) there is just a flashing cursor in the terminal- i.e. no command prompt - no "ignatz@mrcomputer~$"

If I try and enter a command at the flashing cursor...nothing happens- and if I try using the arrow keys, etc. some weird symbols just appear on the screen.

So I have to end up closing the terminal, then restarting it in order to issue the next command.

Is something wrong here?....or am I supposed to do something to get back to a command prompt after using gksudo?
 
Old 09-03-2010, 11:29 AM   #2
jf.argentino
Member
 
Registered: Apr 2008
Location: Toulon (France)
Distribution: FEDORA CORE
Posts: 493

Rep: Reputation: 50
Quote:
(whether I close out Nautilus or not)
maybe the gksudo doesn't end that why closing the nautilus doesn't get you back the prompt. Run the command in background and see if it solves your issue. You can run a command in back ground by adding the "&" character at the end of the command. Of after having launching it, hit "^Z" (CTRL + z), you'll then have a prompt, then use "bg" command for your stopped command to resume.
 
1 members found this post helpful.
Old 09-03-2010, 11:31 AM   #3
fbobraga
Member
 
Registered: Jul 2010
Location: São Paulo - Brasil
Distribution: Debian 7 / Crunchbang 11
Posts: 229

Rep: Reputation: 41
last command is already running: try to do a "CTRL+C" in the terminal window (this will finish the running process)
 
1 members found this post helpful.
Old 09-03-2010, 11:34 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

I don't use nautilus, but it looks like that this program generated some output that was send to the terminal. Depending on what was outputted the terminal can get messed up by that. I've seen this happen with other programs before.

Sometimes typing reset and pressing enter will solve the problem, sometimes you need to close the terminal and start a new one.

Hope this helps.
 
1 members found this post helpful.
Old 09-03-2010, 12:21 PM   #5
Sumguy
Member
 
Registered: Jul 2010
Location: Rural Kentucky, USA.
Distribution: BunsenLabs Linux
Posts: 465

Original Poster
Blog Entries: 2

Rep: Reputation: 119Reputation: 119
Thanks, everyone!

I tried all the suggestions...and they ALL work!

Funny thing is....now after having done that, the command prompt is returning by itself (normally) even after I close the terminal and restart it.

So problem solved...to the extreme!

These are the great little tips that most of the tutorials and references don't teach you.

I devoted a few pages in a notebook to just keeping a reference of all the useful commands I'm learning.
 
Old 09-03-2010, 02:33 PM   #6
grizzler
LQ Newbie
 
Registered: Sep 2009
Posts: 10

Rep: Reputation: 8
Another suggestion. Press Alt+F2 to open the "execute command" window (not sure what it's called in an English language Ubuntu) and enter the command there.
 
  


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
setup command not found in Ubuntu 10.04 Command Prompt vinaytp Ubuntu 2 05-06-2010 01:10 PM
'file' command for Windows/command prompt? SlowCoder General 4 06-16-2009 08:11 AM
startx command in FC7 reverts me back to the command prompt sriram87 Linux - Newbie 5 01-03-2008 11:18 PM
Command line/ command prompt saiinch Linux - Newbie 5 03-17-2006 02:29 AM
Key stroke/command to shut down x and go into the command prompt screen? Fear58 Linux - General 1 07-14-2004 07:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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