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

0
votes
1answer
28 views

Is there a way to comment more than one entry at a time in cron?

I know the standard way to disable a task in cron is to comment the line with the task using the # sign in front of it, as with most Unix config files or shell scripts. e.g.: 53 23 * * * ...
1
vote
0answers
25 views

no internet through wwan0 when cable attached to eth0

On my Beaglebone card I run Angstrom Linux. It has one cable in the ethernet port (etho) and a USB 3G modem dongle in the USB port whose interface is named wwan0. At the other end of the crossover ...
17
votes
6answers
15k views

How can I see dmesg output as it changes?

I'm writing a device driver that prints error message into ring buffer dmesg output. I want to see the output of dmesg as it changes. How can I do this?
0
votes
1answer
34 views

Add and Compile apt-get package manager for LFS

I'm trying to add apt-get package manager to LFS (LINUX FROM SCRATCH) system. I have found a solution explaining how to 'compile apt-get and dpkg' for LFS. But it's very old and unusable. I searched ...
0
votes
3answers
451 views

Why Samba needs the VFS module?

I came across this picture when learning samba. I am confused with the VFS module in this image. Why we need this VFS module in samba server instead of passing directly the intend system call to ...
2
votes
1answer
14 views

Redirect or trigger on dev node input event

Is it possible to trigger an event when data is available at a dev node? Very simply, if some widget device sends information over usb to my linux box, would it be possible to trap into some event ...
2
votes
1answer
2k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
0
votes
1answer
50 views

Can a kernel preemption happen in the process context with `TASK_INTERRUPTIBLE` state?

If a process sets itself to the sate of TASK_INTERRUPTIBLE, can it be preempted by other kernel components? If it does, I think this process maybe lost wake-up chance due to failed to check the ...
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 ...
1
vote
0answers
20 views

lp prints blank pages for pure text file

Printing a text file through lp result in blank page while printing same file through gedit works fine. lp is able to print pdf and jpg image files, but not text file. On further looking in to ...
1
vote
1answer
35 views

Antergos libpthread causes segmentation faults

A lot of the programs I use on my machine exit with segfaults. Nearly all programs function normally until being closed, at which point they segfault. So far the only two programs that have not worked ...
0
votes
2answers
28 views

Mount a partition in Terminal with udisks

I'm running Linux Mint 17.1, based on Ubuntu Trusty. If I run udisks --mount /dev/sda7 then the partition is mounted in /media and not in /media/$USER as it should. What am I doing wrong?
3
votes
1answer
42 views

TTY being flooded by button that doesn't exist being held down

Alright, I'm not really sure what's going on here. My laptop is a Dell precision m4800 running Ubuntu 15.04 64bit. It boots fast, without any issues, and I am able to login and generally go about my ...
1
vote
1answer
724 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
3answers
2k views

How to remove an empty directory (btrfs filesystem)?

I'm using the experimental btrfs filesystem. My directory looks like this: ls -la empytfolder total 4 drwxr-xr-x 1 root root 0 19. Mär 14:00 . drwxr-xr-x 1 root root 298 19. Mär 13:59 .. I ...
1
vote
0answers
26 views

Manually compile and add module r8169 (and others)

When typing lspci i get: ... 01:00.0 Ethernet controller: Realtek Semiconductor CO., LTD RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06) 05:00.0 Ethernet controller: Atheros ...
3
votes
1answer
569 views

Grub and usb serial support

How to access the grub menu using a usb serial converter? I know it's possible to have grub menu in serial console, putting these lines in grub.conf: serial --unit=0 --speed=9600 --word=8 ...
0
votes
1answer
140 views

Running program on startup (Fedora 22/ 2015)

I tried really hard to avoid posting a new question for something so basic and already answered in a hundred places, but after spending two hours on this and trying every solution out there I'm ...
0
votes
0answers
16 views

How to limit internet access for specific program? [duplicate]

Well, the title says it all. Suppose I have some program, I run it as normal user, and I want it to have no internet access. P.S. I'm using Arch Linux, but I'm also interested in more general ...
0
votes
0answers
14 views

Trying to boot Mint via ISO on Drive using a DVD

I use Mint on a Windows PC that I cannot install Grub on. I am trying to figure out how to boot an ISO on the root directory of the C drive (c:\mint.iso) on my Windows PC by running Grub off of the ...
0
votes
1answer
13 views

fakeroot make-kpkg buildpackage

When I run make-kpkg --initrd buildpackage with concurrency_level set to 17, all cores are at 100% according to gnome-system-monitor, when running the cc1-jobs. When I run fakeroot make-kpkg ...
2
votes
0answers
22 views

What happens if the last process in a namespace exits?

I am running Linux. I have a single process in a mount namespace. I did in this process a mount -t tmpfs tmpfs /mountpoint. What happens if the process exits and there are no more processes in ...
3
votes
2answers
648 views

Identify if server boots using upstart or sysvinit

I am a not a experienced linux user/admin, but last week I acquired a raspberry, and installed on it a Raspbmc, based on Debian distro. I am having some troubles trying to identify which scripts the ...
11
votes
3answers
9k views

How to run a script with systemd right before shutdown?

What do I need to put in the [install] section, so that systemd runs /home/me/so.pl right before shutdown and also before /proc/self/net/dev gets destroyed? [Unit] Description=Log Traffic [Service] ...
0
votes
1answer
16 views

Captive portal [HostApd] detection by the browser?

I'm using hostApd to develop a captive portal. My machine provides à Wifi (password free), and I plan the clients to get a popup saying "hello". You know, like the popup of wifi providers, asking for ...
6
votes
3answers
528 views

Linux workstation monitoring tools

I am currently working in a company that runs Linux (openSUSE 12.1) on the workstations (about 200 computers). I am looking for a tool or methods that could allow me to monitor them remotely, upgrade ...
0
votes
1answer
18 views

How to change JAVA_HOME temprorary with env command

I use openjdk for my work, but sometimes I need oracle's JRE. I thought that I could use 'env' command for this, but can't figure out why it's not working. I have openjdk in ...
-1
votes
0answers
19 views

What does ls > list do, what does ls >> list do? [duplicate]

I have been asked to explain how and why ls > list and ls >> list are different, unfortunately I don't even know what either of these do :( Also when I typed them into Linux nothing seemed to ...
0
votes
1answer
584 views

How to get “undefined references” such as “s_wsfi” and “do_fio” in f77 32-bit Fortran libraries using `gfortran -m32`?

Update: Per steeldriver's suggestion, I have tried to get libf2c, and have posted my new error here. ======== I am new to Fortran, but this is what I know: I am running on Ubuntu 14.04 My ...
0
votes
1answer
23 views

Strange commands on FTP logs

I'm battling with wordpress security problems and sometimes even I have tried everything my server sends spam by some hacker. I have checked my FTP log and I found this code ...
0
votes
1answer
26 views

Intermittent Network disconnection, Ubuntu, troubleshooting help

I purged network manager from my system (OS: Linux 3.13.0-53-generic #89-Ubuntu) Networking service runs on my system: sudo service networking status networking start/running Static interface ...
1
vote
1answer
55 views

Blocking or forwarding packets as access point

I set up my Pi 2 as a wifi access point following this tutorial. I'd like to implement a rudimentary QoS, according to the DSCP field in every packet's header. That means, blocking packets using low ...
0
votes
1answer
3k 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 ...
3
votes
1answer
39 views

How do I forbid access to physical memory in Linux?

I'm on an embedded system (Zynq from Xilinx. It uses ARMv7, Cortex-A9), and running Linux. I need to ensure that no access to a certain physical memory range is ever made, either accidentally by the ...
1
vote
0answers
16 views

SD card protected area

The Wikipedia article on SD cards mentions that about 10% of the capacity of an SD card is a so-called protected area, which is used for the security-related features of the card. Let's say I don't ...
0
votes
1answer
49 views

Linux dump, which folders/files are excluded from first backup?

When using dump, level 0, to save the whole concerned partition : $ dump -0f /path/to/target/drive / I'm said some folders are excluded (I guess, at least, tmp folder). I have not found more detail ...
35
votes
11answers
17k views

How do I find how long ago a Linux system was installed?

How can I find the time since a Linux system was first installed, provided that nobody has tried to hide it?
3
votes
1answer
564 views

GDM will not start on boot, unable to login into graphical interface

I am running RHEL 5.8 . SELinux is enabled but in permissive mode. Here are some snippets from /var/log/messages on boot. kernel: type=1400 audit(1360613500.551:6): avc: denied { write } for ...
0
votes
1answer
20 views

How to exclude .jpg, .jpeg, .png, .gif from a ClamAV Scan (clamscan)

As the title says. I'm running a clamscan command to scan my users home directories, I'd like to exclude images from the scan as these sites specifically have thousands of images. M
0
votes
1answer
64 views

Gentoo: how do I get an IP assigned to the network interface?

I'm noob. I'm trying to install Gentoo from the LiveCD (just for fun as well as for getting better understanding what's going on under the Linux's hood) on my notebook. I've faced an issue which is ...
0
votes
3answers
104 views

Where is .bashrc file found in Linux?

I am not finding my .bash_login and .bash_profile root@linux:~# locate .bash* /etc/bash.bashrc /etc/skel/.bashrc /etc/skel/.bashrc.original /home/noroot/.bashrc /home/noroot/.bashrc.original ...
0
votes
0answers
30 views

Error with GNOME and AMD Catalyst

I have two computers, both with AMD video card. I'm trying to install them Fedora 22 with GNOME, I followed the same steps on both, but when I turn on the computer, only one works, while the other ...
1
vote
1answer
33 views

How to make Apache piped logging scripts not run as root?

The organization I work for is very security-minded. There is a separation between the group of System Administrators who are responsible for the operating systems (who, obviously, have root) and ...
-3
votes
1answer
21 views

moving to homedirecory without using just cd foritself

Your current directory is cambridge. Move to your home directory using a relative pathname (don't use cd by itself for this move)
-1
votes
0answers
13 views

How to move a compressed tar from one remote server to another?

I have a .tar.gz file at remote server A. I want to copy this file to remote server B and uncompress it there. How can it be done? [you@localhost ~]$ scp examplefile ...
1
vote
1answer
2k views

Dual-boot Ubuntu cannot access the Windows drive that it was installed on with wubi

I had Widonws with two drives C: and D:. In the drive C:, I have my Windows. In the drive D:, I had my all other files and data. I installed Ubuntu in the drive D:, without deleting any data from it. ...
2
votes
1answer
668 views

unetbootin: cannot mount squashfs on loop device

Im having a bit of fun with unetbootin with linux mint 16 setup in it. However when I try run the default menu item I get an error that ends with this: can not mount /dev/loop0 ...
1
vote
2answers
43 views

Why is the range of load average not 0-1+ for all cpu's together?

I know that load average is 0-1(or 0-1024) per cpu. E.g a busy quad-core can have a load average of 4.0 or higher. (e.g if there are many tasks). I understand it can be huge like 100+ etc. I also ...
1
vote
0answers
14 views

Installing KDE broke my Cinnamon installation

I started my adventure with Linux Mint installing the MATE DE. Then I installed Cinnamon and switched to it. Recently I wanted to try KDE out. So I installed mint-meta-kde, kde-full, amarok, ...
0
votes
0answers
7 views

check_nrpe ssl couldnt complete handshake, in both master and client server it works fine individually

I am getting this check_nrep ssl couldnt complete handshake erro in master server when i try executing the below command. /usr/local/nagios/libexec/check_nrpe -H 10.192.122.234 10.192.122.234 --> ...