3
votes
2answers
1k views

GNU Radio prerequisite libraries on armhf

After several attempts, I have managed to compile GNURadio on the Raspberry Pi. However, I am just not able to meet the prerequisites for the gnuradio build script on the Pandaboard (Linaro 12.04) or ...
30
votes
7answers
12k views

How to make bidirectional pipe between two programs?

Everyone knows how to make unidirectional pipe between two programs (bind stdout of first one and stdin of second one): first | second. But how to make bidirectional pipe, i.e. cross-bind stdin and ...
9
votes
2answers
2k views

Does using ctrl+c instead of esc to exit insert mode break anything in vi?

When using vi, you can exit insert mode with Ctrl + C instead of the more traditional Esc. Are there any situations where it would be undesirable to use for former instead of the latter? Does it break ...
5
votes
2answers
4k views

Set default sound card in Pulse Audio

I have two soundcards on my systems and pulseaudio always picks the wrong one. How do I set up the default soundcard in the pulse audio preferences?
2
votes
3answers
4k views

Remove yum repo using yum

I have no root access on my machine at work, but I have sudo permission to use sudo yum (and only yum). Recently I accidentally installed a faulty repository (dropbox), and now I'd like to remove it. ...
2
votes
2answers
2k views

ffmpeg and libvpx: error while loading shared libraries

When I run ffmpeg I get the following error: /usr/local/bin/ffmpeg: error while loading shared libraries: libvpx.so.1: cannot open shared object file: No such file or directory Output of ls -l ...
2
votes
1answer
892 views

Korn shell timeout/kill script

I am trying to write a simple Korn shell script to execute a loading process. The process occasionally runs into connectivity issues, so I need to kill it if it runs too long. I have been trying the ...
4
votes
0answers
3k views

How do I find out the device node corresponding to my device in SuSE 8?

I'm forced to work with a bunch of point-of-sale systems running SuSE 8. They are my client's computers. We are stuck dealing with these old systems until they get to upgrade their whole fleet to SLE ...
3
votes
1answer
2k views

Ctrl-Alt-F1 not working from X

I have a system running Debian 5.0 that doesn't respond to Ctrl-Alt-F# (1-6) Check if Ctrl, Alt, F1 and F2 are intercepted correctly... $ DISPLAY=:0 xwininfo xwininfo: Please select the window ...
3
votes
1answer
4k views

How to ensure that anonymous FTP has been disabled on a Solaris 10 system?

What line in which configuration files in the /etc/ftpd directory do I have to check to ensure that anonymous FTP has been disabled? From my understanding now, to ensure that anonymous FTP is ...
1
vote
2answers
205 views

How to monitor specific files in unix [duplicate]

Possible Duplicate: How to run a command when a directory’s contents are updated? Any one know how to monitor files in Unix. I want to take backup of that files when its modified and store ...
1
vote
0answers
105 views

How to make tcsh not insert whitespace in a command that spans multiple lines

Bash does not seem to insert whitespace but tcsh does. Tcsh bash-3.2.25$ tcsh -c 'echo $tcsh; echo A\ > B' 6.14.00 A B Bash bash-3.2.25$ bash -c 'echo A\ > B' AB How can I ask tcsh to not insert ...
5
votes
1answer
3k views

Samba passwords expiring in x days - how do we fix them to not expire

We use OpenLDAP and Samba v3. Recently some Samba-defined users (no accounts on the shared linux server) started being listed in logwatch as having their passwords come up to "will expire"...I ...
2
votes
1answer
4k views

How to add header and footer to the flat file

I need to add a header and a footer to flat file - I just need to get values from the parameter like system date and report run date in the top line and for the footer I need to get the record count ...
5
votes
1answer
275 views

Alphabetizing names in `ls` alias with .files not intermingled

I am currently using the following ls alias: alias ls='ls -alhGkpsq --color=auto'. This results in following directory listing. [03:35] bryson@brys ~ :$ ls total 48K 4.0K drwx------ 4 bryson 4.0K ...
4
votes
2answers
2k views

Getting linux webcam state via command line or API

I would, preferably, like to know of a command I can run that will let me know whether a webcam is on/off or recording/not recording, etc. Maybe a way to see if any programs are currently accessing it ...
0
votes
1answer
219 views

Fedora 15 Crash after xorg.conf file update

I updated my xorg.conf file looking to set up a dual screen system. Unfortunately, I can't provide you this file because when I went to reboot my system crashed. The last line I get when I try to ...
2
votes
2answers
4k views

Java version for Tomcat

I want to run my Tomcat with Java 7 but all I found about configuring it doesn't work. The management interface of Tomcat shows 1.6.0_24-b24 as Java version. The JAVA_HOME variable is empty. % echo ...
2
votes
1answer
202 views

Installing GNU Make on ChromeOS

Playing around with the new Chromebook, was trying to get Make working to the end of installing other software. However, can't seem to get Make anywhere near to install; ./configure doesn't generate ...
1
vote
1answer
1k views

Command line e-mailing [duplicate]

Possible Duplicate: How can I use the “mail” command? I have mutt configured for CLI e-mailing. All's golden with the "this one just sucks less" client but... I am now on a machine on ...
1
vote
0answers
67 views

Run a script (for an app GUI) when logged from NX but limit shell commands on terminal

I have a user which will be accessing an app GUI via NX NoMachine. I want to allow this user to execute the command to bring up the app GUI (done automatically by NX) BUT prevent him from executing ...
0
votes
1answer
706 views

After OpenSuse upgrade from 12.1 to 12.2 there is no sound

After OpenSuse 12.1 64bit upgrade to OpenSuse 12.2 their is no sound however test sound is played in KDE Phonon application. Under the root account sound is working normally.
7
votes
2answers
17k views

Sending function keys (F1-F12) over SSH

I have a Fedora machine that I can SSH to. One of the programs I'd like to use occasionally uses the function keys. The problem is that I'm SSH'ing from an Android tablet (ASUS Transformer Infinity) ...
3
votes
1answer
211 views

How do I choose between ext 3 and 4?

I tried looking at the difference, the main ones seem to be 4 supports more subdirectories in a file, supports larger files, has delayed write which I don't prefer as I don't want data loss. I also ...
2
votes
1answer
3k views

FreeNX closes display immediately after successful connect in OpenSUSE 12.2

Upgrading from a OpenSUSE 12.1 installation with a working FreeNX server, I hit an issue with the FreeNX server on OpenSUSE 12.2, running Gnome 3. Whenever I connect, I pass the dreaded connection ...
1
vote
0answers
357 views

How can I renew lease when it kept printing eth0 lease expired x seconds ago?

My guest VM cannot get an IP address from my host. It keeps printing: eth0: lease expired x seconds ago I've tried to start dhclient -r and dhclient and restart eth0 to no avail, see here for ...
3
votes
2answers
562 views

How do you automatically elevate an automatic task to root privileges or is there an alternative approach?

I'm trying to write, in essence, an automatic deployment script for use by our development team and I know I can set up SSH to use keys so that I can automatically authenticate via key instead of ...
0
votes
1answer
135 views

Cent OS 6.3 Hidden files in shell

I need help, I want to be able to check whether a file is hidden or not in Cent OS 6.3. These are often referred to as (dot) files but I can clearly see Cent OS 6.3 handling these by appending a ...
2
votes
0answers
78 views

Is it possible to modify the colors in bash? [duplicate]

Possible Duplicate: Is it possible to configure Bash so that STDERR can be a different color than STDOUT? In bash, the only color I know how to modify is the prompt, using \[ and \]. From ...
2
votes
2answers
3k views

Gnome 3.6.1 doesn't work with startx anymore, only with gdm

I normally prefer my system to boot in text mode and manually start Gnome with startx but if I do that with Gnome 3.6.1, I get many errors and a basically unusable operating system. After installing ...
1
vote
0answers
108 views

Running Tomcat MySQL and Apache under a group

I am trying to set up a web server at home using Ubuntu, but prefer my bash scripts to be platform agnostic hence why I am asking here. I also dislike apt-get everything. I am trying to create a ...
9
votes
3answers
3k views

Mark occurrences of keyword with a different color

I have a program which spits out an output to stdout like: [OK] Something is ok [OK] Something else is also ok [FAIL] This does not look good [FAIL] Neither does this [OK] At ...
2
votes
1answer
1k views

Can't delete symbolic links, permission denied

I try to delete all symbolic links pointing to Python3.2 with sudo ls -l . | grep '../Library/Frameworks/Python.framework/Versions/3.2' | awk '{print $9}' | xargs rm This just gives rm: 2to3: ...
4
votes
0answers
984 views

Debian Squeeze: connect to A2DP (bluetooth) through command line

I would like to turn my Lacie NAS into a A2DP bluetooth source, in order to stream audio to a bluetooth audio sink. The NAS runs Debian Squeeze in a chroot environment, and is connected to a Bluetooth ...
0
votes
2answers
300 views

Copy files from source machine to LiveCD

I'm working on distributing a version of Fedora to our internal development team using Live CD. There are certain files I would like to copy to the live cd that are not: part of an RPM or going to ...
0
votes
3answers
745 views

Unable to ssh out from my laptop

I'm unable to ssh from a particular machine, either from my Ubuntu 12.04 install or my Windows Vista install (using putty). I'm trying to ssh into a remote machine where I have an account, but I keep ...
1
vote
2answers
771 views

crontab and DST disagreement with different timezone

From a server hosted in Poland (UTC +01:00), is there a way I can consistently have a crontab entry run at 9am New York time (UTC -05:00)? For me this wasn't trivial since the daylight saving time ...
42
votes
1answer
89k views

How to determine the filesystem of an unmounted device? [duplicate]

Possible Duplicate: Find filesystem of a partition from a script How to show the filesystem type via the terminal? I'm looking for a command that yields the filesystem type as mount would ...
4
votes
1answer
305 views

show hostname in top

I'm using top with tmux to monitor the most-CPU-consuming processes on different computers. How can I get the hostname to be displayed in each pane? Can I tell top to display the hostname somehow?
1
vote
1answer
2k views

Using grep command and backreferencing

This is a pretty basic question, but I can't get my head around it. I'm learning Linux and one of the questions i've been given is; *The word sentimentalment includes the same three characters ...
3
votes
1answer
68 views

How to make sure a loopfile is only mounted once?

When mounting a filesystem image via mount -o loop, is there any mechanism to prevent the same file to be mounted a second time?
0
votes
1answer
3k views

Problem with using grep command with env variable containing special characters

I have a variable "abc" with value "xyz*!@#" in my unix account (ksh). I used export command to export this variable into the environment. When I use grep command as below env |grep xyz I get the ...
3
votes
2answers
86 views

Including Linux Mint when selling hardware?

I'm wondering if the GNU License allows me to include the install file of any Linux Mint release as I wish in hardware that I'm profiting from?
4
votes
2answers
3k views

Meaning of the yum error “Package tuple (…) could not be found in rpmdb”

I just want to install two packages in my Fedora 15 but I am getting some weird error. Command: yum install @development-tools Error: Loaded plugins: langpacks, presto, refresh-packagekit ...
1
vote
0answers
423 views

Set default Soundcard Centos

How do I set my default soundcard on Centos/Linux? I have two soundcards installed on my system and it always detects the wrong one, upon boot.
3
votes
1answer
9k views

Understanding ps elapsed time format for long running processes

I'm using a ps command as part of an exercise to identify processes running longer than a given threshold. I'm using the following template to get the elapsed time for a know process command: ps -eo ...
14
votes
3answers
18k views

Linux, disable /dev/fd0 (floppy)

Is it possible to make Linux kernel completely ignore the floppy disk controller? I do not have the drive but obviously my motherboard does contain the controller. I would like to disable the /dev/fd0 ...
1
vote
0answers
123 views

Naming process in init scripts

I'm trying to write an init script that will start a service that needs to have started postgresql server before. Bellow is the postgresql's init header: #!/bin/sh # # postgresql This is the init ...
15
votes
2answers
2k views

Copying files from command line to clipboard

In a GUI file manager it is possible to select a few files, press Ctrl-C (which supposedly copies come info about the files to clipboard), then navigate to another folder and press Ctrl-V, which will ...
3
votes
3answers
5k views

Can't mount drive in Thunar anymore

Today, I got a Not authorized to perform operation. message when I tried to mount a drive in Thunar. # cat /etc/polkit-1/localauthority/50-local.d/10-udiskie.pkla [Local Users] ...

15 30 50 per page