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

6
votes
2answers
12k views

IPTables - Port to another ip & port (from the inside)

I currently have a NAS box running under port 80. To access the NAS from the outside, I mapped the port 8080 to port 80 on the NAS as follow: iptables -t nat -A PREROUTING -p tcp --dport 8080 -j DNAT ...
-1
votes
0answers
14 views

Can I install and work with pycuda if I have ubuntu linux 32bit and boot from usb? [on hold]

System is 32bit. Have Nvidia Geforce 610M graphics card on my laptop. Am booting ubuntu 14.04 lts from usb
1
vote
4answers
69 views

How to stop minute cron job?

I have a program written in python; my program scrapes a value from some financial website every minute and pushes that value into my DB. My program takes like 1 or maximum 1.5 seconds to do this ...
5
votes
1answer
2k views

Running bzImage in QEMU: Unable to mount root fs on unknown-block(0.0)

I compiled the kernel by doing make menuconfig and make. I was trying to run the bzImage in qemu, by doing qemu -kernel bzImage but it didn't work out with the error message: Unable to mount root fs ...
-1
votes
0answers
16 views

Do not work shortcuts in Fedora 21

In Fedora 21 some shortcuts don't work. There is a problem with combinations which have more than two keys (ctrl+shift+tab, ctrl+shift+← etc). Another problem with the Win+R or F12 hotkeys to call ...
0
votes
0answers
20 views

Link Speed for wireless connections [migrated]

I am working to implement a benchmarker for wireless connections. How can I determine the link speed in mbps? I am working with C language and Linux system.
0
votes
1answer
31 views

Windows to Linux (rsync and ssh) [on hold]

I'm trying to backup the folders in Windows Pictures to a remote Linux directory. This is what I have: rsync -av ssh /cygdrive/c/users/Owner/Pictures/ blah@192.168.1.10:/var/files/ImageSync/ I got ...
2
votes
1answer
20 views

How to connect between two Linux machines VIA Linux router machine

I have three Linux machines that connected as the following: Linux_machine1 --> Route_linux_machine --> Linux_machine2 How to ssh from Linux_machine1 to Linux_machine2 Only VIA ...
0
votes
1answer
38 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
24 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
28 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 ...
0
votes
0answers
8 views

OpenSuse does not show .eps files

I am running on this machine on a cluster: > lsb_release -r -i -c -d Distributor ID: openSUSE project Description: openSUSE 13.2 (Harlequin) (x86_64) Release: 13.2 Codename: Harlequin ...
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
45 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
693 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
703 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
21 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? [on hold]

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 [on hold]

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
474 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
44 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
16 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
6 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
13 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
38 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
17 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
14 views

Help about CentOS 7 apps & Driver [on hold]

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
24 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
20 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
612 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
30 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
22 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
496 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
26 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
946 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
16 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
24 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, ...