Ubuntu :: Dies (or Freezes) Too Often On Command Line Input?

Jan 31, 2011

It has been happening to me since I started to use this laptop from the company for a linux test bed. Several times a day, when I do something from the command line, for example running an application connecting to another host on the internet, etc,it comes to a freeze and does not come out of it. I can not do anything else than a forced reboot from the power button, because the keyboard and the mouse do not respond. This work laptop is a lenovo W500, running on ubuntu jaunty, release 9.04. I have not encountered this problem before with my personal laptop though. My person laptop is a lenovo X61s, running on ubuntu karmic, release 9.10Should I reinstall the work laptop with some other version of ubuntu? Could it be some hardware problem ? What tools should I use to diagnose

View 2 Replies


ADVERTISEMENT

General :: Can't Input Password In Command Line (ubuntu)?

Sep 19, 2010

When Linux ask for my password in command line,my keyboard becomes unresponsive just for that moment or let me put it this way,until i need to write my password my keyboard is unresponsive,but for all other things is fine.or for example,i can input my password when i have a graphic interface but i can't with command line or i can't login to my computer from command lineexcuse me if my question is doll,i moved from windows to ubuntu just lastweek,( & i am flying high in sky with ubuntu & digging a very deep hole for windows too!!.)

View 2 Replies View Related

Ubuntu Multimedia :: Audio With Recordmydesktop - Input Source From The Command Line?

Jun 17, 2011

I'm using recordmydesktop for screencasts and currently use pavucontrol to select the monitor as the input source, as shown in many guides across the Internet, but I can't find anything on how to do it from the command line. How can I select a monitor as the audio input source for recordmydesktop from the command line?

View 1 Replies View Related

Programming :: Running Gcov When Executable Has Command Line Input Options

Mar 3, 2011

I have an executable with input options, like so:
Code:
./executable -n 42 -s 42
I've added gcov to the makefiles (compiling with --coverage, -fprofile-arcs, and -ftest-coverage, and linking with -lgcov). It builds fine and creates executable.gcno.

When I try to run gcov, gcov things the options belong to it:
Code:
$ gcov ./executable -n 42 -s 42
gcov: invalid option -- 's'
Usage: gcov [OPTION]... SOURCEFILE...
When I use quotes this happens:

Code:
$ gcov './executable -n 42 -s 42'
executable -n 42 -s 42.gcno:cannot open graph file

The command line options must remain. How can I get gcov to generate the same .gcno file it later looks for?

View 2 Replies View Related

Programming :: Perl - Way To Encrypt Command-line Input When User Enter A Password ?

Nov 4, 2010

I need user to input a password through command line in Windows cmd prompt. Is there a way to encrypt the input (such as put it into ......) when user is typing ?

View 2 Replies View Related

Ubuntu Multimedia :: Change The From Mic Input To Line Input?

May 1, 2010

I installed Lucid. I used to have Ubuntu 9.10 and to connect my iPod to my laptop's speakers. There was an option in 9.10 in the Sound Options to change the Mic Input into a Line Input. But now unfortunately I can't find it in Lucid have only 2 audio ports in the laptop: Headphone port, Mic port.

View 9 Replies View Related

Ubuntu :: System Dies - Monitor Emits Flashing Line Pattern?

Jul 7, 2010

I have installed Ubuntu 10.04 on a Dell Dimension 2350/ 2Ghz P4/ 1.5GB memory.After running for up to 10mins the system dies and the monitor alternates between black & a half-screen display of vertical black & white bars every second or so (first the top half then the bottom half of the screen). The unit has the standard Intel onboard graphics chip.The same happens with Ubuntu Studio & Xubuntu yet Mepis 8.5 & Fedora 13 run without problem.It's a standard installation of Ubuntu & all updates have been applied.

View 4 Replies View Related

General :: Login Window Dies When User Authentication Dies

Mar 8, 2011

Am trying to set up a new system but am getting some strange behavoir. I've administered an Irix system before. I have opensuse 11.3 installed with gnome running. When i enter a bad user id in the windows login screen, the bad authentication causes the x window manager to crash and leaves the system in the ascii terminal mode login. I then have to login as root and do an init 3 , then init 5 to get the x server started again an get the windows login started. Has any one seen this behavior before and how can i fix this. Been hunting through /etc/X11/xdm to see what startup scripts could be causing this.

View 2 Replies View Related

General :: Scripting - Feed An Input File Into An If Statement Line-by-line

Dec 23, 2009

I am trying to write a script that takes an input file ($FileName) and an intermediate file ($FileName.info) and removes lines from $FileName if the value in $2 of $FileName.info is <75.

I can't figure out how to feed only one line of the .info file to the if statement at a time so that it will perceive it as an integer instead of a list.

The error I am getting now is ./script.sh: line 6: [: : integer expression expected

Sample input $FileName

Code:

Code:

Code:

Script so far:

Code:

View 10 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

Programming :: Awk - Input From One Line - Execute Program - Input From Next Line - Execute Program

Sep 25, 2010

I have a file with two fields of numbers that I want to use as input for another program.

Code:

The above code does not work, as I think it would take the whole first and second fields as the input for one particular instance of the program 'inputbashangle'. What I want is to get the first two numbers from the first line of the file 'outfailtest', execute 'inputbashangle' with them, then move on to the first two numbers of the second line for all the lines of 'outfailtest'.

View 9 Replies View Related

Ubuntu :: Random Freezes And Responds No Input In 10.10?

Mar 10, 2011

i am, many people out there using Ubuntu 10.10 (or 10.4) have been experiencing seemingly random freezes. Whereby the system freezes and responds to absolutely no input. If you have been having a similar issue perhaps you could post in this thread and we could try and establish some commonalities. Perhaps its hardware, software, drivers or some combination. I have a Dell Inspiron 1300, with a Pentium M 2.10ghz CPU. I have experienced freezes with and without Compiz running and even in Openbox sessions.

View 9 Replies View Related

General :: Redirecting Command Output To Input Of Another Command?

Jul 2, 2011

I want to run gsettings list-schemas (which return a list of about 100 names separated by spaces)and somehow direct each name one at a time as the input to this command:gsettings list-recursivelyI've tried it with awk, and standard | piping and also as a string variable strvar=$(gsettings list-schemas) and using the $strvar as the input butam missing something in between I'm sure like for - while or proper syntax of awk etc

View 3 Replies View Related

Ubuntu :: Boot ... Freezes And Stops Responding To Keyboard Input - Dodgy Package To Blame?

Jul 26, 2011

My trusty 11.04 x64 Ubuntu desktop machine stopped booting up properly about 2 weeks ago - it goes through Grub and into Plymouth, but then freezes and stops responding to keyboard input either on a dark purple screen, or less often the same but with the Ubuntu logo and the 5 boot progress circles but with none of them lit up. I can hit escape early on after grub and see initialisation reports showing everything successful (other than a fail on "Automatic crash report generation") - up to a line saying "Stopping System V runlevel compatibility [OK]", at which point it freezes.

Going into recovery mode allows me to fsck the disk (which is fine, and smartctl reports all attributes as fine), fix packages (which I have done a number of times, to no avail) and boot into safe graphical mode, which works fine, albeit only on one monitor and with very poor graphics performance, obviously. As the machine was borked and everything was backed up on my fileserver anyway, I decided to nuke it and give Fedora a go (I've been using Ubuntu since Feisty and it was a good time to try something else). Fedora was fine (and worked with the default nouveau driver), but I didn't like it, so after less than 24 hours away from the fold I decided to come back to Ubuntu.

At least a reinstall should fix the problem with booting, right? Wrong! The live CD worked fine, installed perfectly, and the machine behaved itself upon first reboot - at which point I ran apt-get dist-upgrade, restarted, and blam - right back where I started. Updated vanilla Ubuntu 11.04 will not boot. Has Ubuntu released a dodgy package that has broken my x server? I don't want to have to go back to 10.10 -

[Code]...

View 2 Replies View Related

Ubuntu :: Bash Script For Each Line Of Input?

Jul 21, 2011

I've written my script so that it reads in the variables $1 $2 $3 $3....$12I have an input file as follows

word1 1 1 2 3 4 5
word2 1 1 2 3 4 5 6
word3 1 1 2 3 4

[code]...

View 9 Replies View Related

Ubuntu Multimedia :: Switch From Audio Input From Mic To Line On 9.10?

Feb 28, 2010

I wanted to take an audio feed from a stereo amplifier into my HP Pavilion DV6 laptop, in order to digitally record some old vinyl.

In the Sound Preferences tab, I seemed to be able to record easily from the internal mic, but there seemed to be no easy way to switch the preferences to enable recording from the Line In socket on the laptop.

We tried muting the mic, this only caused the system to record nothing. We also tried all the various available options in "the Hardware Profiles" tab, "Settings for the available device", but no the laptop seemed to be getting no "line in" input with whatever profile we tried.

On Mac, it was as simple as switching the input sound preferences from "internal mic" to "line in".

View 4 Replies View Related

General :: Capturing From Line One Input?

Apr 23, 2011

On my first card of ALSA (alsamixer -c 0) I would need to record the Line only.

View 1 Replies View Related

Software :: Use Command Line To Split A Single-lined XML Into A Multi-line XML?

Dec 9, 2010

I have a many text files that have XML tags all shoved into 1 line. I want to create a new file that splits each XML tag onto a new line. code...

View 3 Replies View Related

General :: Command Line Way To View A Line Of A File With Context?

Feb 24, 2011

I'd like show a certain line or lines of a file with context, kind of like a unified diff, on the command line in Linux:

$ (something) -l 154 stuff.py
150: def foo(bar):
151: """

[code]....

View 5 Replies View Related

General :: Printing Command Line History Without Line Numbers?

Aug 22, 2011

How can I print Linux command line history without including the line numbers? I want to send it all to a text file like this:history >> history.txt

View 1 Replies View Related

Programming :: Read Each Line Of A File As Input?

Jun 21, 2011

I'm writing a program which now accepts user input:

Code:
echo "Enter a date in the format YYYY MM DD hh mm ss."

read gregyr gregmo gregdy greghr gregmn gregsc This lets the user input a date and time, such as 2011 06 21 15 12 45, and have each number assigned to their corresponding variable. Later in the program, these variables are put into an equation, and then the terminal spits out the answer. Now I have to have the program read all of the lines from a text file, which is in this format, assign the variables.

View 7 Replies View Related

Debian :: Redirect Output Sound To Input (mic Or Line-in)

Jan 22, 2011

I want to compare the quality of a sound file (voice) before and after its transmission via a softphone (sjphone in my case). For this, i need to redirect the sound played, to the sound input (microphone or line-in).

View 1 Replies View Related

General :: Ubuntu 10.10 And Command Line Scripts - Error - Android: Command Not Found

Mar 26, 2011

I know my way around MS Windows much better, but I just don't feel right trying to program something for Android on a Microsoft operating system. I am interested in Android programming so I followed the instructions on [URL] to install the environment on my computer...

I just installed the JDK, SDK, Eclipse successfully (or I assume):

* When I get to Step 4 where I'm supposed to run 'android' it will not run. I get the error message "android: command not found" (I am definitely in the right directory).

** When I double-click it in nautilus, it opens up in gedit. I can set the permissions in nautilus (through the properties - Allow executing file as a program) and get it to work,

My system:

Intel i7
Ubuntu 10.10 Maverick Meerkat
android-sdk-linux-x86
eclipse 3.6.2

View 5 Replies View Related

OpenSUSE Multimedia :: Cannot Capture Sound From Line In Input In 11.4 (no Pulseadio)?

May 18, 2011

I have been searching for an answer through most of the recent posts about sound issues but have not been able to find a solution. I am currently unable to capture sound from the "Line" input on my sound card. I do have sound and is working correctly for all applications and I do have P/A disabled (I'm not a huge fan of the sound quality with P/A enabled). I have checked and re-checked many settings but to no avail have not been able to capture sound. I'm sure I may be missing something or have not done something in order for this to work. I was using openSUSE 11.4 on a different pc and had no problems, unfortunately this is a different pc with a different sound card which is on-board so I am not entirely familiar with it yet.

It is a C-media CMI9880 which shows up as a Intel HDA (ICH6) and appears to be configured correctly.

View 9 Replies View Related

Programming :: Take A Single Line Of Input From User In Shell Script?

Mar 10, 2011

How do i take a single line of input from the user in a shell script?

View 3 Replies View Related

Ubuntu :: Is Command Line Invocation Of Gnome-terminal To Run More Than One Command

Feb 17, 2010

how 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.

View 1 Replies View Related

General :: Create A Single Line Of Output From Multiple Variable Lines Of Input

Feb 3, 2010

I need to create a single line of output from multiple and variable lines of input in a Linux bash shell script.

My input file looks like this:

Where there may be any number of umsecondaryphonenumber lines; if there is not a umsecondaryphonenumber line for a telephonenumber, I don't want to write any output.

So, the output file should look like:

The script I have so far is:

My question is - how do print each of the elements of an array in one record - i.e. what do I put in place of howdoiprintarray?

View 2 Replies View Related

Programming :: Effect Of Using Eval To Execute A Command As Opposed To Writing It On The Command-line?

Jun 18, 2010

Code: cmd='date | wc'

$cmd If this script is executed, an error is generated. The reason written was that "The execution fails because the pipe is not expanded and is passed to date as an argument".What is meant by expansion of pipe. When we execute date | wc on the command line, it goes fine.then | is not treated as an argument. Why?

View 4 Replies View Related

General :: Access The Dbxml From The Command Line And It Returns Command Not Found?

Apr 30, 2011

I installed the Berkeley DB on the Ubuntu server and tried to access the dbxml from the command line and it returns command not found

path/to/dir/dbxml-2.5.16/install/bin$dbxml
-bash" dbxml: command not found

Can someone point me in the right direction

View 1 Replies View Related

Software :: Command Line: Chown Command Recursively On Invisible Directories?

Oct 25, 2010

I tried

Code:

chown -R owner:group *

which does not work on the invisible directories (why?). When I used ".*" as wildcard it changed all (visible) files including the parent directory (the one I was currently working in which is the "dot") . I can change the invisible directories owner and group using dophin but how is it done from the command line?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved