0
votes
1answer
2k views

Java installation having issues on Centos java and javac showing different version

I have this package of java jdk-7u3-linux-x64.rpm. So I have been doing this normally yum install jdk-7u3-linux-x64.rpm. Then immediately I will do this alternatives --install /usr/bin/java java ...
1
vote
0answers
556 views

Need help understanding to errors in /var/log/messages

Recently I've been checking my log and found two weird errors which I don't understand. The first one: May 22 08:11:00 localhost dbus: [system] Rejected send message, 1 matched rules; ...
3
votes
3answers
335 views

How to let sendmail preserve plus detail for .forward?

I have a normal sendmail installation. A user has a .forward like this: # cat ~elrond/.forward elrond@somewhere # sendmail -bv elrond+extra@localhost elrond@somewhere... deliverable: mailer esmtp, ...
13
votes
1answer
2k views

What happens when I press “Shut Down” from the GUI?

I have been banging my head against this for quite a while now. It's related to this question. I would like to find out exactly what happens when I choose to shut down my Linux box from the GUI. This ...
1
vote
2answers
611 views

How to get name of Display Manager on Linux? [duplicate]

I want to see Display Manager name (Gnome, KDE etc.) via python or bash script. Is there any command for it as uname? (I try fedora and Debian)
0
votes
1answer
210 views

Intel 82845G Video Crash workaround

I have the Intel 82845G video card and trying to get X11 working with it. It routinely crashes with artifacts. I know the existing history with this driver and X11 and I am about to buy a replacement ...
3
votes
2answers
7k views

What exactly is PKGBUILD and should I edit it when installing packages?

Whenever I use yaourt -Syua in my Manjaro Linux system, it'll give me Edit PKGBUILD ? [Y/n] ("A" to abort) and sometimes Edit chromium-pepper-flash.install ? [Y/n] ("A" to abort) Somewhere I ...
7
votes
1answer
1k views

Open/Libre Office: Restricting Impress to PowerPoint-compatible content?

Is there a way to restrict the Open/Libre Office presentation-program Impress to just PowerPoint-compatible content? Preferably in a way that "shadows-out" or removes non-compatible animations and ...
2
votes
1answer
675 views

Is it Safe to write to linux Partition from Windows?

I do tasks some of which require Windows while some require Ubuntu and thus I sometime need to access linux from windows, though the reverse is easily possible. So, I searched in google and got an ...
2
votes
1answer
1k views

Measurement of free ram through /proc/meminfo with ramdisk (initrd)

I am booting a disk image via PXE, it is a full system on an initrd ramdisk. I would like to measure the actual free memory of the system (not including buffers and file system caching). I was told ...
9
votes
4answers
39k views

BASH: launch background process and check when it ends

How can I launch a process in background and check when it ends within a bash script? My idea is a script like this: launch backgroundprocess & while [ Process is running ];do echo "PROCESS ...
2
votes
3answers
3k views

Easy way to parse syslog date format

I'd like to write a script that analyses the last week's syslog. But my syslog logs in a stupid date format, e.g. "May 22". If it logged as 2013-05-22, this task would be trivial. Is there a way ...
4
votes
2answers
721 views

Why I was able to fix a broken package with aptitude but I could not with either apt-get or synaptic?

Yesterday I upgraded my Debian Testing and Audacious stopped to work. Troubleshooting I found that the problem was that it was updated to a recent version but the needed plugins were not. I tried to ...
1
vote
1answer
567 views

restore filesystem after fdisk

I split a partition in two with fdisk, but after rebooting I've got partition in FAT filesystem (was ext4). What's can be wrong? And how to fix it or get data from bad partition? I hope this is ...
0
votes
0answers
30 views

compat-drivers-3.9 crash video card driver

I try to install wireless driver on my linux with compat-drivers-3.9. After installing compat-drivers-3.9 linux , the video driver seems to be crashed. The resolution is not correct. How can I restore ...
5
votes
2answers
387 views

Is grandchild process also child process?

In Unix/Linux terminology, do child processes of a process include grandchild processes of the process?
2
votes
2answers
5k views

How to remove a locally installed library?

I had just compiled and installed libc locally into my home directory. Sadly, after this, virtually every basic utility like ls and xz failed to function. The error message prompted up when ...
1
vote
1answer
487 views

Errors in Syslog

Im getting this error on one of the server May 21 16:45:42 ERPSSO gconfd (root-24528): Failed to write "/root/.gconf/apps/puplet/%gconf.xml": Failed to move temporary file ...
4
votes
4answers
321 views

how to sort access log efficiently in blocks

Access logs are more or less sorted by time, but to aggregate connections by time (uniq -c), you need to sort them a bit more. For a huge access log sort is very inefficient, because it buffers and ...
3
votes
0answers
672 views

how to solve ports dependencies conflict

What is the best approach to avoid conflict among the dependencies from two or more unrelated ports? I'm facing the following problem. A script that I'm using has the follow approach to try to install ...
4
votes
1answer
1k views

Alt+tab key not working in NX client for linux

I am using NX clinet-3.5.0-7 version running on ubuntu 12.04. I am trying to use Alt+Tab key to switch between different terminals on my NX client but I am unable to do so. When ever I use Alt+Tab, it ...
1
vote
0answers
136 views

Identifying MaxSpeed of a Bonded Interface

I have configured Ethernet Bonding for our RHEL 6.2 Servers. Bonding is working fine but few confusion for me when I configured MRTG to monitor the bonded interface. MRTG is showing MaxSpeed of the ...
0
votes
1answer
3k views

Postfix: 554 5.7.1 Relay Access Denied

My Problem is this: I can send E-Mails from my E-Mail (evolutio@lars-dev.de) to my other Emails like @gmail @web @gmx ... But when I try to send a E-Mail from GMail to evolutio@lars-dev.de I have the ...
-1
votes
2answers
743 views

TAB autocomplete on sudo sh

When I say sudo sh, TAB stops working as autocomplete signal on my Debian. How can I enable TAB key autocomplete after I say sudo sh ?
2
votes
1answer
2k views

pdsh command failed with connection refused

I'm able to remote login the target host with ssh. But when I execute a command through pdsh, it fails with connection refused. Both systems are sles11. I found a description of the error on this ...
0
votes
1answer
226 views

How can I use the tmpfs to accelerate my chrome browser start up?

Every time when I am trying to start the chrome browser, it is a little bit slow because the chrome need to load the cache and that may cause a big amount of disk IO. My distribution is Debian ...
1
vote
1answer
6k views

Redhat find process memory usage [duplicate]

When I cat /proc/meminfo I see: MemTotal: 1048576 kB MemFree: 11136 kB Buffers: 0 kB Cached: 0 kB SwapCached: 0 kB Active: 0 kB Inactive: ...
6
votes
1answer
5k views

Linux newbie: How do I use Jack? How does Linux sound work? [closed]

I am a Linux newbie. I know my way around the command-line enough to where it doesn't get in the way of my day job (I develop web applications in Python). This involves some piping, grep, awk, and ...
3
votes
2answers
87 views

How do I find out where the contents of a package are installed?

I ran into this bug, where Cantor can't find the sage backend if both are installed through the ubuntu package system. I can get around this bug if I know the path to the sage executable, but even ...
6
votes
3answers
3k views

What is a process GID and what purpose does it serve?

Reading mod_wsgi's documentation I found you can choose which group to run the worker processes as. I can understand group ownership of files and how only a user who belongs to that group can achieve ...
0
votes
0answers
100 views

unexpected bash behaviour after console login (openSUSE)

I'm trying to install a Linux OS on the computer I use as a home server, because I liked "Raspbian" so much on my Raspberry Pi. I created a custom linux using openSUSE Studio, that's just text based ...
3
votes
2answers
125 views

Vim settings within ncftp edit

I'm using the ncftp utility. It has an edit command which handles the get, edit, put sequence for me as in GUI ftp clients. It's great except for one thing, I get vanilla vim, with none of my ...
5
votes
1answer
451 views

GNU Screen weird characters on click

I have a small problem in GNU screen. A GNU screen session runs on my RaspberryPi. Now sometimes, when I join it, if I click in the terminal (I'm using terminator on Fedora) I see weird characters ...
1
vote
2answers
442 views

obtaining kernel build tree

Could anyone explain me what the kernel build tree is? What files does it include? How can I obtain it from a cross-compiled kernel source (e.g. 3.4.0)?
3
votes
1answer
639 views

Booting grub legacy via qemu using pxe

I have been trying to boot grub legacy via qemu using pxe. For some reason, the grub does not display the menu and enters into the command mode after displaying the following error. Error15: File not ...
2
votes
1answer
939 views

wget recursive with files without extension

I'm not very good with Linux so I have maybe a basic question. I've search around for the "how to" and I couldn't find anything. I'm trying to get a site with wget. The problem is that it: Have ...
5
votes
2answers
484 views

Passing glob expressions to functions/scripts

The following script is supposed to concatenate multiple csv files in a path specified in the first argument into a single csv file specified in the second argument #!/bin/zsh set -x set -v ...
1
vote
0answers
101 views

Send DXY-GL command to printer

How to send DXY-GL commands to a plotter? My plotter can draw only lines. Can I send text commands via stty to the printer port?
2
votes
1answer
1k views

Route only ssh traffic through VPN

Is it possible to route a computer's SSH service through a VPN connection but allow ALL other data to exit through the WAN address? What sort of iptables magic needs to be done to accomplish this? ...
4
votes
3answers
722 views

Screenshot of non active window

How to take a screen shot of non active window? If I have 2 windows, I want to capture the screenshot of the one which is running in the background.
1
vote
0answers
842 views

Unable to successfully format 64G USB flash drive on centos 6.2/ centos 6.3

I have unsuccessfully tried to format and mount a 64 G USB flash drive. The error when I try to mount with the command mount -t extfs /dev/sda /mnt **"JBD: no valid journal superblock found EXT4-fs ...
7
votes
3answers
6k views

How to programmatically determine the highest version kernel RPM installed?

What I want to script is something along the lines of: if [ uname -r is not == highest version of kernel RPM installed ] then echo "You need to reboot to use the latest kernel" fi The problem is, ...
4
votes
2answers
839 views

How do I let bash autocomplete wildcards?

If I have directory containing the files foo.bar.a.cat foo.bar.a.hat and I type ls f+TAB the bash shell autocompletes to ls foo.bar.a.. If I type ls *bar*+ TAB I would like it to autocomplete to ...
9
votes
3answers
10k views

What is the best practice for adding disks in LVM

According to the Linux manpages you can add raw disks as well as partitions to a volume group. In other documentation (RedHat, CentOS or openSUSE), all examples refer to adding partitions to the VG ...
1
vote
0answers
339 views

Gentoo framebuffer dual monitors

I have Gentoo and great frame buffer with smaller fonts and great resolution, also I have two monitors. On both monitors I have same frame buffer. Is it possible to have multiple different frame ...
3
votes
2answers
2k views

dhcpcd can't startup at boot

when I run dhcpcd after boot everything works fine but when I try to add it to auto start systemctl enable dhcpcd@eth0.service, after each boot it's inactive dhcpcd@eth0.service loaded ...
0
votes
1answer
2k views

Recommended Linux distribution for statistics? [closed]

Given that R, Python and many other open source libraries used for stats have better support in Linux than Windows/OSX (rPy comes to mind), I find it odd that no one has asked this question before. So ...
3
votes
5answers
8k views

A secure way to confine FTP login users to a single directory

I needed to provide multiple users FTP logins, some able to write, some only to read, to a single FTP root directory. I very much wanted that they not see of the file system anything above that ...
2
votes
0answers
431 views

Including pending update list in motd

How would you include the list and / or count of pending updates in the welcome banner? Eg. username: User password: ***** Hi 'User', welcome on 'localhost' There are 8 pending updates, you need to ...
1
vote
2answers
529 views

SSH agent loses keys after logging out

I added my SSH key having typed ssh-add ~/.ssh/id_rsa and ssh-add -l printed my key. But after logging out and logging in again I see The agent has no identities. I've tried setting a very ...

15 30 50 per page