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

How does one set up a Linode with a certain number of inodes?

Normally when one creates a Linode, they choose a plan, and then deploy a Linux distribution, and choose how much of the disk to allocate. Normally there is a swap partition and a main partition. But ...
2
votes
0answers
13 views

tmux ignores the configuration files

tmux ignores the configuration files: both /etc/tmux.conf and ~/.tmux.conf. Even I pass the path to the configuration file, using tmux -f path/to/tmux.conf it still doesn't load it. The configuration ...
1
vote
0answers
18 views

How do I combine two keys to act as FN key with xbindkeys?

I have been hammering my head on the wall for the past two days trying to figure out a way to combine two keys to execute a function with xbindkeys. To make a long story short I have a chromebook ...
0
votes
0answers
14 views

Problems with USB microphone ARCHLinux

My USB mic in webcam in Skype not working (cam works fine). I use Arch Linux with alsa. I set up pulseaudio but then I removed it because it is not stable. cat /proc/asound/cards 0 [SB ...
1
vote
0answers
7 views

rpmbuild different path for sysconfdir

I am building rpm for opensips and i want to install this package in /opt/opensips path instead of default system path I have define following in my SPEC file %define _prefix /opt/opensips ...
0
votes
0answers
23 views

Using NVIDIA instead of Intel causes a different theme

My current setup is a laptop with an NVIDIA Optimus graphics card running Ubuntu 14.10 with Cinnamon as my desktop environment. I usually use the Intel card because of the reason I'm asking this ...
1
vote
2answers
30 views

do not show error if file doesn't exist on copy, without sending to dev null

I want to avoid my script posting an error if I try to cp a file that does not exist. However, I would like error messages to print out for any other error, such as insufficient permissions. This ...
1
vote
1answer
24 views

ls -lh vs du -sh * for file sizes within a directory

This might be a simple question to ask but I guess I am little confused in terms of 2 commands so I need help In a particular directory I have some files. If I want to check the size of the files, I ...
2
votes
1answer
51 views

sudo - ubuntu 12.04 [on hold]

I am running a Ubuntu 12.04 LTS server. Today I have been doing some maintenance to the server, and a security audit. I realized that sudo is not working the way I expected it to. In the default ...
2
votes
0answers
8 views

Cross-NFS file move adds ACL

Moving a file from one NFS4 mount to another adds an ACL. The reason, if I understand the process correctly, is that mv queries the system.nfs4_acl extended attribute of the source file, and uses the ...
3
votes
0answers
18 views

Does Samba 4 actually respect Unix file acls?

After researching the subject on the internet I drew a conclusion that Samba should take into account Unix file acls. During my tests I found the opposite. Only Unix file mode bits are respected, and ...
1
vote
1answer
31 views

Why doesn't Linux remove route from routing table if interface is physically down?

As seen below, Linux(3.7-trunk-686-pae) keeps route to 10.10.12.64/28 in routing table although the interface is physically down: root@kali:~# ip addr show dev eth0 2: eth0: ...
0
votes
1answer
43 views

tar & gzip the same folder but get different size [on hold]

There are two identical folders on two external hard disks. Two hard disks are brand new with the same format I tried du -s to check the size of both folders. The sizes are the same. The archives ...
0
votes
0answers
11 views

Enabling Integrated Graphics card and Nvidia Graphics card

I have IGC (intel) and Nvidia graphics card. currently my progress bar during boot time displays on the monitor connected to IGC (intel) . requirement : Progress Bar during Boot time should display ...
-5
votes
0answers
39 views

Is there really no need an antivirus for Linux [on hold]

I heard about Linux won't need any kind of antivirus. Is it true?
-1
votes
0answers
24 views

Best version of Linux for Java developer [on hold]

I'm a Java developer and want to choose the best flavour of Linux for my developing purpose. I've grown tired of Windows and I know Linux is the best alternative platform. I'm familiar with Java SE ...
0
votes
0answers
13 views

I overwrote OSX with Linux by accident [migrated]

So here is what happened. I installed Ubuntu onto a flashdrive hoping to be able to dual boot Linux/OSX. I burned Ubuntu onto the flash drive on my desktop PC (windows 8.1) with universal USB ...
4
votes
1answer
35 views

what's the difference between page cache and buffer cache?

In linux OS, you can type command "echo 3 > /proc/sys/vm/drop_cache" to release memory, and you can type command "sync" to release the memory. And in linux kernel there are two kind of cache, one is ...
2
votes
1answer
29 views

Generic shared resource locking techniques - is flock the solution?

I need to implement a locking scheme so that multiple processes can share a set of resources, while a "special" process can obtain exclusive access to that set of resources. These are batch ...
2
votes
1answer
12 views

(S/D)NAT over NF hooks

Could someone help on explaining the advantage of iptables NAT over the netfilter hooks. Say suppose, instead of using NAT if we create custom kernel module to bind handler with netfilter for PRE/POST ...
1
vote
0answers
44 views

Fedora 21 won't boot anymore; Computer wants me to perform MOK management

I have Fedora 21 installed. Last time it booted, I changed Gnome theme. Then I restarted and now I get following: If I select to continue boot, computer restarts and I get this window again. If I ...
2
votes
1answer
14 views

Make a request through vpn interface

I want to be able to make request through a specific network interface, like this: ping -I eth0.1 google.be ping -I eth0.2 google.be This example works on my multihomed OpenWRT router. I now want ...
0
votes
0answers
14 views

ipmitool set idrac mode

I have a DELL server R610, on this server there is a RHEL 6.4 This server has an idrac entreprise. I would like to configure the idrac from command line, avoiding reboot. I read on the man page of ...
6
votes
2answers
71 views

How to show line numbers in vim on the right side of the buffer?

I have set nu in my .vimrc which shows line numbers on the left side of current buffer. I would like to see line numbers on the right side. How to achieve this? UPDATE: This should also work for set ...
2
votes
2answers
63 views

How to find a specific file and move it to a specific directory?

How to find a specific file, and move it to the specific directory /var/tmp? For example I want to find the file 0914_Jul-2014.gz. Remark, the file 0914_Jul-2014.gz, is under ~300 subdirectories: ...
1
vote
0answers
25 views

X won't start on its own after kernel update [on hold]

I built a Fedora 20 home theater pc following the Fedora 20 nVidia Drivers Install guide. It did work well. However after yum update all ( in which the kernel was updated to 3.17 ) the machine boots ...
1
vote
1answer
13 views

creating a custom service on ubuntu

I am setting up an ap called scumblr (https://github.com/Netflix/Scumblr/wiki) The final step calls for initiating the server using the following 3 commands: redis-server & ...
1
vote
0answers
36 views

Trouble switching from DHCP to a static IP on Kali Linux

When I installed Kali Linux 64bit, I forgot to set up a static IP address, and now DHCP determines my address with my router. I have already modified /etc/hosts and /etc/network/interfaces to declare ...
0
votes
0answers
10 views

install grub from grub bootable cd-rom

I want to install grub from grub bootable cd-rom. I found the instruction to make grub bootable cd-rom at ...
0
votes
1answer
36 views

Rename files in selected folder in Linux [duplicate]

Command for rename file as IMG0001 to 4R0001 in folder for f in *;do mv "$f" `echo "$f" | sed 's/IMG/4R/g' `; done AND I just want rename selected folder /tmp/2014/1201 (rename files) ...
0
votes
1answer
27 views

Backing up Linux server to Windows domain

I'm maintaining a small Linux workstation/server in a Windows-domain-based environment. Apart from being in the same network, the Linux computer is not connected to the domain. Until now, I'm using a ...
0
votes
1answer
30 views

Make own graphical server [on hold]

I had experience to work with framebuffer and found it pretty well to make own graphical applications. But the problem is that framebuffer is too slow. My goal: 1) Make a new tty which will work for ...
0
votes
1answer
40 views

How to copy a file with scp via another server

I have three machines. The local machine L, Server1 A, Server2 B. L is able to connect to A A is able to connect to B L is not able to connect to B I want to copy a file from L to B without ...
1
vote
0answers
23 views

A modern, easily configurable DE [on hold]

I am looking for a linux desktop environment with modern look and feel and can be configured programmably (or has the capability of easily exporting and importing configuration) Does it exist?
0
votes
0answers
15 views

bootable usb creator without default bootloader

I want a program (a linux command is more preferable) to create a bootable usb drive but all the programs which I have seen have a default bootloader which they install but I want the bootloader in ...
0
votes
0answers
16 views

Gzip Mutliple files using single command [duplicate]

Want to Gzip my all the .csv files into a gzip file. I am using this command. gzip *.csv; Problem File contains '//' in its name that's why command is giving error. Error : - '//File.csv' is not ...
1
vote
0answers
13 views

Replace webcam transmission with an image from the hard drive

I'm working with an Android app installed in my Arch Linux using the emulator Genymotion. This app is not mine and I have not access to the source code, I'm just working with it. In some part of the ...
1
vote
0answers
13 views

Is it safe to use the -y and -Y flags to hdparm?

Is it dangerous to use the -y or -Y flag in hdparm during a write, or when the disk is still mounted, or will hdparm refuse to spin-down, or automatically sync and unmount?
0
votes
0answers
20 views

grub rescue, no device found

I'm using the Live CD as my "main-OS" for 2 days, because I can't start Linux Mint, I've tried many solution on the internet, all of them failed for me... It's probably because I have an old SATA HDD ...
2
votes
1answer
29 views

how does hdparm calculate spin-down times?

I have been trying various options with hdparm, like setting the spin-down time to 5 minutes withhdparm -S 60 and setting the APM to 1, but I end up getting a spin-down in less than 5 seconds... How ...
1
vote
1answer
22 views

unable to open luks encrypted device (wrong password)

I'm using CentOS 7 with a luks encrypted root partition. Usually I have to type my password during boot, but sometimes the system doesn't accept it. It reacts as it was wrong, but it isn't. I did not ...
3
votes
0answers
12 views

Discover what is cached by dm-cache

I am using dm-cache successfully for quite a while now. Now I would like to know which files are being currently in the cache. I understand that dm-cache works with blocks, not files, but since there ...
0
votes
0answers
6 views

Device nodes for an ATSC tuner not created

I'm trying to use an external tuner to tune to ATSC signals. But when I plug in the USB-Tuner I could see only frontend created. $ ls -ld /dev/dvb/adapter*{,/*} drwxr-xr-x 2 root root 60 Dec 5 ...
0
votes
1answer
43 views

Create A Script That Responds To A Password Prompt

I'm writing a shell script that will respond to a prompt. For example, when I execute a file, the executed file will then prompt the user with this: Please enter the password: Then I want the script ...
1
vote
1answer
49 views

How to enable using commands on remote host using ssh without password?

i set up to use ssh between two hosts without password. ssh log in is working fine but execute commands failed with the below erro: **isn't allowed to be executed with process or redirect ...
1
vote
2answers
47 views

Is system call the only way that a user program can intentionally affect the state of a Linux kernel?

I think there are several ways that a user program can intentionally affect the state of a Linux kernel. By invoking a system call; By invoking mmap() and writing the memory that has been mapped to ...
0
votes
0answers
38 views

Does one need access to the console to notice bash history was cleared? [on hold]

Yesterday one of my VPS with Godaddy failed to come back on-line after a reboot. The server was working but needed a quick restart to clear some memory after running large scripts. Apparently I ...
0
votes
2answers
57 views

Linux for use in a cyber café? [on hold]

My friend owns a cyber café and is facing lot of problem with various Windows operating systems. I thought about using Linux Mint or an Ubuntu flavor for the cyber café. I've seen Linux Mint's user ...
0
votes
0answers
7 views

ZIMBRA 8.5.1 : error: unsupported dictionary type: LMDB

We upgraded the Zimbra from version 8.0.5 to 8.5.1 as in these below steps. su zimbra echo smtp.DOMAIN.com UN:PW>/opt/zimbra/conf/relay_password postmap lmdb:/opt/zimbra/conf/relay_password ...
0
votes
0answers
18 views

Linux 3.x: Supported platforms

Where do I find an (up-to-date) list of supported CPU architectures of the current 3.x Linux kernel? As far as I understood the ucLinux merged their code into the official kernel. Is there any ...