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
261 views

Problem with former RAID hard drive settings in Linux Mint 17

I'm new to Linux, just installed Linux Mint for the first time. I have two hard drives which were previously in a RAID configuration. Now before I have installed Linux I've changed them to individual ...
3
votes
1answer
562 views

Kernel booting stops right after “Uncompressing Linux…”

I'm trying to bring up an ARM-based board. I've got U-Boot working but can't seem to get the kernel to load. Most of the time it only goes as far as: Starting kernel ... Uncompressing Linux... A ...
3
votes
0answers
7 views

How can I get this proprietary low-vision camera working in Linux?

I am a visually impaired Computer Science student, and use a special USB camera to zoom in on the board/projector during lectures. The camera only officially supports Windows, and I've been using it ...
5
votes
8answers
3k views

Find out if the OS is running in a virtual environment

Is there any way to find out if the OS I'm running (actually installing) is running in a VMWare machine. I need to disable ntp settings if the automated install is done on a virtual machine but keep ...
0
votes
0answers
18 views

GeForce GTX 660 as passthough device with KVM : error no iommu_group for device qemu-system-x86_64

I'm tryng to use my GeForce GTX 660 as passthough device with KVM. I'm reading this guide : http://www.pugetsystems.com/labs/articles/Multiheaded-NVIDIA-Gaming-using-Ubuntu-14-04-KVM-585/ I'm ...
3
votes
2answers
9 views

Could you explain this “chroot” /tmp directory creation?

In the following linked article they explain how to create a "chroot" /tmp directory. I'm a bit confused by what they did. Could someone explain what the following commands are doing? Noexec and /tmp ...
1
vote
0answers
5 views

xvfb-run aborting on cluster

I'm trying to run a python script with xvfb-run on a cluster using SLURM; when I use an interactive session (srun) it works fine, but when submitting to a queue (sbatch) it aborts/fails without much ...
0
votes
0answers
11 views

Terminal freezes after using tar or gz

On Linux withing BASH the Pseudo Terminal window (terminator) as well as the Terminal itself "freezes" when trying to use autocomplete (TAB) as well as after getting an error message using gzip and ...
0
votes
0answers
18 views

Cannot install Kali linux [on hold]

I am trying to install kali linux and I cannot do it. It is giving me this error saying "An installation step failed, You can run the failing item again from the menu or skip it and choose something ...
-1
votes
2answers
20 views

How to monitor TCP connection failures in Linux and UNIX [on hold]

Describe how to monitor the number of TCP connection failures in Linux and UNIX
-1
votes
1answer
18 views

Best vim setup for my workflow [on hold]

I am using vim as my primary editor for programming (doing ssh on a remote server). I have tried some plugins for being more productive in programming but I always had issues (example: snipmate ...
1
vote
0answers
92 views

HD TV and Macbook Air with Linux see each other but screen is black

With Apple Macbook Air 1,1 (Early 2008) and Ubuntu 12.04 with kernel Linux 3.2.0-68-generic-pae, when I connect it to an HD TV via the micro-DVI to DVI (Apple adapter) --> DVI to HDMI (I tried two ...
2
votes
2answers
37 views

netstat — why are IPv4 daemons listening to ports listed only in -A inet6?

I have a computer with: Linux superhost 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux It runs Apache on port 80 on all interfaces, and it does not show up in netstat -planA inet, ...
14
votes
3answers
4k views

Why does the 'bin' user need a login shell?

During an audit of /var/log/auth.log on one of my public webservers, I found this: Jan 10 03:38:11 Bucksnort sshd[3571]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 ...
0
votes
0answers
11 views

Gettting Unexpected Error during the testing of GCC-4.8.2 package in LFS 7.5

I am building my first LFS 7.5 using Linux Mint-13 (32-bit).While testing the 6.17. GCC-4.8.2 .I am getting the following error : root:/sources/gcc-build# ../gcc-4.8.2/contrib/test_summary cat ...
1
vote
1answer
378 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 > ...
9
votes
3answers
3k views

Batch delete exif info

How can I recursively remove the EXIF info from several thousand JPG files?
0
votes
1answer
17 views

how to bootup/reboot in verbose mode?

I have Ubuntu 14.04TLS. How can I permanently change grub to switch to verbose mode on bootup/reboot so I can see the rolling text? I would like to make this change stick. Thanks!
-1
votes
0answers
17 views

How to diagnose the problem when Apache at random times shows “Not Found” on the web?

Suppose i reload my web site 100 times by holding down... CTRL + R on my keyboard.. ı notice once in a while apache throws out a Not Found error message. if i refresh again.. everything works ...
2
votes
0answers
28 views

Wireless is not working on Lenovo ThinkPad X201 with CentOs 6.5

I am having trouble with wireless connection on my Thinkpad X201 laptop. I installed CentOs 6.5 Minimal. The Wired (cable) internet works perfect. But wireless is not detected. I looked at following ...
0
votes
1answer
2k views

Cannot dual-boot Linux Mint and Windows 7

I have Windows 7 already installed from a long time ago and I have no Windows/update CD. I want to install Linux Mint. I created a partition, formatted it as Ext4 (in Linux), and labeled it E. I ...
1
vote
1answer
377 views

Why system call hooking produces different result everytime in Linux/Android 2.6.29?

I have implemented system call hooking for Android 2.6.29 kernel through a LKM module. I am tracing down one Android app for system calls. But interestingly, it returns different results every time I ...
6
votes
2answers
89 views

Are environment variables visible to unprivileged users on Linux?

I'm trying to determine if, in Linux, environment variables for a process are observable by other (non-root) users. The immediate use case is putting secrets into environment variables. This is ...
0
votes
0answers
9 views

Problem configuring Access Control on Apache

I have a little Debian Server which runs Apache 2.2.22. I have configured, with WebMin, a Apache Webserver that listens on the port 83. Now, in the root directory of this Webserver I configured the ...
2
votes
1answer
16 views

How interpret kworker threads names?

On a Linux kernel 3.11.0-13-generic running on top of a dual socket Xeon X5650 hexa core board running htop show different kworker threads. Sorted by names (I tweaked the result I am showing here a ...
-1
votes
0answers
21 views

what assembly code formate do i need to use? [on hold]

why there's assembly code that is divided to section like: section .text and others are not but they have org 100H instead and how do i know what format to use ??
1
vote
1answer
23 views

Why I get status: Unknown job on the service?

I followed this tutorial to add a program to init.d as a service (I guess), when I want to see its status with: sudo status /etc/init.d/noip2 I get : status: Unknown job: /etc/init.d/noip2 What ...
1
vote
2answers
23 views

how to scp to host connected on a wifi?

I have my MAC on a wifi and am connected via ssh to a linux host. I want to copy some files from the linux host over to my MAC. I know, I can simply run scp on the mac to fetch each file via mac> ...
43
votes
4answers
36k views

Limit memory usage for a single Linux process

I'm running pdftoppm to convert a user-provided PDF into a 300DPI image. This works great, except if the user provides an PDF with a very large page size. pdftoppm will allocate enough memory to ...
4
votes
3answers
247 views

How to disable beep sound in Linux CentOS 7 command line? [duplicate]

I just installed the basic Linux CentOS 7 (no desktop) and am experimenting with the system. Every time I make a mistake (entering things that the command line doesn't like), the computer beeps and ...
-1
votes
1answer
19 views

How to edit all Apache's error codes DIRECTLY instead of using httpd.conf?

When a page does not exist.. this is what i see on the web : Not Found The requested URL /test was not found on this server. i know about : ErrorDocument 404 /test.html but i rather not use ...
1
vote
2answers
46 views

How to troubleshooting failing ping to router on a linux box?

I have a home network 192.168.0.x from which I am posting this message, on this network I have a CentOS7 host 192.168.0.3 which is running a DNS server for the network. I can ssh into 192.168.0.3 I ...
4
votes
3answers
372 views

Why can't I `tail -f /proc/$pid/fd/1`?

I wrote a simple script which echo-es its PID: #/bin/bash while true; do echo $$; sleep 0.5; done I'm running said script (it says 3844 over and over) in one terminal and trying to tail ...
0
votes
1answer
22 views

mv deleted my directory. Why?

I was trying to correct the spelling on a directory, issued a mv command, and the directory is now gone. I'd like to understand--specifically--what happened. Here's the command I ran: mv ...
1
vote
1answer
11 views

Grub-customizer: error while loading shared libraries: libarchive.so.13: cannot open shared object file: No such file or directory

I wrote this question at stackoverflow and got recommended I prob would have a better shot here. So I'm trying to install grub customizer so I can make Windows the default OS to boot since I use that ...
3
votes
2answers
3k views

Ubuntu password policy

I want to set the system-wide password policy on an Ubuntu 12.04 LTS server. Googling around, a lot of people point to this (very old) document: ...
1
vote
2answers
270 views

Safely removing flash USB drive

On CentOS (5.5 and others) I need to transfer quite big files to a FAT32 USB flash drive to get the data on a Windows 7 machine (each file is below 4GB, so I guess FAT32 shouldn't be an issue then). ...
4
votes
3answers
899 views

How to get mplayer to play from stdin?

Why doesn't this work? cat /dev/video1 | mplayer - If I could get that to work, then I could play & record video at the same time using 'tee' to feed mplayer and mencoder. I want to play live ...
2
votes
1answer
31 views

Memory Usage in Linux [duplicate]

How to setup limit for process to memory usage? Similar to open files limit in /etc/security/limits.conf: ubuntu soft nofile 4096 ubuntu hard nofile 8192 ...
2
votes
1answer
35 views

read specific lines from the file [duplicate]

I have some text file (for example json). I can use head order for the reading of the first lines. For example: head -n 100 file.json get me 100 first lines back. What is Linux order, which I can ...
1
vote
1answer
673 views

Deleting Non-empty Directory with smbclient

How can I remove a non-empty directory with smbclient? I have tried the following: 1) rm Result: NT_STATUS_NO_SUCH_FILE listing [dir_path] 2) recurse;rm Result: No Error but also nothing ...
2
votes
1answer
846 views

Terminal server (ser2net) to configure new HP procurve switch

Switch: HP ProCurve 2910AL-48G - J9147A This switch is brand new straight from HP. Anyone familiar with ser2net for creating a terminal server to connect from usb>serial>console port on a HP ...
0
votes
0answers
38 views

How to stream from router-connected USB NAS to latest Linux Mint laptop? [on hold]

I started using Linux Mint on my laptop, I dumped Windows. I love it, found Cinnamon very easy to use. How do I stream movies from the USB NAS (WD passport) that's attached to my router to Mint? I ...
-2
votes
0answers
17 views

Linux (Xubuntu) ram and cpu usage [duplicate]

I'd like to know if Linux is able to see and use all available ram and cpu. The reason why i ask is because in my Macbook for example i can not add more ram because it can read and use just 2GB, it is ...
1
vote
2answers
31 views

make an application startup automatically

I'm new to linux. Here I have an application deployed to linux, I want the app to startup automatically when the linux start up. I'm using an command like 'sudo ./start' to start the application. How ...
2
votes
1answer
714 views

/proc/cpuinfo showing zero cpu clock speed

I saw an interesting issue where the cpuinfo file from /proc filesystem shows the cpu clock speed as zero. It is a physical host with no virtualization. Can someone explain to me some probable reasons ...
2
votes
1answer
17 views

Understanding passwd --keep-tokens

On GNU/Linux, I do have trouble understanding the meaning of the --keep-tokens option for passwd. As it doesn't seem to be much used as I am not able to find any examples and only online copies of man ...
1
vote
1answer
561 views

Can I use a parallel port as a CUPS input device?

I have an old piece of a hardware that does diagnostics on medical equipment. It prints out results over a parallel port. Is there any way to have CUPS accept jobs from a parallel port and redirect ...
-3
votes
0answers
37 views

What are alphanumeric characters? [on hold]

What are alphanumeric characters in Linux? Are characters like !, $, % etc., alphanumeric?
0
votes
0answers
23 views

sshd suddenly wants a passphrase from Linux box, but not from windows (putty)

My Amazon EC2 instance running Ubuntu is no longer letting me ssh in via my local Linux system. I haven't changed a darned thing on either side but now it wants a passphrase and says nope when I ...