Questions specifically about Linux, as opposed to Unix-like systems in general, or to questions about a specific distribution or program.

learn more… | top users | synonyms

1
vote
1answer
43 views

sort file based one colum and group by another column

I have a file of three columns: 1 A 0.5 2 B 0.7 3 A 10 4 C 4 5 B 4 I want to sort the file by increasing order of column 3 and group by column 2 1 A 0.5 3 A 10 ...
0
votes
1answer
21 views

page up and page down alternative for horizontal scrolling in less

In vertical scrolling using less the page up and page down keys are working. Which keys scrolls one page down/up vertically? The less was started with -S option.
0
votes
1answer
25 views

Assign IP to a device using BOOTP protocol?

I have a device that is BOOTP enabled, I want to assign an IP to this device on Linux. there are these tools that works perfectly ...
0
votes
1answer
31 views

How to format old laptop and install CentOS

I have an old laptop with Windows 7. I want to remove everything and install CentOS 7 to turn it into a server. What I know is that I should format the old OS somehow and get iso image of CentOS and ...
1
vote
1answer
19 views

How does PulseAudio start?

PulseAudio is always running on my system, and it always instantly restarts if it crashes or I kill it. However, I never actually start PulseAudio. I have checked /etc/init.d/ and ...
0
votes
1answer
48 views

Cron Job every 55 minutes [duplicate]

I want cron to be run in every 55 mins. I followed the link CronJob every 25 minutes and my crontab command is */5 * * * * [ $(( $(date +%s) / 60 % 55 )) -eq 0 ] && wget ...
3
votes
2answers
699 views

Can you create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned?

I would like to know if it is possible to create a volumegroup in LVM that all the Logical volumes created under it will be thin provisioned? This will be used on RHEL 6 which does include thin ...
1
vote
0answers
12 views

rpm --verify does not inform about missing file

I noticed there is a missing file in the MySQL installation in a RHEL server. I want to know if there are more missing files so I tried to use rpm --verify (or rpm -V), however it doesn't output ...
5
votes
2answers
705 views

Compiling the kernel with default configurations

Assumptions: The platform: anisha@linux-dopx:~/> uname -a Linux linux-dopx 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86_64 x86_64 x86_64 GNU/Linux The kernel downloaded is the ...
-1
votes
1answer
24 views

how to convert video into webm format using ffmpeg in centos

how to convert video into webm format using ffmpeg and libvpx in centos I have install ffmpeg and libvpx in centos.but it's doesn't convert mp4 format into webm format. but in windows i have check, ...
0
votes
1answer
20 views

How do I run the query 1 by 1 and return only exit code in bash script? [closed]

I've created a below script :- query1=$(command1) query2=$(command2) query3=$(command3) if [ $? -eq 0] then echo "Success" exit 0 else echo "Failed" exit fi the problem is when I ...
3
votes
2answers
4k views

How to reduce ClamAV memory usage?

I'm running a Ubuntu based web server (Apache, MySQL) on a 512MB VPS. This is more than sufficient for the website it is running (small forum). As I wanted to add some protection against viruses I ...
-3
votes
0answers
9 views

reconfiguration of NBD [closed]

please tell me the command of reconfiguration of nbd-server in Ubuntu. I want to reconfigure the nbd-server because when I restart the nbd-server it show me error and I have to reconfigure it
2
votes
1answer
475 views

LFS 7.5 - Glibc-2.19 compile errors at section 6.9, are they fatal to my LFS build?

I am using a host Ubuntu 14.04 system, and I am currently going through the Linux From Scratch guide here. At section 6.9, http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html, after ...
3
votes
1answer
45 views

Prevent a lot of brute force attacks on Exim2

Some people or computers have been trying to log in a lot of times on my Linux DirectAdmin server over the last few days. I am receiving a lot of messages of brute force attacks for Exim2 in ...
2
votes
1answer
19 views

/dev/mapper in fdisk

After installing CentOS, I see several lines like /dev/mapper/centos_jackpc--11-swap and /dev/mapper/centos_jackpc--11-root when I issue fdisk -l. What is the purpose of these? And why do they not ...
1
vote
0answers
9 views

Skip syslog/rsyslog logging of certain cron jobs

In most GNU/Linux distributions the default is to log start (and many different events) of every cron job to syslog. It's rather convenient, but not for a very frequent jobs, which started, say, every ...
2
votes
0answers
47 views

How to keep my C program from terminating when CTRL-C is pressed? [migrated]

AFAIK this has something to do with "catch the SIGINT" but I'm looking for more details. Like many others I learn C by writing my own CLI that can start other program located by the environment ...
0
votes
0answers
5 views

videoconferencing/audio-only-conferencing on LAN

The given scenario is an office-building with several floors. Using linux servers and linux clients it is necessary to create a system for videoconferencing or if not possible then audio-only ...
0
votes
1answer
14 views

Dual booting with two drives

So I need to install a microsoft product on one of my drives today sadly. My current setup is so that I have a SSD which has Linux on it. And a 1 TB HDD which just extends my Videos and Documents ...
1
vote
1answer
46 views

Writing openSUSE image to SD card

I am releatively new to linux and I have assembled a raspberry PI 2 model B and I'm relavively unexperience with linux. I have tinkered in the past with SUSE and want to start doing it again. I have ...
1
vote
0answers
20 views

Caldera Debian Keyboard Output Chinese Characters

So, I'm an involuntary IT guy at my current position, and we have come across an issue with Caldera's flavor of Debian Linux. For some reason, with no real prompting, our keyboard starting typing ...
1
vote
1answer
16 views

Help about CentOS 7 apps & Driver [closed]

I'm using pc for several years but never tried Linux so I'm quite noob in this field. I'm using Autodesk maya, Nuke & will learn houdini very soon. I found that linux works faster for this apps so ...
2
votes
1answer
31 views

Can one core on a multicore linux system be dedicated to one user-space app?

Can a core be dedicated to one user-space app (e.g. for the purpose of bit-banging GPIO without any interruptions)?
4
votes
1answer
1k views

One host, two virtual machines that cannot ping each other. How to solve

We have Virtual Machines operating within the KVM environment. We setup one as a dev server running Apache etc., and the other as a Windows development environment. The two environments are setup ...
1
vote
1answer
538 views

Does sync command remove the dirty cache in the memory?

I am aware that sync command flushes the dirty cache into disk. I have run free command first, then sync, and then free again. The result of latter free command shows more free memory available than ...
16
votes
3answers
32k views

How to use GoToMeeting in Linux

My employer wants me and the team of developers to communicate with them using gotomeeting.com service. Is it possible to use GoToMeeting in Debian? I know that officially GoToMeeting supports only ...
1
vote
1answer
21 views

problem with upstart

Hi i got always an error message that my upstart script doesnt start. start: Job failed to start My script is: description "Tagger Version 2" start on runlevel [2345] stop on runlevel [!2345] ...
19
votes
2answers
37k views

What does aux mean in `ps aux`?

ps aux seems to conveniently list all processes and their status and resource usage (Linux/BSD/MacOS), however I cannot comprehend the meaning of parameter aux using man ps. What does aux mean?
0
votes
1answer
26 views

what does mean by HardwareCorrupted, DirectMap4k, DirectMap2M fields in “/proc/meminfo” file of Linux?

I am looking for description of following terms: HardwareCorrupted, DirectMap4k, DirectMap2M fields in "/proc/meminfo" file of Linux. I could find the following description for the fields from ...
0
votes
0answers
24 views

Echo n-values for 1 key in ansible?

I have an ansible var : site1: - name: myName value1: something1 value2: apple value3: 14 ... valuen: "a submarine" So the point is, that I don't know how many values are ...
1
vote
1answer
614 views

Can't find vgaswitcheroo directory in CentOS6

I've installed CentOS6 on my laptop, which has a built in VGA and a discrete (AMD) VGA. I used to switch AMD video off in other distro's (e.g. Fedora, Arch) using: $ echo OFF > ...
1
vote
1answer
32 views

Where is routing table stored internally in the Linux kernel?

When I execute route -n, from where exactly (from which structs) is the information displayed retrieved? I tried executing strace route -n but I didn't help me finding the right place it's stored.
0
votes
0answers
23 views

Failed to execute the iscsiadm commands

When I am using the command: iscsiadm -m discoverydb -t st -p 10.10.11.12:3260 -I be2iscsi.00:17:a4:7a:e3:34.ipv4.0 --discover -P 1 I am getting below error: scsi host1: BC_207 : MBX Cmd Failed ...
0
votes
1answer
507 views

Why won't Linux connect to the internet through a VPN?

When using OpenVPN on Linux, I can't connect to anything on the internet. Firefox shows everything except my own router as "not found". And curl -I google.com, for example, gives curl: (6) Could not ...
1
vote
0answers
32 views

Grub package configuration error on each and any software update

Sometimes ago I had to restore Linux boot after Lenovo (v580 laptop) Windows 8 system recovery button pressing (just a stupid mistake). I followed this guide then ...
7
votes
2answers
952 views

How can I change the permissions in /sys to alter the state of a LED/light using `udev`?

I've got a Thinkpad and would like to use the ThinkLight (the white flash light above the screen designed to light up the keyboard) for notifications on incoming Jabber messages. It is easy to ...
0
votes
0answers
17 views

/proc/diskstats and iostat are right? strange values on my test

My question is quite simple.. I am doing some tests to confirm the perfect work of both (diskstats and iostat) disk meters and something is wrong here. I write this command on cmd and I get the ...
0
votes
2answers
27 views

X Windows special programs: do some of these still exist?

I recall that X11 provided a number of "fun" programs accessible via unix. For instance, if you use the command xeyes, an interface will pop up of cartoon-like eyes which follow your cursor ...
3
votes
2answers
2k views

volume hot keys in Crunchbang don't work

I've spent 2 hours on this and still can't figure this out. It's driving me insane. Please save my sanity. When I press mute, the pnmixer control in the top right shows that I've pressed mute, but ...
3
votes
3answers
534 views

Start rsyslog as unprivileged user

On Debian, rsyslog runs by default as root (due to POSIX compatibility). It can drop privileges after start, but a cleaner way would be to start as a non-privileged user. Could somebody please advise, ...
2
votes
1answer
30 views

Is it possible to mask a file with a different one?

I'm trying to solve the problem that I have two OS (Windows 7/Debian) which I want to enable to share certain data from lets say Firefox/Iceweasel. My Setup Basically there's profile folder A on an ...
0
votes
1answer
13 views

#puppet apply site.pp gives below error on cent 6.4 [closed]

Could not find default node or by name with 'puppet-master.example.com, puppet-master.example, puppet-master' on node puppet-master.example.com
1
vote
1answer
17 views

RHEL not booting with the updated kernel after upgrade [closed]

We have recently upgraded RHEL boxes, but the system only booted with the old kernel. Observation is that there is no link /etc/grub.conf to /boot/grub/grub.conf. Now, to boot the system with the new ...
5
votes
2answers
3k views

How can I downgrade a glibc version?

I upgraded glibc for a reason that isn't around anymore so I want to downgrade it. The stupid thing is a lot of programs rely on glibc at the moment. I still have the 2.4 version on the system as the ...
3
votes
2answers
8k views

Cross compiling expect for ARM

I have downloaded expect5.4 . I'm trying to cross compile it for ARM(PandaBoard) running stripped down version of linux. In the initial setup of configuring , I try Shell$ ./configure --host=ARM ...
-2
votes
0answers
10 views

coonection time out after #puppet agent test

after executing following command puppet agent --test o/p Unable to fetch my node definition, but the agent run will continue: Warning:Connection timed out - connect(2) Info:Retrieving pluginfacts ...
0
votes
0answers
6 views

/var/lib/puppet/state/agent_catalog_run.lock exists

after executing following command on centos 6.4 m getting below error puppet agent --test o/p: Run of Puppet configuration client already in progress; skipping ...
1
vote
1answer
16 views

Detect when audio card is powered (using alsa)

How can I detect in a script if my audio card is being powered? Motivation: I have a Linux mini computer (Odroid U3), used as a music player. And I want to power on a connected amplifier only when ...
1
vote
1answer
21 views

Open Java programs of a linux machine on Windows with SSH?

I usually use laptop (which has Windows) to ssh to my Linux server and run stuff on it (e.g. Intellij, MATLAB). I wonder if there anyway to open Java programs (again, like Intellij) of a remote ...