LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 06-14-2009, 03:42 PM   #1
tensor1
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
weird*terminal*behaviour*-*Dell*mini9


Hi,

The Terminal program on my mini9 has a weird problem that almost makes it unusable.
If I type a command at the keyboard it gives a can't find the command error message.
But if I copy the same command from a web page and paste it into the terminal it will work!
Bellow is an example of output copied from the terminal window.
It first shows the typed command then the pasted command results.

randy@randy:~$ sudo reboot
bash: sudo reboot: command not found
randy@randy:~$ sudo reboot
[sudo] password for randy:
 
Old 06-15-2009, 03:06 AM   #2
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
It looks like it's including the space between "sudo" and "reboot" as part of the command as it should just say "sudo: command not found". If you just type "ls" does that work? Is it just when there are two parts to the command that it says "not found"? For example "ls /home/".
 
Old 06-15-2009, 05:22 AM   #3
deathalele
Member
 
Registered: May 2008
Location: deep dark north wales
Distribution: Zenwalk
Posts: 162

Rep: Reputation: 30
at a guess it might be that sudo isn't installled,

try "su -c firefox"
and you'l have to tupe i n the root password
 
Old 06-15-2009, 05:38 AM   #4
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
But sudo works when he pastes it in. I'm pretty sure it's something to do with the spaces in commands.
 
Old 06-15-2009, 04:36 PM   #5
tensor1
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
re-weird*terminal*behaviour

jsteel,

I*think*your*suggestion*of*the*space bar*causing*the*problem*may*be*true.
I*used*the*keyboard*to*try*the*"ls"*command*without*a*space*and*with*a*space.

randy@randy:~$ ls
Desktop Examples netbeans-6.5.1 Pictures Videos
Documents installed-software NetBeansProjects Public
Download Music PDF Templates
randy@randy:~$ ls*/home/
bash: ls*/home/: No such file or directory
randy@randy:~$


Also*I*noticed*that*when*typing*into*this*blog*form,*spaces*appear*as*"*"
 
Old 06-15-2009, 04:58 PM   #6
jsteel
Member
 
Registered: Mar 2007
Location: England
Distribution: Arch
Posts: 392

Rep: Reputation: 34
What distribution and desktop environment/window manager do you use? A very strange problem you have! Sorry I can't help further.
 
Old 06-16-2009, 02:18 PM   #7
tensor1
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Smile re - weird terminal behaviour

jsteel,

My dell mini9 has ubuntu 8.04 and gnome 2.22.3.

However your comment: "something to do with the spaces in commands" made me look again at the keyboard layouts found under system > preferences. There were 2 layouts, "can" and "us" with "us" set as the default. I removed the "can" layout and the terminal seems to be working properly now.

When I first purchased the mini9 the installation screen prompted me for which country? I entered canada and my keyboard mapping problems began. I then added the "us" layout as the default which allowed normal keyboard operation with applications but not in the terminal. So thanks for giving me the hint about the terminal's response to typed commands.
 
  


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
Weird thread behaviour brownflamigo1 Programming 4 07-25-2008 05:53 AM
Weird behaviour when trying to connect to LQ bigjohn LQ Suggestions & Feedback 2 03-11-2006 10:27 AM
9.3 weird behaviour ????? bigjohn SUSE / openSUSE 9 07-06-2005 05:44 AM
Weird DNS (?) behaviour jalonsom Linux - Networking 1 10-31-2004 06:55 AM
Weird Apache behaviour ? zalmox Linux - Software 1 11-10-2003 08:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

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