Ubuntu :: Terminal Doesn't Accept Any Command?
Jul 6, 2010was just working the other day, now no command, even cd.. wont work...how can I fix this?
View 9 Replieswas just working the other day, now no command, even cd.. wont work...how can I fix this?
View 9 RepliesI just set up my Debian 8.3.0 Jessie install a couple of days ago. Today I am having a problem carrying out a command in terminal. All I want to do at the moment is make sure my firewall is active. I log in and out of my computer using the password that I set when I originally installed Debian, and I use the same password in the package updater, but today it would not accept that password in terminal. Here is what I am seeing;
rocky@debian:~$ sudo ufw-enable
[sudo] password for rocky:
rocky is not in the sudoers file. This incident will be reported.
rocky@debian:~$ sudo ufw-enable
[sudo] password for rocky:
Sorry, try again.
[sudo] password for rocky:
How do I use terminal? What password am I to use?
It's a pretty weird issue I'm having, when I need to provide access for a command in terminal IE: something using sudo, it just doesn't accept text. I thought it might be my keyboard at first (g15) but I tried copying and pasting the password into there and it just wouldn't do anything except for remain blank
View 3 Replies View RelatedMy 1st time using Terminal with sudo it would not accept my password.I use it successfully to log in and is the only password i used during installation.is there a way to get terminal yo accept my password-it does recognize my user name.
View 2 Replies View Relatedthere's one major issue left preventing Ubuntu from running flawlessly on my hine.Ubuntu doesn't recognize DVD-RWs once written on. The problem occurred with my old drive (LG GSA-H55N) as well with my new drive (Samsung SH-S222L).I'm using Sony DVD-RW (1x-2x speed)
Ubuntu only recognizes blank DVD-RWsonce written on - no matter whether written by Brasero or Windows 7 - Ubuntu isn't showing any drive in Nautilus nor in Brasero after putting in the DVDtherefore I can't even erase themboth of the drives as well as the DVD-RWs are working perfectly fine on Windows 7 (erasing, writing)I managed to get all other things working by now. My system is close to perfection and this is the only remaining major issue.
I've read through some threads here but the problem I'm having doesn't seem to be the problem others are having.
I just reinstalled 10.04 today after my last installation messed up after a month.
early when I first installed the terminal and sudo were working perfect but now, this is what I'm getting:
[sudo] password for dimebag:
<password>
Sorry, try again.
[sudo] password for dimebag:
[Code].....
I tried every solution I saw and nothing works. I've been having a heck of a time trying to install things.
I am not a new user of linux but the last time I used linux was five years ago.
I am having a hard time using less. It dont want to accept commands immediately. I need to press 'Enter' to accept the command.
Like if I press 'q' to quit, it will echo 'q' and dont do anything. I have to press 'Enter' to make it quit. Same with other commands.
I am using Windows PuTTy 0.60 with ssh to connect to linux machine.
The linux system is: Linux <removed> 2.6.18-53.el5 #1 SMP Wed Oct 10 16:34:19 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux
The less version is :
less 394
Copyright (C) 1984-2005 Mark Nudelman
I dont have any problem with vim and more. Only with less.
I have also tried changing the TERM from xterm to vt100. But still the same problem with less.
[code]...
The variables are clean and available in my script. No prob. $old is an IP-address of a server, $new as well. replacement-file is an xml-file (the ip-address to be changed is within an xml-tag). It should be trivial, but it isn't. I spent the last 3 hours reading about the problem, trying several different 'solutions' or workarounds. It should work, the '"' should take care that the variables get expanded, but whatever I try the old server IP isn't replaced.
I installed webmin, and I tried to access it with my account (not root, but able to sudo) and I always got login failed.Now I have Access Denied even to my login page for too many tries. What should I do?
View 1 Replies View RelatedMy wifes computor crashed during an update with a message to fill in a report. It would not respond to any key presses. The computor has been running 11.3 since it was realeased without problems other than jerky video. The computor will not boot it asks for the password but does not accept it, Although I can see the Home folder it does not mount. I have tried testdisk but although it sees the partions it cannot acess them.
View 5 Replies View RelatedI have two sound devices, an internal audio device on my motherboard and an external USB devices, which came with my headset. After upgrading to 11.4, the microphone on my headset ceased to work with my softphone. As it turned out, the softphone used the standard input device, which was defined in the Phonon tab in the KDE System Settings. Unfortunately, when I put the USB Device on top of the default input stack, it doesn't stay there. When I apply the changes and leave the Phonon tab or even enable "Show advanced devices " the stack always resets to its initial order. I was unable to find any kind of config file where Phonon saves this settings.
View 4 Replies View RelatedI'm building a simple(?) socket server using threads to serve up a few requests. The spec is such that I have to listen to three ports at once, so I decided to use pthread to create three separate threads that would wait for connections, then spawn new threads to handle them.
The problem is that when I do this, for some reason the program never enters the wait loop and instead terminates (All three threads did get created since the messages get printed properly.) It gets to the line which prints "???", but not the line after the accept() call.I don't see an open port when I check for one either so I'm 99% sure they're terminating.Basically I have a main() method which has three calls to pthread_create, which should result in three threads being run that all wait for connections (listenOnPort). After each thread creation I print some info to make sure it's actually being created.
By the way, when I just run listenOnPortwithout threading, the server appears to enter the loop correctly and seems to be waiting for requests. It's only when I run the functions as threads that the problem seems to happen.The source is attached below. Any help will be appreciated. Much of the code is borrowed from a website (I can't post it because I am new here.) You need not worry about the handler_ methods because those are just methods that are run by the threads themselves.
Also--the original source was in C and I changed it to C++. Should I just use C?
server.h Code: /*
* server.h
[code]....
I have an old PC (130mb RAM, 6gb hard drive).
I installed a command-line version of Ubuntu 10.04 using the Alternate CD. The machine was wiped, and I used most of the default settings.
I used a thirteen character user id which consisted of mixed case letters and numbers, and an eighteen character password that contains mixed case letters and numbers and a # sign.
When I rebooted, the command-line login would not accept my password. I assumed I had somehow made a mistake, and just wiped the machine again and reinstalled. This time I was very careful with the user name/pw.
Again, the command-line login did not accept my password!
On a hunch, I took an old Ubuntu 7.10 Alternate CD and erased the machine again. I installed a command-line version of Ubuntu. AGAIN --- it will not accept my password even though I'm 100% sure it is correct.
I have recently installed MySQL Server on my CentOS box.
CentOS 5 MySQL 5.0.45 (installed using 'yum install mysql-server') I can start the daemon without error by issueing the following command: service mysqld start
The problem is that I want to use a number of the command line options available to mysqld, such as --verbose and When I issue '/etc/init.d/mysqld --verbose --help' I get the following output:
[Code]...
Why does ping see audit.median.hu as 127.0.0.0, and why does host -t a audit.median.hu see it as 193.68.35.149? audit.median.hu is just an example site [hosts ads, etc.]
I just have a caching nameserver on my Fedora PC:
I configured my DNS server addresses in the Network-Manager Applet: 127.0.0.1, 8.8.8.8
Even with Wireshark, I can see it:
So the big question: Why don't the host command or my web browser recognize that I have modified audit.median.hus IP address?
Recently I've updated from 13 to 14. However, after updated I've tried to work with my terminal and it seems doesn't works fine. I can read 'starting terminal' but after that it's closed.I've uninstalled and re-installed it through the graphical tools (gnome-terminal) but that doesn't works fine.
View 3 Replies View RelatedWhat is the command for "Open a terminal window and run application in this terminal
View 4 Replies View RelatedIs it possible to make terminal (xfce4-terminal) transparent from bash script?
Maybe by enabling compostion?
I was trying to edit a file requiring root permissions, so I used sudo. I typed the root password and it failed. This happened three times, and the process was ended. I then logged in as root (su) and was able to navigate to the file and make changes as root. Am I missing something? How would I edit the sudoers file such that this password would work? Or is there another way to log in to the sudo group to make these changes? How do I set sudo passwords?
View 1 Replies View Relatedhow to pass something more than a one-command startup for gnome-terminal. I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
[code]....
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
I am using openSUSE 10.3.When I install software from tarball then to record time required I send output of date to beg.txt(when installation begins) and end.txt (when installation finishes).How can I append output of date to a file so I don't need two files?
View 4 Replies View RelatedI am trying to learn how to pass more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
Code:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
${0##*/} [-x] [-g]
code....
However, running with the -g option to invoke gnome-terminal, I get a "There was an error creating the child process for this terminal" error.
This same error occurs if the gnome-terminal line is changed to
Code:
gnome-terminal -e mcTerm
Is there any way to pass more than one command on to gnome-terminal? I have tried various single and double quoting senarios and in a final attempt, I abstracted to an exported function all to no avail. Perhaps even though gnome-term is better at many things than xterm, xterm trumps it in this instance.
I want to run a linux command with apache through web browser and that's is not working. and it's working properly when I execute this command through terminal, where is the problem?
NOTE: apache have the privileges to execute the command
I'm having trouble with the rc.local file. So I tried the suggestions on this page[URL]I could run the script ok through the terminal. But it doesn't run on startup. Has anyone got this to work in the way explained in the link above? I'm using Ubuntu Lucid.
View 2 Replies View Relatedtrying to use the dd command from terminal but having a problem cant get the vertical line needed in the command ( | ) ( did this one from character map ) in a winhosed system
View 3 Replies View RelatedI've already install the GTK+ library development files (libgtk2.0-dev) but I don't understand the following instructions:Then to compile the Equinox engine, extract the corresponding archive in your home folder. In the new directory, run the following commands: ./configure --prefix=/usr --enable-animationmakeWhat is the corresponding archive? Where do I run the command? On the terminal?
View 1 Replies View RelatedI know how to make things run at startup, and obviously know how to run a command in terminal (type and enter... duhhhh). However I would like to be able to run vnstat in terminal when my computer logs in, this is very handy for seeing how much I have downloaded. I have a terminal embedded on the desktop and would very much like to run vnstat in it for me when it starts, I know I could just type in vnstat when I've logged on, but where is the fun in that? Just having it already there for me would be far better.
The command for starting my desktop terminal is as follows:
Code:
gnome-terminal --window-with-profile=trans --geometry 90x40+280+30
I want to add an item to my start up... I went to start up and hit add. I want my conky to start up... I need a terminal and the code conky that should start it how do you get a terminal command in start up.?
View 2 Replies View RelatedUbuntu won't let me use the sudo command in terminal. If I try, sudo: must be setuid root pops up. Also, if I try any tasks that require permission, the authentication box pops up and then disappears within one second.
View 9 Replies View RelatedI know this has been asked a 1000 times, but none of the solutions I've read so far work.I need to run the following terminal command every time Ubuntu (10.04 64bit) starts:Code:xset m 9 1This boosts mouse speed to maximum. I don't know why, but it is the only thing that works. All built-in mouse settings are at maximum, yet my mouse crawls across the screen when Ubu starts. So far, I have tried:Creating a startup script called "/etc/init.d/autorun.sh" containing code...
View 9 Replies View Related