1
vote
3answers
754 views

NFS server dropped connection momentarily, now df, ls, and umount all hang

I have this fstab entry: machine.local:/srv/files /res/files nfs defaults 0 0 It was working great until machine.local dropped the connection momentarily. Now, the share isn't accessible. df, ...
0
votes
2answers
1k views

Run mysqld_safe in background

I have a bash script that installs mysql for me. One line, that executes mysqld_safe, makes the script to hang - it won't continue to the following code. Obviously there's ampersand at line's end, ...
2
votes
1answer
203 views

Playing around with shortcuts and window sizes with awesome WM

I've been trying awesome WM for a few months now and i am really enjoying it. I am now playing around with the rc.lua file, and I'm searching for a way to do two things. With the shortcut mod4+Enter ...
4
votes
2answers
3k views

Relationship between cc1 and gcc?

I'm trying to install Ruby in my home directory on a Linux server (without root access), which of course requires using gcc. The closest thing I can find is a directory by that name which (if you go ...
1
vote
1answer
301 views

What are the right settings for Ubuntu Touch under qemu?

As you can see here, Canonical is releasing the images for Ubuntu touch, the problem is that apparently those are snapshots from a complete installation, there is no installer here and no vmlinuz + ...
-3
votes
2answers
86 views

Find the location of /gnu [closed]

I'm working on my university server and trying to find the location of /gnu. I know that it is installed with the latest version as I get the correct version using:g++ --version On using find find ...
17
votes
2answers
937 views

Prompt for password during boot with systemd service

This is relevant to Arch Linux (and perhaps other distributions using systemd). I want to mount a TrueCrypt partition at boot. With the old sysvinit, this was pretty straight forward with a script ...
1
vote
2answers
683 views

How do I kill 'repo sync' using crontab given it spawns many processes?

I need to 'repo sync' the Android source overnight, as my monthly bandwidth is limited. , I start the 'repo sync' at midnight, then want to kill it at 8am. The following is the command: 2 0 * * * ...
1
vote
1answer
629 views

Setting up tty ports on Beaglebone Black with Angstrom linux

I'm using a Beaglebone Black running the Angstrom v2012.12 build that came pre-loaded. I want to be able to connect another device to a serial port via the UART connections on the GPIO headers. The ...
0
votes
0answers
31 views

Spurious “command not found” [duplicate]

I am in the process of trying to build and install pjsua on my embedded board running linux with a kernel which is a variant of 2.6.18.. The board is booted via nfs from my filesystem. I have built ...
1
vote
0answers
335 views

service command: Failed to issue method call

I downloaded the source of tinyproxy and then use ./configure make make install to install it Then I want to start it, but get errors, like the following: [root@kitty tinyproxy-1.8.3]# service ...
2
votes
1answer
75 views

Get Install File for Already Installed RPM

I would like to install this custom package, packageA, onto another Linux box. $yum list installed | grep packageA packageA.x86_64 But, I don't have access to the installation file, i.e. packageA ...
-1
votes
2answers
62 views

Mail ID creation

I have a Linux box in which squirrel client installed for mail configuration. There are 100 employees whose mail id's are running on this.I have grouped 25 employees each to make a group and gave an ...
4
votes
2answers
971 views

Can I stop Linux from listening to a USB input device as a keyboard, but still capture events with a program?

I have a USB barcode scanner at /dev/input/event0 (/dev/input/by-id/usb-Metrologic_Metrologic_Scanner-event-kbd), and scanning a barcode causes it to send keypress events. I'm capturing these ...
2
votes
2answers
367 views

shell script options pass through to sub-command

I'm writing a wrapper script for that uses getopts to set various options for mysqldump. It's working well so far. However one thing I would like to do is be able to add another option in my shell ...
0
votes
3answers
343 views

using find, exec, sed to manipulate strings as args to another program

I can use find like this find -type f -path "./src*" -name "*.php" to find a list of files. For example ./src/Superuseradmin/Model/Mapper/UUID.php What I need to do is manipulate each string in the ...
-1
votes
2answers
304 views

Checking the Speed of Active Network Connections

In Ubuntu 12.04 LTS, there is a window called "Active Network Connections", and in there is a label called Speed. How can I get Ubuntu to do a speed check? I know of websites I can use to check the ...
0
votes
1answer
2k views

fopen: $JOHN/dynamic.conf: No such file or directory

I have an unshadowed db.txt file: [root@SERVER ~]# rpm -qa | grep -i john john-1.7.9-1.el6.rf.x86_64 [root@SERVER ~]# head -1 /etc/issue Scientific Linux release 6.3 (Carbon) [root@SERVER ~]# cat ...
0
votes
1answer
275 views

where to (apt-get) install aliases system-wide?

I am making a Debian package that contains bash aliases. Where should these aliases be installed, so that they are available system-wide? The "right" place would be /etc/bash.bashrc, but this file ...
0
votes
1answer
87 views

What is the common name for directories . (dot) and .. (dot dot)? [closed]

The . (dot) and .. (dot dot) exist in every directory (and probably in every OS). As we all know (or at least should): . (dot) is the current directory .. (dot dot) is the parent directory Is ...
5
votes
2answers
202 views

Externaly limiting number of CPU cores used

I need to externally limit a process/session to a certain number of cores. Are there any other possibilities than CPU affinity (I don't like the need to specify the actual cores) and cgroups (hard to ...
1
vote
1answer
3k views

Changing permissions on an NFS mount + sharing directories with a guest VM

I'm building a development environment where folders from a host environment (OSX) are mounted in VirtualBox VMs running Ubuntu guests. Our experience is that straightforward VirtualBox shared ...
2
votes
1answer
365 views

Can I combine two “keybinds” into one in Openbox?

I'm using Lubuntu 13.04 with its default window manager, Openbox. Is there a way to edit ~/.config/openbox/lubuntu-rc.xml to combine the following two "keybinds" in the "keyboard" section into one? ...
0
votes
1answer
827 views

How to customize vertical panel in cinnamon menu?

I want to edit highlited area: for example, change firefox with chromium or remove any item. Menu editor can change only right part of menu, changing default application has no effect on this panel. ...
0
votes
1answer
138 views

Unable to delete a directory even as root

I am unable to delete a directory even as root. The command rm -rf kdyiyv.pif returns nothing. Then I tried the command, touch kdyiyv.pif for which there was an error: touch: setting times of ...
0
votes
1answer
107 views

simple hostname resolution on LAN [duplicate]

I read this question How to make a machine accessible from the LAN using its hostname What is the simplest way to enable a LAN of Linux hosts to identify each other by hostname? Obviously each host ...
0
votes
1answer
4k views

Lock to launcher/Pin to taskbar in Debian Wheezy/Gnome (was possible in Squeeze)

In Debian Squeeze, if I right clicked on something in the Applications menu I could lock it to the top bar. I upgraded to Debian Wheezy and now if I right click it just opens the program. I'm using ...
9
votes
4answers
3k views

32-bit, 64-bit CPU op-mode on Linux

I'm confused. Running Fedora Linux, lscpu yields: Architecture: i686 CPU op-mode(s): 32-bit, 64-bit ... But when I try to install a 64-bit program (Chrome) I get error like: ...
3
votes
3answers
276 views

Transfer a TCP connection from one Linux box to another behind NAT?

While experiencing an extremely slow download rate on one of my HTTP connections, I thought it'd be nice if I could just transfer the connection from my PC to an energy-saving home server that shares ...
1
vote
1answer
73 views

Specifying a dependency of a version greater than N and less than M

Is it possible to specify the dependency of another library that is within a specific range of versions? Like: Depends: Lib (<= 4) -- dependency of a library that has version less or equal to 4 ...
3
votes
2answers
95 views

Vim global search in a project

I started using vim two weeks ago switching from sublime and I am a ruby developer I know for a fact that Ack and Ag work very good on a Mac while they're not optimized for my Ubuntu machine. These ...
2
votes
1answer
265 views

Why don't the following commands work to limit traffic to port 21 using tc?

In my quest to find a way to limit outgoing bandwidth for a running instance of bitcoind, I came across this guide that explains how to rate limit traffic to a particular destination IP: tc qdisc add ...
4
votes
2answers
151 views

Is it possible to restrict certain commands from being run in a directory?

I have two directories: src and projects. I would like to prevent myself from running git ... unless I am specifically inside src or projects. Is this possible?
2
votes
3answers
669 views

How I can emulate a big endian platform on a x86?

I need to get a big endian platform to develop with gcc and g++, what is a solution for that? I know that the SPARC is one of those big endian architectures, but I have no idea what OSs can run on it ...
5
votes
2answers
6k views

How do I convert FLAC files to AAC (preferrably VBR 320k+)?

I back my CDs up to FLAC and then transcode to AAC (.m4a) files for portability on my android phone and the wife's iPhone. I had been using XLD on Mac and it does a great job but I'd rather not steal ...
0
votes
3answers
252 views

List of partition labels vs devices using dbus/udisks in bash

I have a problem where using dbus and udisks seems to be the best approach. So I invented a problem: create a table of labels and devices for each partition "installed" ala: "" /dev/sda1 ...
2
votes
5answers
855 views

Moving /etc to separate partition

How to put /etc on separate partition? Obviously i can't do that by editing /etc/fstab like i did with /home, because... it's in /etc. I want /etc and /home on one partition (sda7), and the rest on ...
-1
votes
2answers
1k views

What is “Ext'd (LBA)” in fdisk output?

This is my partition table. Output of fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 63 204796619 102398278+ 7 HPFS/NTFS/exFAT /dev/sda2 ...
0
votes
1answer
367 views

apt-get dist-upgrade wants to remove too much packages

I'm upgrading from Mint 13 to Mint 15 using apt-get dist-upgrade. It want to remove 277 packages, which I find quite a lot. Among those packages are acroread, xmlcopyeditor, wine1.4, skype and others. ...
0
votes
1answer
92 views

How to change title bar name color in KDE4 on Debian7?

How can I change the colour of the white text (title bar name?) marked as red to something else then white?
2
votes
1answer
134 views

Lock Parted Magic?

Is it possible to lock the Parted Magic screen so that others don't tamper with it while it's in the middle of long operations?
1
vote
1answer
481 views

HPUX: changing LVM paths or disk device names

Our installed HPUX system has a VG called "vg00" whose data was stored in partition "/dev/dsk/c3t5d0s2" Now that disk failed and we have an exact copy of that disk. However when we use the new disk, ...
3
votes
1answer
545 views

How can a non-root user check if a FS has been exported to a server?

Consider I am on server1 logged in as a non-root user. How do I check if a NAS FS has been exported onto the server SERVER1? I have already tried the below commands. bash-3.2$ dfshares SERVER1 nfs ...
1
vote
1answer
261 views

Creating a terminal device for interprocess communication

I'd like to know how to create a terminal device to simulate a piece of hardware connected through a serial port. Basically, tty device with a certain baud rate that can be read from and written to ...
3
votes
3answers
697 views

Preventing duplicate entried in PATH (.cshrc)

I have little experience with Linux, so I will appreciate some help. I need to prepend directories to the path variable in my .cshrc file and I want to make sure that the entries are not repeated when ...
4
votes
2answers
178 views

apt-get: install modified package with dependencies

I have downloaded a Debian package lxde, together with all its dependencies: apt-get install --no-install-recommends lxde --download-only So now, I have all packages in my /var/cache/apt/archives. ...
1
vote
2answers
422 views

Show “last login” information when “su”

I'm trying to configure the PAM modules working with su command. I want to su shows the "last login" information, as ssh or login do. I find, on /etc/pam.d/login a PAM module called pam_lastlog that ...
-2
votes
1answer
101 views

Perl only one option at a time [closed]

There is a requirement where I can't put two options at the same time. For instance with -a option: file.pl -a file.text # executes file But if I write file.pl -a -a file.text # it is ...
-2
votes
1answer
128 views

Get values in an XML File - Requirement : It must be done in bash/Unix [closed]

Sorry If this question has already been asked but I did not find my answer yet. Here is an extract of my XML file : <Value ProtectInMemory="True"> ...
1
vote
0answers
493 views

Why does my server not shutdown properly?

When I run $ reboot on my embedded FreeNAS 0.7 (FreeBSD 7.2) it does start the shut down procedure but seemingly hangs. I have registered a command to start a service script which is executed on ...

15 30 50 per page