These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

1
vote
0answers
25 views

Linux cannot create new partition (no sector available) How to resolve it? [closed]

I have installed in my laptop VMware workstation in that VMware workstation I installed RedHat server. While installing time i took 20gb space afterwards I am creating partitions. In that already 2 ...
2
votes
1answer
47 views

Problem using GSM USB modems on HP Pavilion laptop

A week ago I migrated from an old PC running Ubuntu 11.04 to Laptop running Kubuntu 16.04. I am having problems using USB modems on the new setup. 1st modem is a ZTE. This modem intermitently loads. ...
0
votes
1answer
20 views

Achieving a high-availability ffmpeg system ?

I was wondering if there's a way to realize a sort of "high-availability" ffmpeg system. Let's say, i have two Linux servers, server1 and server2, dedicated to do some video conversion with ffmpeg. ...
0
votes
0answers
42 views

Command is working in terminal/puTTY but not in shell script

I have set up a CS:GO server on my Linux server and have a script so restart/stop the server. In both cases a message should be printed out to the server. To accomplish that I'm using following ...
1
vote
1answer
31 views

postfix MX host not found

Im am trying to send mail using Postfix, but I get the following error for all emails: May 13 12:44:46 myhost postfix/qmgr[12169]: A6D9644526: from=<x@y.com>, size=317, nrcpt=1 (queue active) ...
6
votes
2answers
138 views

scripted configuring of a linux kernel

Given a list of kernel features, I want to create a minimal linux configuration supporting all given features (and the corresponding dependencies) but nothing else. Is there a way to create a ...
0
votes
0answers
16 views

What is instance-id used for?

I'm looking at cloud-init and I noticed that a lot of places mention instance-id within meta-data file but I can't find the purpose of that field. It doesn't seem to be described anywhere. Does anyone ...
1
vote
0answers
20 views

Enabling brcmfmac driver for Wifi on a Macbook Pro

So I'm trying to install Void Linux on my Macbook Pro however it doesn't appear to come with the brcmfmac module. There are a bunch of .bin brcmfmac files in /usr/lib/firmware but nothing in ...
0
votes
0answers
14 views

BindAddress in ssh config on laptop

I have a section in my ~/.ssh/config for connecting to a server via IPv6. But as I have enabled privacy extensions for IPv6 and to avoid my ssh connections being cut I've added BinAddress to that ...
0
votes
4answers
77 views

Is there a way to show the permissions for a file without using `ls`

That's all - just wondering if there's other way to find out the permissions for a file without doing a ls -l to see the string of values there. As far as I know, there's no show option in chmod.
0
votes
1answer
11 views

Using autojump on Centos Linux with zsh gives error?

On Centos Linux, switching to zsh causes autojump to give me this error: -bash-4.2$ zsh /etc/profile.d/autojump.bash:13: command not found: complete How to fix it?
0
votes
1answer
13 views

Does 'multiport' make a difference in terms of efficiency?

Can any one can say definitively that using the --multiport extension with iptables rules: Is faster than creating a rule per port? Is slower than creating a rule per port? Makes no difference? If ...
0
votes
0answers
10 views

IPv6 mapped address supported by the kernel?

How to know if the kernel currently supports IPv4 mapped IPv6 addresses ? I have tried using ping6 ping6 0:0:0:0:0:ffff:7f00:1 but I get Network is unreachable.
0
votes
1answer
22 views

rc.local can't launch my program (raspbian linux)

I have a c++ program that is running perfectly fine if I run it by executing, sudo /Morreels/./launcher Sadly the same line (without sudo) won't work in the rc.local file on startup... When trying ...
-1
votes
2answers
67 views

Difference between Unix and Linux [closed]

Linux is a Unix-like and mostly POSIX-compliant computer operating system (OS) What are the practical differences between Unix and Linux without getting into a flame war, because I'm not asking ...
0
votes
1answer
60 views

Match words in array line by line to a seperate file

Here is a sample of my input data: $9.99,Titan the Power,www.example.com,565654 $15.99,Conan The Barbarian,www.sure.com,565438 $1.99,Julia Cesar,www.bfg.com,69722 I have written this code so ...
0
votes
0answers
14 views

How to connect ARM6410 to WPA wireless network without using wpa_supplicant library

How to connect FriendlyARM6410 to wireless network with WPA security type using Linux commands without using wpa_supplicant library??
0
votes
0answers
18 views

Fastest way to perform Redis data migration?

I have several Redis 3.0 instances running in AOF persistence mode. Sometimes, I have to perform data migration from one instance to another. Data migration process currently goes like this: BGSAVE ...
16
votes
4answers
737 views

Why some shells `read` builtin fail to read the whole line from file in `/proc`?

In some Bourne-like shells, the read builtin can not read the whole line from file in /proc (the command below should be run in zsh, replace $=shell with $shell with other shells): $ for shell in ...
0
votes
1answer
26 views

How can I display the last message in exim4 mail queue?

How can I display the last message in exim4 mail queue? I, actually, want to get the last message ID in exim mail queue, to check if it's delivered, in the log file.
2
votes
1answer
37 views

User mode linux eth0 connected to host tap ethernet device not coming up

I am trying to setup the network between UML instance running on ubuntu as host. UML--eth0-(192.168.0.254) ----------------tap0--(192.168.0.253)--VM But, I am not able to bring the eth0 device in ...
0
votes
0answers
24 views

How to connect SQL from VMWare?

I've windows 7 and I am using linux in vmware. Can I connect to my sql database which is running in my windows7 from linux?
2
votes
1answer
41 views

Does a Linux game runs on every distro?

As time goes by more and more games are being released for Linux and even more people start to play games on Linux. When I check for games on Steam the ones that can be played on Linux say just that ...
3
votes
2answers
46 views

Why nm shows no symbols for /lib/i386-linux-gnu/libc.so.6?

I expected to see number of symbols in the libc.so.6 file including printf. I used the nm tool to find them, however it says there is no symbol in libc.so.6.
0
votes
1answer
32 views

Inherit the permissions on to the subfolders [duplicate]

I want to create a directory, for instance testing-data on CentOS 6.5 Linux version, and have read,write,execute to all the sub-folders and sub-sub-folders and files within them to everyone(all ...
0
votes
0answers
28 views

Installing g++ on Oracle Linux Server 7.1 without internet

I have a laptop running Oracle Linux Server 7.1. Trying to make a C++ file and receiving the error: make[1]: g++: Command not Found I assume I need to install g++. I've gone through a number of rpm ...
2
votes
2answers
28 views

Embedded device, log partition, what file system is more resilient and uses less reads/writes?

I have an embedded Linux device with a read-only file system. I have another partition that is used to store an archive of logs. This partition will be written to a lot. What linux partition should I ...
2
votes
1answer
45 views

setserial: Cannot get serial info: Inappropriate ioctl for device

$ setserial /dev/ttyUSB0 -G Cannot get serial info: Inappropriate ioctl for device What does this error mean? stty works fine: $ stty -F /dev/ttyUSB0 speed 9600 baud; line = 0; eof = ^A; min = 1; ...
4
votes
2answers
371 views

Remove completely all packages I installed?

I was using one Linux server with CentOS7 installed for testing and installing some tools. And now I don't remember how many packages I installed. I want to remove all that packages so my server ...
2
votes
1answer
80 views

How can I mark a flow with iptables?

I read this tutorial, however I am considering a method to load balancing for Internet connection by applying iptables rule on 2 interfaces. The following is my iptables rule. #!/bin/sh ...
1
vote
0answers
26 views

Union mount on Linux

A union mount presents a combined view of multiple directories (branches) in a single hierarchy. Ok, but how do I use one in practice, and which one? Many union mount technologies are available on a ...
0
votes
1answer
32 views

Linux starting bash issue : command substitution issue

I try to start a new shell in my environment, but bash command has an issue: $ bash bash: command substitution: line 1: syntax error near unexpected token `then' 'ash: command substitution: line 1: ...
1
vote
0answers
19 views

Low-res GUI for Linux on a RaspberryPi used as a mobile device

I want to build a custom mobile device using a RaspberryPi or BananaPi and a touchscreen (resolution 320x240). Is there GUI for Linux that's made to work well on such low resolutions (preferably ...
0
votes
1answer
35 views

How do I monitor bash_history file for manual modifications?

I am trying to create a daemon to monitor a users's bash_history file for manual modifications. In other words, if a user opens the file and modifies it, the daemon will notify this action for safety ...
0
votes
1answer
8 views

Can I start the VM in openVZ once the checkpoint is completed during vzdump?

I have a VM with huge amount of data, close to 800GB. I was taking a vzdump of this VM. During the vzdump, openvz suspends the vm and does a check point and does a final sync of data before completing ...
0
votes
0answers
16 views

Comparing a set of IP addresses against subnets using python and netaddr module [migrated]

Can I pass file in "ip_list" and "banned_subnets". I have multiple list of IP's which need to be get match with multiple subnets, and it is not possible to list them all in script. For that I have ...
4
votes
1answer
145 views

Find out if library is in path

Assuming I want to test if a library is installed and usable by a program. I can use ldconfig -p | grep mylib to find out if it's installed on the system. but what if the library is only known via ...
0
votes
4answers
64 views

yum + how to remove unused rpm/patch on linux redhat

I am using yum to install a patch update on my RedHat Linux machine, Is it possible to use yum on different way in order to uninstall unused rpms/patches? My goal is to remove the unnecessary ...
0
votes
0answers
40 views

how to manage stdout/stdin buffering while doing ssh using openssh?

I have an embedded system -Linux, which has openssh utility - Linux. I am trying to do ssh from first device to second device and from second device to the third device. When I am doing the second ...
0
votes
0answers
19 views

authenticate commands using pam module

This is weird requirement i am not sure possible or not but we have Centrify running in our environment which use dzdo instead of sudo Now i have requirement to ask password for specific command, do ...
0
votes
0answers
30 views

lsof -i not displaying processes with opened sockets

I wrote a script based on lsof to monitor the socket in use for each process of my particular application (one socket per process). When I specify the -i option to limit the list of opened files to ...
2
votes
0answers
9 views

Linux startup script dependency issue

I have a startup script in init.d that starts some process that depends on Redis server running. When init script executes on boot my process fails due to connection failure to Redis server. I have ...
0
votes
0answers
28 views

How to run application with user created by package-manager

I'm packaging a binary application, and for permission issues decided the best approach would be for my package to create it's own user/group. I'm now using a postinst script, adding the user as: ...
0
votes
1answer
21 views

Now visudo won't work at all

RHEL 5.10 When I do visudo I get this error: chuck 75->visudo visudo: /etc/sudoers: Permission denied visudo: /etc/sudoers: Permission denied Listing of sudo exe file and /etc/sudoers: chuck ...
1
vote
0answers
8 views

Dbus doesn't see ru.gentoo.KbddService on startup

I have installed Xubuntu 16.04, later I installed i3wm and I like it. But, there is one interesting issue. I use kbdd and setxkbmap for switching and controlling keyboard layouts. So, I put this in ...
0
votes
0answers
15 views

Automount image file as UnionFS overlay

I wish to auto-mount an image file at system start-up using UnionFS and overlay settings files (e.g. /etc/network/interfaces) on top of the stock /etc directory files allowing for user customisation. ...
6
votes
3answers
464 views

A lot of “._” files inside a tar

I have a tar that was generated on a linux machine. I need to upload part of that tar to another linux machine. The full tar is huge and will take hours to upload. I am now on a Mac OSX machine and ...
2
votes
1answer
42 views

Can GNU/Linux software run on GNU/Hurd?

I am only familiar with the GNU/Linux system and I recently discovered the Hurd kernel, so the first question that came up in my mind was: is the software that I can find on a GNU/Linux system able to ...
0
votes
2answers
60 views

What is the use of -l option in ping command?

I am learning ping command and its options. In that the -l option is provided, it sends that many packets to the destination without waiting for a reply. And for normal users the preload limit is 3. ...
0
votes
0answers
26 views

Sed command for find and swap string [duplicate]

We are having the entry shown below in /etc/ldap.conf uri ldap://abccmnldap01.xyz.com ldap://pqrcmnldap01.xyz.com I want to swap abccmnldap01.xyz.com with pqrcmnldap01.xyz.com in ldap.conf with ...