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
0answers
19 views

How to USB tether to FoxFi / pdaNet app

i purchased the Android PdaNet / FoxFi app years ago for rootless tethering on an umlimited data plan. USB and BlueTooth based tethering do not require root, but does not require software running on ...
1
vote
1answer
24 views

Turning off DMA on Linux still supported

Trying to turn off DMA on my Linux machine returns: HDIO_GET_DMA failed: Inappropriate ioctl for device I remember that this used to work to turn DMA on or off. I also tried using the kernel ...
0
votes
1answer
51 views

Linux : Best way for cloning/backingup

I browse various solutions for backing up : tar (and his -N option, for incremental tar files) dump (and his level feature backing only new files, if wanted) fsarchiver CloneZilla ... Starting ...
-1
votes
1answer
26 views

create virtual adaptor over network on other machine

I have Machine A (Desktop environment install/Powerful machine) running Linux that has all my programs, scripts etc on it. I connect to machine B (Voyage Linux (Debian)/ALIX pc engines) over ethernet ...
-2
votes
1answer
31 views

Linux “dump(8)” command

I plan to use dump(8) for backing up a Mint disk. Some doc about: http://linux.die.net/man/8/dump Hum... is it deprecated ? (dont work with ext4) Is it a Debian & co (ucuntu, mint) solution ? ...
0
votes
1answer
17 views

ufw rule deny default outgoing

I want to deny all outgoing traffic by default, except ssh connections. I added this rules: ufw default deny outgoing ufw allow ssh Then I restarted the firewall by: ufw disable ufw enable ...
0
votes
0answers
41 views

CloneZilla, does exist a simpler method?

While browsing the web for backing up my disk, I often see CloneZilla in the results. As a beginner with Linux, the process seems tricky to me (Live USB, etc). Note: I plan to back up my whole disk ...
0
votes
0answers
17 views

On startup deamon generates:foo[2822] general protection ip:7f1723f582f2 sp:7fff1ae34738 error:0 in libc-2.11.1.so[7f1723ed9000+16f000]

I've created a deamon which during startup generates the following message in my logs. foo[2822] general protection ip:7f1723f582f2 sp:7fff1ae34738 error:0 in libc-2.11.1.so[7f1723ed9000+16f000] ...
1
vote
2answers
33 views

How to remove data in / directory [duplicate]

I would like to know what is contained in the "/" directory and is it capable of utilizing 50GB. My system all the 50GB allocated to "/" had been utilized. I want to know what to delete if want to ...
1
vote
1answer
35 views

Backup system image.

Is it possible to create an image backup of my installed linuxmint. I would like to be able to have a restore image to reinstall Mint as I do with windoes system image backup (for instance). In ...
1
vote
1answer
40 views

How can a file descriptor be reclaimed and reused later?

In context of C and C++, is the close() system call the only way for kernel to reclaim the fd and reuse it later when calling open() in the same process lifetime? What about multi-threaded programs?
1
vote
1answer
41 views

Linux process - messages from kernel [closed]

I have been learning about different IPC mechanisms present in Linux, for communication between user space processes. I want to ask what are various ways in Linux for the kernel to communicate with ...
1
vote
1answer
19 views

Problems with wireless usb mouse on slackware

I have a logitech m570 mouse that I cannot get to work on slackware64 14.1. My problems began with me being unable to use "X-configure" because of an error with the amount of screens, to create a ...
3
votes
3answers
29 views

Start non-GUI application after network connection is up and running

I'm using Raspbian, which is based on Debian. My Raspberry automatically boots into the desktop. I have a small program written in C and compiled with g++ as executable. The program needs a running ...
1
vote
1answer
36 views

How to discover whether magic SysRq key is enabled, and what keys invoke it?

How can I know what keys will invoke the magic SysRq key? Provided I am in front of a Linux machine which is not frozen (yet). I need something easier than trying all common combinations of magic ...
1
vote
1answer
26 views

Unable to run the script in cron via manifest

I am trying to deploy a script to agents and run the script using cron every hour. When I am running puppet agent -t I am getting error: Error 400 on SERVER: Invalid parameter path on ...
1
vote
1answer
36 views

ifconfig showing invalid ip address

I booted pretty old PC (HP d530) with latest (2015.06) Gentoo linux minimal cd. The next step I wanted to perform was to enable SSH server on this machine. I ran ifconfig to see the ip address of my ...
4
votes
1answer
47 views

How is raw mouse movement converted to /dev/input/mice content?

Raw mouse movement is generating some data and sent via USB. It is then getting processed somewhere and written into /dev/input/mice & supplied to GUI, etc. How is this happening? If I want to ...
1
vote
1answer
26 views

How to copy a installed library to a remote Linux host

I am a newbie on Linux and trying to host my Java project on a remote linux host(CentOS). My Project depends on some native libraries that needs to be existing in the host, and since it is a shared ...
1
vote
1answer
282 views

How to install AMD Catalyst 15.3 (fglrx 15.20.1013) on Fedora 22

I need help installing the AMD Catalyst 15.3 driver in Fedora 22, since that is the only driver that supports the X11 server 1.17, does anyone know how to install it?
1
vote
1answer
33 views

Booting encrypted disk kernel error: Cannot initialize device-mapper

I have Ubuntu 15.04 with a default full disk encryption installed on my chromebook Pixel with linux-samus kernel patch and everything is working fine. I've just tried compiling a newer version of the ...
1
vote
0answers
42 views

Formatting drives in linux always makes them read only [closed]

I'm using Debian 8 and trying to create an ntfs partition (on /dev/sdd). Whenever I format a drive either through the nautilus interface of right click > format... or even through command line ...
0
votes
2answers
22 views

How can I install kerberised services on debian?

I installed kerberos in my debian environment and made it work with SSH. I also would like to try it with other services but I could not install them on debian. I followed several tutorials e.g. ...
1
vote
1answer
17 views

Packets not forwarded due to second routing table

I've just spent about an hour trying to understand why my docker containers couldn't connect to the internet, in particular couldn't resolve any DNS names. By now I've found a workaround, but I still ...
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
45 views

Why do files created via Samba get different ACL (mask) permissions depending on the client OS?

I tested this on a clean install of Debian Jessie, but I also have this problem on other machines (ex: Ubuntu 12.04). In addition to the base install, I installed sudo, samba, and cifs-utils. Shared ...
2
votes
1answer
21 views

Dialog Script break sequence

I am trying to create a console based menu for sshing to devices within our network, but I don't want the user to be able to break out of the menu. Would dialog work in this case? If not do I have any ...
1
vote
1answer
21 views

Invalid MIT-Magic-Cookie on own machine with each new wifi connection

I only recently dug into this issue enough to roughly understand the problem as one relating to the fact that X11 functions around connecting to a display 'server' of sorts. Which leads to my problem ...
0
votes
0answers
27 views

kernel make install fails with lacking dracut module 'dmsquash-live' on Fedora22

I have a problem on Fedora22 when make install build kernel. I downloaded kernel source and 'make'. It was ok. When I try to 'make install', I got this error. [root@localhost linux-4.0.5]# make ...
1
vote
2answers
34 views

Is it possible to have bash variables persist between runs

I am trying to create an init script which queries losetup -f for a free loop device. Within the init script I have a start() which queries losetup -f for the free loop device to setup some stuff, and ...
2
votes
1answer
36 views

mount /var/log as tmpfs in Linux

My current laptop hard drive (Seagate ST940818SM) is slow (max 42MB/s R/W speed) and out of space. Mounting /tmp and /var/tmp as tmpfs does a lot of performance improvement. So is it safe to mount ...
0
votes
2answers
26 views

Advantage of GPT over MBR partition table [closed]

What is the advantage GPT partitioned hard drives on older BIOS system ? when boot drive is bellow 2TB on a BIOS system or UEFI boot disabled grub on BIOS system with GPT partitioned needs an ...
0
votes
2answers
21 views

Convert files from .iso using Linux

I have a number of .iso video files 4.7GB is size. I'd like to convert them to perhaps .avi or .mpg4 format to reduce the size and for playing on equipment that likes files not DVDs. Running Linux ...
-2
votes
2answers
59 views

One `if`, two `then`s: Why not? [closed]

I want to make a script that adds a space every time it counts up and outputs the number it's at until it gets to 10 then stops. I'm learning scripting and I'm just making simple scripts to learn. ...
0
votes
1answer
52 views

Why ARM devices are not shipped with latest Linux kernel?

Wondering why ARM based devices like Raspberry Pi, Android phones, Routers etc. are not shipped with latest Linux kernel ? Is it simply due to lack of proprietary device driver support ? Like lack of ...
3
votes
1answer
28 views

See total bandwith a process has used

I am currently watching some process on my server and want to see how much bandwidth it has used in total since it has been started. I don't want to know its current usage, nor does nethogs / nload ...
0
votes
0answers
22 views

Unable to delete a user: user test is currently used by process xxx

I'm trying to delete a user: pgrep -u test ps -fp $(pgrep -u test) killall -KILL -u test userdel -r test But the last command always returns userdel: user test is currently used by process xxx ...
0
votes
2answers
25 views

Content cached in RAM while writing to disk - Linux

I'm facing this issue since ever I started using Linux Distros. While copying/moving either graphically or with cp one/many big content(anything like big text file, tar.gz archive, iso file, movies) ...
11
votes
8answers
2k views

What to use when the “ls” command doesn't work?

I tried to use the ls command and got an error: bash: /bin/ls: cannot execute binary file What can I use instead of this command?
0
votes
0answers
15 views

Running a DE in chroot?

I'm looking to run a desktop environment inside of chroot using Xnest. So far I've gotten Xfce to work but everything else not so much. Both cinnamon and gnome fail to run. Cinnamon gives me this ...
1
vote
0answers
16 views

Get window name on Red Hat Gnome

Is is possible to get the title of a window (Eg. gnome-terminal) via a terminal command, without installing any outside packages like xdotool, xprop or wmctrl? Much appreciated.
0
votes
0answers
13 views

Ext3 Journaling Question on inode and disk layout

I was going through Journaling and JBD and wanted to ask you a very basic question for which I was not getting an answer: 1.Why Journal Inode number comes as 8 when we do ./dumpe2fs? 2.So far my ...
0
votes
2answers
43 views

Grep for regex in basename but return wholename

So say I have a list of files in a text file: ... /foo/barfoo /bar/foo/foobar /foobar/bar/foo ... I have a script that will search through this text file and, much like the locate command, I want ...
1
vote
1answer
23 views

any option to ignore a dns server ip from /etc/resolv.conf when doing nslookup?

We have a list of dns server IPs in /etc/resolv.conf. When doing nslookup for a particular scenario we would like to ingore the second entry below, so that naming resolution occurs via other 3 DNS ...
0
votes
0answers
18 views

How to access boot: invite?

I'd like to simply try a root pawd reset, by entering linux single whan systems display boot: when booting. But my Mint system goes directly to user home prompt. Tks
0
votes
0answers
9 views

Suggested server for Tomboy synchronization

I'm using Tomboy on my desktop and Conboy on my phone (N900). I'd like to synchronize them with a remote server (I don't want to set up my own server for the time being) Now with Snowy discontinued, ...
2
votes
2answers
46 views

High IO wait - How to determine the root cause?

I have a MySQL instance on two dedicated servers. One for the production, the other for the test platform. The 2 servers are pretty the same, the only difference is the RAID controller and the ...
1
vote
0answers
22 views

How can I modify a netinst.iso image to run a bash script on boot?

Background Using Fedora 21 with LVM on a Toshiba C50-B-021 laptop with UEFI (which from what I understand doesn't actually turn off), every time the computer runs out of battery it will hang on boot. ...
0
votes
3answers
22 views

how to show port numbers that are listening for the incoming connections under TCPv4?

I want to use command line to show only the port numbers after ":" only This is what I'm trying to do sudo netstat -ant |grep LISTEN|grep :|sort -n|cut -c 45- It shouldn't list any tcp6 info
1
vote
1answer
69 views

How do I resize the active partition (in Ubuntu 15.04)?

When I first created this virtual server with VMWare it was 16G, but that has proven to be insufficient space. So I recently resized it with GParted to 32G using the Live CD. Judging by the results ...