8
votes
3answers
27k views

Bash Sudo Command Not Found

I have set up a VM using turnkey linux redmine and I'm trying to SSH into the server to install some more items. It doesn't appear to be recognizing the sudo command. Every time I try to sudo ...
1
vote
1answer
2k views

Updating tar.gz daily only with changed files [duplicate]

Possible Duplicate: Add/update a file to an existing tar.gz archive? I have some game files I wish to update daily and they create a tar.gz of the folder, but instead of making a full ...
7
votes
4answers
2k views

GNU/Hurd vs. GNU/Linux

I was quite surprised to learn that the GNU project has an independent kernel of their own called Hurd. And there are mainstream distributions like Arch Hurd and Debian GNU/Hurd which uses it. Is ...
1
vote
2answers
962 views

How to boot xenomai on ubuntu 10.04?

I install xenomai by sudo apt-get install xenomai-* It installed dctrl-tools libxenomai-dev libxenomai1 linux-patch-xenomai xenomai-doc xenomai-runtime. But when I check /boot/grub/grub.cfg, it ...
10
votes
4answers
7k views

How to insert a new line after every second line?

sed/bash/wharever :D INPUT: sadf asdf yxcv cxv eqrt asdf OUTPUT: sadf asdf yxcv cxv eqrt asdf
7
votes
2answers
5k views

Why is sudo telling me my password is wrong?

I recently installed OpenBSD 4.9 in my computer, so I could learn a little bit about Unix-like operating systems. I added a new user to the system called bruno. Ok. When I use the 'sudo' command, it ...
3
votes
3answers
2k views

Arch Linux doesn't connect to a wireless network

I'm using Arch Linux on a Thinkpad machine. Everything was satisfactory but today I restarted my router and the machine doesn't connect. The router is fine (another machine and a cell phone connect to ...
2
votes
1answer
69 views

How do I proceed further when my reports of a improper functioning of a gnome component has not met with answers on the respective mailing list

I am unable to connect to internet using my modem. I followed instructions to seek help at http://live.gnome.org/NetworkManager/Debugging and posted on ...
6
votes
6answers
335 views

Understanding Linux executable formats and software distribution packages

This kind of question might've already been beaten to death. If so, I'm sorry for beating it some more. I am having trouble understanding Linux executable formats and software distribution packages. ...
1
vote
0answers
731 views

Can I use a Logitech M505 wireless mouse with Fedora?

It's a nice mouse, but Fedora 15 doesn't recognize it. In /proc/bus/input/devices, I see a "PS/2 Generic Mouse". I've tried booting into Fedora with the USB device still plugged in, and it hangs. I ...
3
votes
1answer
532 views

KVM: network partially lost for the host, guests are fine

I got KVM working fine on a Linux system, for quite some weeks. Then today something weird happened: suddenly the host (and the host only) lost some of its Internet access: it can still access the ...
5
votes
5answers
731 views

Cat with Headers and Line Numbers?

I have files like this $ cat trapetz x = 0:0.0001:7pi plot(x, sin(x).*cos(x)) Area = trapz(x, sin(x).*cos(x)) $ cat simpson f = inline(sin(x).*cos(x)); Area2 = quad(f, 0, 7pi, 1e-16) I want ...
6
votes
3answers
11k views

Wireless networking with CentOS

I'm running CentOS 5.7 x86 on my Vostro 1700 laptop which has an Intel Pro Wireless WiFi NIC (Intel Pro Wireless 3945 [iwl3945]). I'm a bit confused about how my Wireless connection (wlan0) is being ...
5
votes
3answers
365 views

Display Non-Zero Return Status in PS1

I want to include the return status in my prompt. (Easy add '$? ', right?) However, I only want the status returned (and trailing space) if non-zero. Example: sd ~ $ false 1 sd ~ $ true sd ~ $
4
votes
1answer
741 views

VLC surround to stereo problem

I noticed a problem with certain video files where speech volume component is just too low. I googled a bit and it seems that the problem is that it tries to play surround sound on stereo speakers and ...
-2
votes
1answer
354 views

Linux “rpl” command doesn't replace text [closed]

I'm using rpl program in linux to replace date( with pdate( in some files. But it says A Total of 0 matches replaced in 1 file searched. while grep output for date( is: ...
0
votes
1answer
271 views

How to open a GNOME 3 window from console?

in my GNOME 2 ubuntu i used to issue this command to open a new window to browse the files in some folder: nautilus ./ For example, i could go to a difficult location through the console, and when ...
0
votes
0answers
45 views

How to limit the disk space for any user? [duplicate]

Possible Duplicate: Managing disk space on servers I want to limit disk space for any specific user. Actually I need to do this for every user. I am building a Scientific Linux server and I ...
1
vote
1answer
300 views

Debian - Stripped down Automated Install Disc

I want to create a debian install disc that only installs the minimum software to get a web browser such as ice weasel to run in an x-windows environment. Question: How can I make an stripped down ...
2
votes
1answer
1k views

How to run Abinit via MPI?

I'm trying to run Abinit in parallel, since in sequential mode it takes too much time. I have followed all steps in the abinit tutorials to run it in parallel, and they say to use OpenMPI, but I ...
11
votes
2answers
23k views

Download using wget to a different directory than current directory

I need to use wget to download a file to the directory /var/cache/foobar/ (so, as an example, if I download stackexchange-site-list.txt, it'd be downloaded to ...
5
votes
2answers
159 views

What is the X desktop start up process / program hierarchy?

How do all the components that make up an "X desktop session" fit together? I've gone through http://en.wikipedia.org/wiki/X_Window_System , and I see that there are all sorts of components like X ...
2
votes
2answers
526 views

Function to evaluate variables in BASH

Given a variable name is there a function that will print its value? Often times I pass the name of a variable to a bash function and instead of doing the expansion while passing it I would like to ...
12
votes
3answers
7k views

Non-blocking buffered named pipe?

I'm looking for something I suspect doesn't exist: A non-blocking buffered named pipe (fifo) for use from the command line. Is there such a thing? Here's the use case: Suppose I have a process that's ...
1
vote
2answers
84 views

VIM: Create a function to generate several lines of buffer

I have about ninety configuration files that I need to add an almost identical block of additional code to, with only two instances of a single word differing each time. I would very much like to ...
3
votes
5answers
2k views

vi - how to join differents specific lines

I'm looking for a solution about a "paste" problem on vi/vim . How to join specific lines in a text file? I have a file like this: 15/10/2011 Revolution day 16/10/2011 About Rome - differents ...
1
vote
1answer
91 views

How can I list subversion's runtime configuration options?

Say I want to know the value of the global-ignores option. How can I find it out?
0
votes
1answer
943 views

Fedora 15 doesn't find wireless connection

I have Fedora 15 installed on a partition in a Dell laptop. The laptop reports wireless capability in a certain Intel Centrino family, and the drivers for all of these should be in the kernel, ...
4
votes
2answers
934 views

grep caret appears to have no effect

I was under the impression that a caret symbol means "beginning of the line" with Extended POSIX regular expressions. However, when I use it with grep it behaves unexpectedly. #grep --version GNU ...
2
votes
0answers
185 views

What are the current differences between tuxonice and µswsusp?

I tried to find out what is the current comparation between TOI and µswsusp. Unfortunately I could not find any recent information about the state of hibernation in Linux and how TOI compares to ...
1
vote
2answers
346 views

Burning a directory structure from a stdin pipe

I'm trying to do something tricky, I want to burn a directory structure onto a CD from a pipe stream. The reason is that it is coming from the network and I don't want it written on the hard drive of ...
5
votes
3answers
25k views

Set a network range in the no_proxy environment variable

I'm in a network using a proxy. I've got machines using lots of scripts here and there accessing each other over HTTP. The network is 10.0.0.0/8. My proxy is 10.1.1.1:81, so I set it up accordingly: ...
3
votes
2answers
477 views

Measuring CPU and Memory per user to distribute “cost” of a server [closed]

How should I implement approximately correct per-user monitoring on a server? I want a way to split the cost of a server between the users based on their usage. On newer machines (RHEL6) I would use ...
1
vote
1answer
448 views

Gnome 3 gnome-control-center empty

I recently installed GNOME 3 on my Mint installation. I finally cracked under pressure from my friends to upgrade back to GNOME 3 (I actually went Unity > GNOME 3 > Mint) I've customized it to my ...
1
vote
4answers
6k views

Command to get cpu cores in LINUX IA64

I tried cat /proc/cpuinfo but there is no "cpu cores" it works on LINUX though cat /proc/cpuinfo | grep "cpu cores" Help me get a command for "cpu cores" in LINUX IA64
4
votes
1answer
1k views

Which order does find command use to print out

What order does the find command use to print out a list of files? Is this order different across different Linux distributions or versions?
8
votes
7answers
3k views

Why is Unix still used if Linux is based off of it, and Linux is free?

Also, it seems that Linux has a much friendlier user interface. Has Unix been trying to "keep up"?
2
votes
1answer
897 views

What does the syntax of these echo commands mean?

I tried to use a copied script, which includes the following command echo "rc $2" > $WORKDIR/out.dat I can guess it tries to output some contents to file out.dat. But what does rc $2 mean? It ...
2
votes
1answer
1k views

How to configure a catch-all CNAME on Ubuntu Linux using BIND 9

I'm trying to set up APE server on my local system. I'm using Ubuntu and BIND and I need to set up a catch-all CNAME record. What would be required for this?
3
votes
3answers
9k views

How to find processor speed on Linux w/throttling

My /proc/cpuinfo says my processor is 800Mhz, when I know the thing is actually 2.8Ghz. This is due to idle throttling where the cpu clock is slowed when idle to save power. Is there a way in Linux ...
2
votes
1answer
3k views

Authenticating with x11vnc: what's the difference between -auth and -rfbauth?

I'm on xubuntu 11.10 trying to setup x11vnc server. I followed instructions here and I can connect to VNC server - but it never asks me for password! Is there a difference between these 2 options: ...
9
votes
2answers
18k views

How to alter PATH within bash script?

I have several projects that require me to change versions of Java/Grails/Maven. I'm trying to handle this with some Bash scripts that would make the changes. For example: #!/bin/sh export ...
2
votes
2answers
32 views

Why would cvs check in a diff instead of a file?

I did a checkout recently, and one of the files was not the file that I checked in, but rather it was a diff of that file and the previous version. Is cvs known for this kind of error?
7
votes
3answers
547 views

vim regex not need \ to escape

In Vim is there an option to write regexs in the same style as Awk for example/sp\{0,\}/ Would be /sp{0,}/
1
vote
1answer
75 views

Can I use tail with a file both as input and destination?

I have a log file that gets big fast. I tried using tail with this syntax but it didn't work. tail logfile.log -n 100000 > logfile.log The output file is 0 bytes and blank. What am I doing ...
3
votes
1answer
2k views

Why am I getting a Non-existent class error in PHP on Fedora?

I've set up an Nginx/PHP (both installed from Yum) environment on my Fedora 15 install, but I've run into a strange issue. I have some projects that use Codeigniter (1.6), but they keep getting the ...
1
vote
1answer
636 views

Every time I restart my computer I need to restart Bluetooth service, how can I fix this?

Every time I turn on, restart or wake up my notebook or I have to restart my Bluetooth service in order for me to use it. But once I restart the service everything is fine. How can I delay the start ...
3
votes
1answer
1k views

Command for swap info in HPUX itanium and HPUX PARISC?

I need to get commands for swap information in HPUX (both Itanium and PARISC) somebody please help.
7
votes
2answers
12k views

Is there a command which will force Linux to flush cache of one file on an NFS share?

Related to this question on StackOverflow, I am wondering if there is a way for me to flush the NFS cache / force Linux to see the most up-to-date copy of a file that's on an NFS share. I have a ...
3
votes
1answer
1k views

How to enable nagios user created by yum to use check_by_ssh

I've used yum install nagios on an Amazon Linux instance, and it created a nagios user with shell /sbin/nologin and homedir /var/spool/nagios. This is the behaviour on EC2. I want to use check_by_ssh ...

15 30 50 per page