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

Apache - Allow access for folders starting with /

I'm running apache in a linux environment. I've to serve files whose directory structure have "/." in it. Now, apache by default won't allow files with /. To remove the constraint, I've included the ...
0
votes
2answers
81 views

How can I use virtual users in “write list” and “read list” in samba?

Suppose I don't want to create effective users/group for my users (samba server as share server), and I need to create a share for them. Question : How can I use write list, read list, valid user ...
4
votes
0answers
28 views

Migrate an unprivileged LXC container between users

I have an Ubuntu 14.04 server installation which acts as an LXC host. It has two users: user1 and user2. user1 owns an unprivileged LXC container, which uses a directory (inside ...
1
vote
1answer
44 views

Deterministic method to find out whether some other process is in a chroot jail and where?

NOTE: I'm familiar with this U&L Q&A titled: How do I tell I'm running in a chroot? that sounds similar to what I'm asking, but there's a subtle difference to what I'm looking for. That ...
0
votes
1answer
31 views

Determine driver for network interface [duplicate]

I wanted to see which driver was associated with some of the network interfaces listed by ip link. My first thought was to find the network interfaces in /dev and look at the device major and minor ...
4
votes
1answer
80 views

problem when booting linux server : Too many levels of symbolic links

By mistake, I executed these commands : sudo ln -sf bash /bin/sh sudo ln -sf bash /bin/bash When I rebooted the Linux server in recovery mode I got this message: init : Failed to spawn ...
2
votes
3answers
198 views

CentOS 7 created mdadm array disappears after reboot

I created a raid1 using the below disks and command: $ ls -l /dev/disk/by-id/ata-ST3000* lrwxrwxrwx 1 root root 9 Sep 19 07:27 /dev/disk/by-id/ata-ST3000DM001-9YN166_Z1F04NR1 -> ../../sdc ...
1
vote
1answer
45 views

Getting driver for windows HW

I've asked this question on Ubuntu but didn't get any hint, so I'm trying here I've a wireless adapter LINK, the problem is that I've only got a windows drives for this device, but I really need it ...
1
vote
5answers
66 views

Rename a portion of multiple files

Take a number of files named: data_a_LT.fits data_a_LT.coo data_a_LT.ec data_a_LT.grp I want to replace all "a_LT" with "LT_A" such that I have: data_LT_A.fits data_LT_A.coo data_LT_A.ec ...
4
votes
1answer
36 views

How can process doing “vfork without exec” end up in a long uninterruptible sleep?

In this answer user suggests that Normally, Uninterruptible sleep should not last long, but as under windows, broken drivers or broken userpace programs (vfork without exec) can end up sleeping ...
0
votes
0answers
32 views

How to get diff for HTML reports?

echo "New defects" echo "===============================" n=0 def_num=0 while read line; do n=$((++n)) if echo $line | grep '^[[:space:]]*>' &>/dev/null; then if [ $(($n % ...
2
votes
0answers
17 views

How to locally validate DNSSEC?

I want to simulate the process of chain of trust validation locally , I do the following :- 1) signed my zone. 2) unbound installed , but i can not configure it for DNSSEC validation could you help ...
0
votes
2answers
36 views

How can i recreate the YAST GUI in text file

I am new to Linux, have an OpenSUSE vm and want to list the applications installed. I know i can do a RPM cmd and ls {PATH//: /} seems to return a long list although it is full of non-application ...
2
votes
2answers
178 views

Connecting Linux Mint to WiFi network

I just installed Linux Mint 17 (MATE) on an old laptop and everything works amazing, however I can't seem to get it to connect to my WiFi network. All my other computers can get access, plus, before ...
1
vote
3answers
68 views

How to display contents of mounted /boot and '/' root partitions?

How to display contents of mounted /boot and '/' root partitions of Debian on SSD drive from Linux Live CD? I know ls -1 to list directory contents, but what is exact steps to get this?
0
votes
0answers
35 views

gnome-classic as default session for all users?

How to set gnome-classic as default session for all users in gdm3 (system-wide setting)? I'm using Debian Jessie with GNOME 3.12. I've tried creating fake gnome.session in ...
0
votes
0answers
36 views

GParted hangs while resizing partition

I decided to shrink a FAT partition on my memory card by 768 MB to make place for a new one. GParted hangs on the fsck step. The progress bar halts and any window above it leaves the part of the ...
2
votes
1answer
12 views

resetting keys changed by xmodmap

I am playing around with xmodmap filename to assign among others, the Euro sign to the number five key on my US keyboard. I have done some wrong assignments and want to reset them, and I don't want ...
0
votes
3answers
72 views

Screen capture application for RHEL6.5

I need some screen capture application for RHEL6.5 and tried few ways to get one but failed. yum install gnmoe-utils and got: Reading Local RPMDB rpmdb time: 0.000 Setting up Install Process ...
1
vote
1answer
81 views

ifconfig ethernet (eth0) no data flow

Hello this is my ifconfig output: eth0 Link encap:Ethernet HWaddr 50:46:5d:44:5e:fe inet addr:10.0.0.6 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: ...
0
votes
0answers
22 views

How fast is a process reading/writting virtual memory?

So, we have top, htop, iotop, iostat, vmstat, etc, to measure many different things on Linux, but how can one measure how much MB/s a process is reading and writting to/from RAM, i.e., virtual memory? ...
1
vote
1answer
100 views

How to force change linux password even if similar as previous

I am trying to change my current password in Red Hat Enterprise Linux Server release 5.10 (Tikanga) but it says my new password is too similar. Is there any way to force change ? $ passwd Changing ...
-5
votes
1answer
83 views

How Linux differs from other scripting languages? [closed]

I am interested to acquire a small amount of intermediate knowledge in Linux, I would like to learn to write scripts using Linux operation, I am preparing for Red-Hat Certification sometime next year. ...
0
votes
0answers
72 views

Capstone for Python not working

I'm unable to get Capstone (http://www.capstone-engine.org/lang_python.html) for Python to work. I have attempted to install capstone both using pip and compiling and installing from source. Both are ...
0
votes
1answer
24 views

history command - 50 entries threshold [duplicate]

When running history in some distro installation(from boot cd) I noticed the entries only go up to 50, overwriting older entries once reaching that threshold. Is this defined by each distro? or is ...
0
votes
1answer
36 views

sfdisk don't like partitions - want to dump another hard drive to restore software RAID

I'm using Cent OS 6.5. I have two Hard Drive which are exact copies of each others (/dev/sda and /dev/sdb). /dev/sda failed and had to be replaced. I am trying to copies everything from /dev/sdb to ...
4
votes
3answers
408 views

Switching among cli and vim and other files workflow

I saw some kind of workflow in vim: Vim had a file open. Then some combination of keys made vim disappear and the user was in the command line working in cli mode, then opened another file and then ...
0
votes
0answers
36 views

Folding in vimrc does not work as expected

I added these to my vimrc: set foldenable set foldmethod=syntax set foldlevelstart=1 let javaScript_fold=1 " JavaScript let perl_fold=1 " Perl let php_folding=1 ...
1
vote
3answers
72 views

Server running on guest Linux VM will not accept connections from Windows host

I have a simple echo server program running on CentOS 7. If I run both the client and the server in the VM, I can connect to the server. I'm using VirtualBox with the "bridged" network configuration. ...
2
votes
1answer
73 views

How to Mount a Drive with Right Filesystem?

I am trying to mount the device /dev/xvdc on my CentOS system. When I run an fdisk command I get: Device Boot Start End Blocks Id System /dev/xvda1 * 1 33 ...
17
votes
2answers
941 views

Why does `kill -l` not list signal numbers of 32 and 33?

Executing kill -l on linux gives: 1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL 5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE 9) SIGKILL 10) SIGUSR1 11) SIGSEGV ...
0
votes
2answers
63 views

Removing duplicated files in the rootfs - to speed up booting time, and improve memory usage

With Buildroot I'm making images for my Embedded Linux Hardware. Mainly I'm trying to speed up the boot sequence (and on the way lower the memory usage), where I've tried many techniques successfully. ...
0
votes
1answer
64 views

NAS set-up issue with NFS protocol in linux Mint

I have a Synology NAS that I'm trying to map in my Linux machine as if its like a regular HDD drive. I have looked all over the internet without being able to figure out how this thing works. I have ...
0
votes
0answers
19 views

third party linux auditing software

Linux has a audit system built-in in its kernel and a user space process called auditd reading the system calls intercepted by the kernel. Are there alternate solutions to the Linux Audit system ? I ...
2
votes
0answers
21 views

How can you annotate or club info into ELF core files on Linux?

For debugging core files it would be useful to add additional information into a core file at the time it is generated. I'm currently using /proc/sys/kernel/core_pattern to run a 'dumb' script that ...
2
votes
2answers
74 views

How to use/test pivot_root?

I want to test the pivot_root command which moves the root file system of the current process to the directory put_old and makes new_root the new root file system. But I always get the following ...
0
votes
1answer
24 views

Linux [admin] How to test pivot_root?

I want to test the pivot_root command line, which moves the root file system of the current process to the directory put_old and makes new_root the new root file system. ...
0
votes
1answer
19 views

Linux packages - Separate Python's external libraries from the system

I read this articles (check What About Python CLI Tools?). Well, this is obivous, separate external Python packages from your System Python's site-packages. When doing a sudo apt-get install package ...
0
votes
0answers
20 views

How do I rescue Qubes OS?

When logging into Qubes I get a black screen of death (no backlight). After setting up /mnt/sysimage in rescue mode, rebooting fails because exiting shell (ctrl+d) gives a Pane is dead error. ...
1
vote
1answer
370 views

sudo service command not found when installing mongodb

I am currently on OS/X using macbook. I want to stop the instance of mongodb service running. Hence I tried: > sudo service mongodb stop sudo: service: command not found After looking up on ...
0
votes
1answer
43 views

Comparing Windows and Linux machine hardware

I have to compare Linux and Windows machine hardware? In windows system, I can open the My computer properties and see the details like processors, RAM Hard disks etc. Through task manager, I can see ...
0
votes
1answer
46 views

Samba share open for all to all

thanks for viewing at this question. I have a CentOS 6.5 server with a share that is and should be accessable for and from everyone. All content placed on that share should be accessable by everyone. ...
2
votes
1answer
255 views

Installing linux on an 32bit UEFI only machine

I have a Intel BayTrial Z3735D tablet which comes with a 32bit UEFI BIOS. After some search I've found that most linux distro don't come with a 32bit efi file. How can I insert one (or build a new ...
1
vote
2answers
45 views

Linux 3.x init ramdisk embedded in bzImage?

Is the initial ramdisk embedded into the bzImage? How to load an rootfs.cpio as a ramdisk and switch the root?
0
votes
0answers
131 views

Problem dual booting windows 8.1 and deepin on 2 different hard drives

I have two internal hard drives, one is 320GB and the other is of 1TB. I've installed windows 8.1 on the first one (the 320GB hdd), and using mini partition tool wizard I've partitioned my 2nd hard ...
1
vote
0answers
18 views

Compiling drivers for armada 370

I am trying to compile usb_serial drivers for a Mirabox with armada 370. I first tried as followes : Install linux source for 3.2 (running kernel is 3.2.36) Install linux headers for 3.2 Edit the ...
9
votes
1answer
298 views

Linux: Is there handy way to exec a program binding it to IP-address of choice?

In FreeBSD 4.9 it was very easy to accomplish with just a single command like jail [-u username] path hostname ip-number command if path was / you had running just the same program as usual but ...
-4
votes
1answer
230 views

No Package Manager Kali Linux 1.0.9

I have been searching for this problem everywhere from last 6 hours but never came to an answer which I understood I don't have much experience on Kali Linux but I recently installed Kali Linux 1.0.9 ...
1
vote
0answers
60 views

Linux 0.0.1 Kernel - Starting Kernel Programming

To start kernel programming, instead of reading the books, the online references suggested to download the linux 0.0.1 source and find bugs. I have downloaded it and I am going through the code with ...
1
vote
1answer
45 views

Send specific signal number with specific key

I want to set a specific key like F12 to send me a specific signal number that out of linux signals range that I can handle this signal with trap command. How can I do that? NOTE: I'm working with ...