3
votes
2answers
2k views

Confusion about linking boost library while compilation

For a client I needed to add boost 1.54 to the system. So I downloaded the latest version (1.55) and built it within a special directory: /usr/local/lib/boost1.55/. This works. Then I had to adapt the ...
-2
votes
1answer
82 views

How large is the Linux kernel compared to Unix? [closed]

Not in just LOC (lines of code), but in storage size, as in bytes, megabytes, gigabytes, etc. Also, any sources where I can download the original-based Unix OS? Thanks!
2
votes
2answers
3k views

Static routes in route-eth0 ignored

Why might route-eth0 be ignored but route-eth1 not? Might be because eth0 is using DHCP and eth1 is statically-configured? I have some static routes configured in ...
0
votes
0answers
594 views

Connected to WiFi, no internet access - Linux Mint

I connect to a my AP and I get a message "Connect to ..." but I cant access the internet, nor ping anything exept my gateway. I tried changing the DNS Servers to google ones but with no use. Any ...
5
votes
2answers
783 views

Modifying a BTRFS filesystem UUID

I've made backups of my BTRFS filesystem using Clonezilla, and have restored one of those backups to a file named 2013-11-29.sda3.img. I need to get some files out of this backup, but there's a ...
0
votes
1answer
529 views

Mysterious automated emails

I remember messing around with crontab and setting up email capabilities on a server many months back, and now all of a sudden I'm getting the following email: EMAIL HEADER: from: root ...
3
votes
1answer
893 views

yaourt curl error: SSL connect error

I'm trying to install some packages form yaourt. For example : yaourt compiz But it gets me following error: [hamed@localhost ~]$ yaourt compiz curl error: SSL connect error Please tell me ...
1
vote
2answers
274 views

How do I recover an ext4 volume overwritten by an LVM logical volume?

I was running an Ubuntu desktop. The OS was installed on a SSD. I had two additional drives formatted ext4 and mounted on /storage (1TB) and /storage-bak (1.5TB). I installed Centos over Ubuntu on ...
2
votes
3answers
162 views

Linux freezes under high memory usage

When I start memory-intense processes (such as git gc in a repository with huge files), Linux starts becoming unresponsive after some time, at first the UI lags a little, then the mouse stops moving ...
4
votes
1answer
246 views

Presentation Tools Back In The Day

Which tools were around »back in the day« to aid presentation Unix/Linux environments? I just wondered how somebody would accomplish something like slides in a e.g. text-based environment or low-end ...
1
vote
0answers
516 views

GConf-WARNING **: Client failed to connect to the D-BUS daemon: Unable to autolaunch when setuid

I am encountering a strange error whenever I run certain commands, for example, sudo apt-get install ______ and I receive the following error: (process:28847): GConf-WARNING **: Client failed to ...
1
vote
2answers
2k views

Cannot upgrade Scientific Linux to version 6.5

I have been trying to figure out a way to get my Scientific Linux box to upgrade to version 6.5. It's currently 6.4 and everytime I perform a yum update I get an error message (see below!). Can anyone ...
0
votes
2answers
290 views

bash script, printing multiple lines that matching to a specific patern

I have a log file and I'm making a script to do some actions. An action is to print a specific area of the log. Every block at the log starts with a specific time stamp and inside the block may have ...
2
votes
2answers
266 views

Chromium with ~20 opened tabs freezes my laptop

As the title says, when I have about 20 opened tabs of Chromium I see the hard disk starts writing and everything start to freeze. I have to 'killall' Chromium. Previously I had installed ...
0
votes
2answers
242 views

How to backup /etc/{,g}shadow files with 0000 permission?

I am trying to backup several servers' /etc by using rsync from another server. Here's a relevant snippet: PRIVKEY=/path/to/private.key RSYNC_OPTS="--archive --inplace --no-whole-file --quiet" ssh -n ...
1
vote
2answers
2k views

How to access a private network behind a router? Can't port forward [duplicate]

I have a video surveillance system (a bunch of ip cameras, with private IPs) behind a router in a distant location. The only ISP that's available at that location has provided me with a 3G/4G USB ...
-1
votes
2answers
72 views

How can I delete a file on client?

After copying files from /home/foo/bar the original files on the client must be deleted, EXCEPT for file /home/foo/bar/special_file. This file must remain on the client. I want to delete all the files ...
4
votes
1answer
1k views

Set dynamic window title based on command input [duplicate]

I am looking for a way to dynamically set the urxvt window title based on the command input. Let's take an example. If I run mplayer http://66.197.229.245:8082 in an urxvt window, I would like the ...
5
votes
3answers
4k views

How to recover from desktop freeze without losing running windows?

Sometimes VirtualBox causes random freeze of my Mint 16 Cinnamon Desktop 64bit. I am not able to pinpoint what is actually wrong and even where to fill the bug report. But the life goes on and I ...
1
vote
1answer
445 views

Archlinux not configured with iptables

I have been trying to set up iptables on my archlinux server, however when I run iptables -nvL I receive the error iptables v1.4.20: can't initialize iptables table 'filter': Table does not exist ...
-2
votes
2answers
2k views

How to copy only the files of a folder(including subfolder's files), but not the folder itself in shell

In Openssh, On the client, the content of path/to/file must be copied to Server. All files in /path/to/file on the client must be copied to /path/to/files on the server. Note: only copy files, no ...
1
vote
2answers
766 views

Is NFS very secure? Secure alternatives [closed]

I know that there is a very similar question to that Is NFS Secure Over Internet, but I am asking a little bit different. I guess that NFS is not so secure, as I can learn from the internet and from ...
4
votes
3answers
881 views

Running Viber as another user while using “mine” X Server's microphine and speakers

I run Fedora with GNOME and recently installed Viber for linux. It's very good and all is working just fine. As Viber is not open-source software, I decided to run it as another user to make sure ...
5
votes
2answers
338 views

Create a computer lab using Linux [closed]

I would like to know, how I can create my own Linux lab, like the universities Linux labs. I mean OK, I can install for example Fedora to all my 4 PCs, but how I can login from different computers, ...
0
votes
0answers
480 views

Pressing Ctrl-X or F10 does not boot Linux

I am new to Linux and trying out different distros. However, my laptop has ATI GPU (Asus N56D) due to which many distros didn't boot successfully. After having google'd I found that I need to set ...
0
votes
2answers
2k views

Need IP for my Virtual Machine

I want to scp to my virtual machine (CentOS 6) from my Windows 8 machine. I have installed VMPlayer and installed CentOS 6 on my machine. I have enabled Bridged adapter setting, but I still can't see ...
1
vote
0answers
102 views

Map invalid file paths to valid file paths

I am running a program on linux which access an invalid location, say: /home/area/file. I know the valid location is /home/area/something_else/file. The problem is the input file for this program is ...
0
votes
1answer
170 views

Linking the `mail` and `sendmail` commands to Dovecot and Postfix

I have recently set up my mail server with Debian 7.2 (Wheezy), Dovecot, and Postfix, as described in this guide. This is all working fine, and I have installed and configured Roundcube and ...
0
votes
0answers
112 views

Issue with permissions with a USB flash drive

I am running xubuntu 13.04. When I insert a flash drive in my account, I can't save things to the flash drive or remove them from the flash drive. I am able to read from the flash drive. How can I ...
1
vote
1answer
332 views

How to handle live audio input, process, and redirect to audio output

I'm wondering how I can get audio input from a jack, process it sample by sample, then send the processed sample to an audio output jack. My plan is to run this on a raspberry pi with a USB soundcard ...
4
votes
3answers
277 views

cycle through one command's output and use in another command [duplicate]

How can I use the output of one command - line-by-line - into another command? I know how to do this with the | pipe symbol, but this uses the entire output in one command. I would like to go line by ...
3
votes
1answer
532 views

How do I tell if a program is printing to stderr or stdout in the terminal?

NOTE: a newline appears but od -c doesn't display it. My music player's status command (quodlibet --status | od -c) has three states, and I'm trying to write a conditional based on that output. The ...
1
vote
2answers
688 views

Mounting a partclone image

I'm having a really strange issue. I have backups of my machine in a local RAID array. They were created by Clonezilla, so I've created an actual filesystem image like so: cat ...
3
votes
1answer
48 views

Where are recognizers for media types stored and how to add one?

When one writes a html file, linux can state that the MIME-type is text/html. How is this handled? Where are the "recognizers" stored? How can one add a MIME type with with an implemented recognizer?
6
votes
1answer
103 views

Meaning of “:-” in bash [duplicate]

I have a bash code export TM_SCALAC=${TM_SCALAC:-scalac}. I'm not sure the meaning of ":-" inside the ${}. How do I interpret this line of bash code?
1
vote
1answer
1k views

Performance of RAID 1 with 3 Disks under Linux

The standard way to setup a RAID 1 under Linux is to use two disks of the same size. The write performance is almost as good as with a single disk drive. The read performance can be up to twice the ...
0
votes
1answer
191 views

Custom date format in emacs org-mode

I want to have something like "Dec 15, 2011" Emacs org-mode only lets me toggle between <11/29/13 Fri> and <2013-11-29 Fri>. Can anyone suggest a way to do this?
1
vote
0answers
54 views

Recovering GPG keys from a backup directory

I have a backup image mounted at /mnt. I need to recover (and revoke) a key in the secret keyring on this backup. How can I list keys and generate a revocation key for a key stored in this other ...
2
votes
2answers
511 views

mutt: conditional date format in “index_format”

I have following value set for index_format in mutt: "%Z %{%Y %b %e %H:%M} %?X?(%X)& ? %-22.22F %.100s %> %5c " which displays date in the format as 2013 Dec 5 I was wondering whether ...
0
votes
1answer
4k views

Installing sublime-text 2 with pacman

I want to install sublime-text 2 in Arch Linux with pacman package manager; how i can do this work?
4
votes
2answers
3k views

Will there ever be a Solaris 12?

I'm not trying to be inflammatory with this question! I can't any statements though from Oracle regarding the future of Solaris, and wondered if there were any press releases or official notification ...
5
votes
5answers
10k views

Parsing a delimited text file in bash as command arguments

I have a text file split up like so: field1,field2,field3 xield1,xield2,xield3 dield1,dield2,dield3 gield1,gield2,gield3 Each of these columns will be a parameter to a program, and I would like ...
1
vote
0answers
105 views

Containers running on ARM

I've been doing some research and decided to implement OpenVZ since it allows each container to be isolated from other containers, unlike LXC. However, OpenVZ is still not supported for ARM ...
2
votes
1answer
725 views

kickstart copy file to new system

I've finished writing my kickstart file but one thing bugs me the whole day. I've searched all over the net, found numerous posts with different solutions and none of them helped me. I did a fresh ...
6
votes
3answers
5k views

Parallelize a Bash FOR Loop

I have been trying to parallelize the following script, specifically each of the three FOR loop instances, using GNU Parallel but haven't been able to. The 4 commands contained within the FOR loop run ...
3
votes
4answers
2k views

How do I find the offset of an ext4 filesystem?

I have a failing hard drive that is unable to write or read the first sectors of the disk. It just gives I/O errors and that is all there is. There are other areas on the disk that seem (mostly) fine. ...
0
votes
1answer
78 views

rsync directory and contents to new location and owner

I have access to 2 group accounts: ops_user and test_user. Is it possible to copy a directory and all subdirectory owned by ops_user to a new directory owned by the test_user? I.e I want to copy ...
3
votes
1answer
666 views

Automated Clonezilla backup and GPG encryption

I have a desktop Linux system which I regularly create clones of to a local RAID-6 array using Clonezilla. It's proven to be quite a hassle to walk through the backup process, which takes quite a few ...
6
votes
1answer
158 views

How can I tell how much my system is swapping?

Is there a good way to see how much my system (for example how frequently, how much swap space it is using each time/ on average) is using the swap space during various tasks?
3
votes
2answers
96 views

keyboard shortcut to jump cursor to prompt?

I often mistype a command. So I will type this sublimetext myfile.txt instead of git add myfile.txt When I do this, I hit up to restore the last command. But after doing so, my cursor is at the ...

15 30 50 per page