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

2
votes
1answer
663 views

redirect web server with no-ip and port forwarding in livebox

I want my Apache web server running on a Livebox (home router appliance running Linux) to be accessible from the Internet (WAN). I installed and configured the application noip2 on my Ubuntu PC. ...
0
votes
1answer
49 views

Linux shell script to automate user creation [on hold]

Linux enables tasks which are regularly carried out to be automated through the use of shell scripts. How do I write a shell script that could automate the task of creating new users and assigning ...
0
votes
1answer
42 views

How can I edit /proc/net/tcp?

I need to edit 1 line in /proc/net/tcp while the file is also used by the linux kernel for updating other lines of it by the kernel. Background: Each line in /proc/net/tcp represents a TCP socket. ...
3
votes
1answer
503 views

Make RPM Satisfy Dependency Requirements of Other Installed Packages

So, I am installing a java app that I wrote which uses jnetpcap. This requires libpcap of at least v1.0.0. My CentOS 5.8 only has libpcap 0.9.4, which is required by other installed packages. I've ...
1
vote
0answers
11 views

Switch gateways on failure (WRT)

I have two WRT routers each connected to their own wireless gateway (cell phone and hotspot across the street). The routers lans are bridged with WDS and on the same subnet, so clients can connect to ...
1
vote
1answer
1k views

What is the difference between Copied context output format and Unified context output format while taking diff?

What is the difference between Copied context output format and Unified context output format when taking a diff? diff -NBur dir1/ dir2/ diff -NBcr dir1/ dir2/
0
votes
5answers
45 views

Difference between 'ls -ltr abc*' and 'find ./ -name abc*' command? [duplicate]

To search a file in a directory, I found two commands as below: ls -ltr initialfilename* find ./ -name initialfilename* Sometime, first command gives me the search result but sometime I used to ...
0
votes
1answer
26 views

How configure properly vncserver in Red Hat Enterprise Linux Server release 6.5

I'm trying to start vncserver in a Red Hat Enterprise Linux Server release 6.5 with an user created for that, and when I type vncserver I got this: WARNING: The first attempt to start Xvnc failed, ...
0
votes
2answers
38 views

Grub-install: what's the root directory

Can anyone provide a clear explanation what the root directory is for grub-install and when to use it?
1
vote
3answers
3k views

Virtual Interface Not Showing up in ifconfig?

I am trying to create a virtual interface for the purpose of NameBased Virtual Hosting on my CentOS linux box; please find below is the devices' information:- DEVICE=eth0 BOOTPROTO=dhcp ...
7
votes
4answers
13k views

How to create a dupe of a KVM/libvirt/virt-manager VM?

I'm a bit lost with virt-manager / libvirt / KVM. I've got a working KVM VM (Windows XP) which works nicely. The VM is backed by a 4GB file or so (a .img). Now I want to do something very simple: I ...
0
votes
2answers
1k views

Failed dependencies trying to install package 'libxml2'

I am trying to install libxml2, but my system complains about dependencies. The dependent packages exist on system. The ultimate goal is to install xml_grep2, I have been trying various methods ...
0
votes
1answer
460 views

Live Linux distribution with preinstalled NVIDIA CUDA support

Is there any Linux distribution with preinstalled NVIDIA CUDA support that could be launched from a live CD/USB drive?
2
votes
0answers
25 views

UNIX sockets vs AF_NETLINK vs Kdbus vs Binder

What are essential differences between those IPCs? Which are main use cases? Is there some consolidated comparison table between them somewhere? Something like: Protocol: AF_UNIX | ...
2
votes
1answer
32 views

set default process and IO priority on Linux for given application/executable

Is it possible to set up some sort of default process and IO priority for given application/executable? I am thinking some sort of FS extended attribute or loadable "policy" of sort?
0
votes
1answer
539 views

how to have root partition LVM for RHEL 5.8 64 bit on AWS EC2

I am new to this and I have to create a RHEL 5.8 Amazon Machine Image (AMI) in which the root partition should be a logical volume. I know how to create a data partition as a logical volume but am not ...
3
votes
4answers
4k views

Why did my package get installed to /opt?

A while back I installed couchdb from source on my debian machine. It seemed to install okay and everything worked. A few weeks later I wanted to upgrade and installed from a .deb using dpkg. ...
2
votes
2answers
66 views

Change Password Programmatically

In the current version of Raspian, I know it is possible to change the password of the current logged in user from the command line like so: sudo passwd which will then prompt the user to enter a ...
2
votes
0answers
24 views

Thin LVM pool frozen due to lack of free space, what to do?

My thin LVM pool got full and some programs hung: device-mapper: thin: 253:4: reached low water mark, sending event. device-mapper: thin: 253:4: no free space available. INFO: task jbd2/dm-6-8:742 ...
0
votes
0answers
16 views

How to add routes multiple times in routing table?

Need to add same route multiple times in the routing table, or is there a way to maintain references in the routing table entries ? (may be with different priorities etc.) Am working on a switch ...
2
votes
1answer
239 views

What are the systemd command line options “--switched-root” and “--deserialize”?

Doing a ps on my Linux box shows that systemd runs with the command line options --switched-root and --deserialize. Nothing in the man page or /usr/share/doc/systemd mentions them, and Google hasn't ...
0
votes
2answers
33 views

/usr/java/jre1.8.0_31/bin/java.exe: No such file or directory

I've been trying to run a plugin inside a I have hired, and I've constantly been getting this error: [04:13:41] /bin/sh: /usr/java/jre1.8.0_31/bin/java.exe: No such file or directory Not too sure ...
0
votes
0answers
17 views

Which flags should I use for my “netstat” commands?

I would like to use two variants of the netstat command; one exclusively for IPv4 and the other exclusively for IPv6 traffic. In both cases I would only like to list the following information: ...
2
votes
1answer
58 views

Device eth0 does not seem to be present, delaying initialization

I have cloned a fedora and now trying to configure network interfaces. Every time i am adding a new NIC, it starts with number eth3 (rather eth0). i have tried removing and modifying the ...
1
vote
0answers
7 views

Can I create a buffer file with arecord?

I need to record some sounds from my audiocard to make a stream(Nothing special in this just trying new things), but I can't make the arecord play direct on it, so can I create a buffer file where the ...
5
votes
1answer
145 views

Host system keyboard layout changes when starting LXC container

I successfully created an archlinux container on an archlinux host with lxc. However, whenever I start a container via lxc-start -n GUESTNAME the keyboard layout changes to the default ...
2
votes
1answer
797 views

Startx results in a black screen

I recently wanted to solve a problem with using a second monitor from my laptop that is running debian (jessie) but because I lack knowledge things didn't go as planned. Now I am getting booted into ...
1
vote
2answers
755 views

Linux guest VM on mac host - Keyboard

I use a Mac as a development box, but am slowly transitioning to Linux. So I am spending the majority of my time in the Linux guest VM while working. But I still spend a fair amount of time in Mac ...
51
votes
5answers
37k views

What is a Superblock, Inode, Dentry and a File?

From the article Anatomy of Linux File Systems by Tim Jones, I read that Linux views all the file systems from the perspective of a common set of objects and these objects are superblock, inode, ...
0
votes
1answer
44 views

UNIX Account management

Would like to know if there's some opensource solution aimed to manage and administer system authentication and RSA keys for staff, contractors and clients across the organization. My systems to ...
0
votes
1answer
26 views

Install mail server in VM

I have a Intel NUC with an i3 processor running the latest Mint version with the Cinnamon desktop and already installed some basic services (Apache, MariaDb, ownCloud etc). The next step would be to ...
1
vote
2answers
59 views

How to keep a process from running?

I can kill a process. But how do I keep that process from being called up again without removing it from Linux? For example, if I run something like netstat to find the port associated with the ...
0
votes
0answers
12 views

centos 7 installation with customized bridge module

I have installed latest Centos 7 x64 edition in my server. I need to modify the linux-bridge module with some customized changes and use it as a default bridge module. Currently I am building centos ...
1
vote
1answer
18 views

how to change cifs timeout

Happens when from my laptop I change wifi network that I've to wait 5 minutes before that I can umount cifs share. mount -t cifs //ip/share /home/user/net/share -o user=user,pass=pass I didn't ...
1
vote
1answer
37 views

How can I have a system boot in to a root session and then run a command within that session?

I have a GNU/Linux system with one account, the root account. When I boot the system, I want it to automatically log in to the root account and then run a 'telnet' command within that session. How can ...
1
vote
0answers
13 views

Setting custom baud rate on console

Just for aesthetics I would like to have my text on my console be displayed at a lower speed. I've tried using things like screen with custom baud rates of /dev/tty1 but it wouldn't work, input from ...
2
votes
1answer
23 views

Grub-install: device vs partition

Grub can be installed to a device (grub-install /dev/sda) and to a certain partition (grub-install /dev/sda1) - as I understood. My question - if we install it to a partition will grub-installer write ...
3
votes
1answer
511 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 ...
1
vote
0answers
16 views

What does the “Shared” Field indicate in “free” command? [duplicate]

I want to know what "Shared" Column indicates in the "free" command. total used free shared buffers cached Mem: 3818 3677 140 37 ...
6
votes
2answers
86 views

Is it possible to enlarge the / partition without rebooting?

I can enlarge the root (/) partition with fdisk without rebooting (deleting an recreating it with the same 1st sector, but greater last sector). However, I cannot make the kernel to re-read the ...
0
votes
2answers
850 views

Linux Permissions vsftpd

I have mybb installed and running in /var/www/forums. I have two users part of the www group, logan and www-data. I have the recursive permissions of forums directory set to: chmod -R 755 forums ...
0
votes
0answers
8 views

Turn on bluetooth on login screen

Is it possible to have bluetooth turned on and use a bluetooth keyboard when at the login screen? So far I only managed to start the bluetooth daemon when logged in. I added it to systemd with ...
0
votes
1answer
10 views

how to properly configure samba access using groups

I am having trouble trying to get a specific group to access samba server through windows. is it possible to allow certain groups to the file sharing server? example, I have a group called ...
2
votes
1answer
508 views

How to enable/disable a serial port?

I need to disable and then enable a serial port for testing purposes on a Java program. Since the man page of setserial is stating: "Using UART type none will disable the port.", I use sudo setserial ...
0
votes
0answers
36 views

Conceptual question about data corruption and mounting

If we have a partition /dev/sda1, and mount it to a mount point (i.e. /mnt), we can then use the files and folders under /mnt. Before changing the partition /dev/sda1 I umount /mnt, and then perform ...
3
votes
3answers
1k views

How to enable wifi using keyboard (Dell Inspiron 14r) in suse Linux 11.4

I have installed both Windows and SUSE Linux (11.4) on my Dell Inspiron 14r laptop. Both are working properly. I am facing one strange problem. I went to my Linux OS wifi was working fine and I ...
5
votes
0answers
1k views

Mouse scroll wheel speed far too sensitive

In my crunchbang installation with X11, openbox, my wireless usb mouse is listed at both /dev/psaux and /dev/input/mouse0. It's working fine apart from the scroll wheel, which although active, is far ...
5
votes
0answers
469 views

'OS X-like' momentum scrolling in linux?

Is there a way to make the scrolling on a linux machine (running X11) more like OS X's natural scrolling? With 'natural scrolling' I mean the fact that you can flick trough the pages, there is ...
0
votes
0answers
16 views

Why do XInput controllers work on linux? [closed]

Why do XInput controllers work on Linux? Isn't XInput part of DirectX and isn't that a MS proprietary API?
4
votes
2answers
40 views

htop shows only the processes of the user that's running it?

On my old Debian Wheezy I see as a normal user without sudo all processes from all user in htop. On my new Debian Wheezy I only see my own processes. Old system kernel: 3.2.0-4 New system kernel: ...