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

0
votes
0answers
9 views

ALG IPSEC and RSTP

I have linux 3.18. my Linux is installet on a router. in this router I activate a NAT from the wan side. Does this Linux support ALG of IPSEC and RSTP ?
1
vote
1answer
30 views

Aptitude deleted a buttload of modules when I tried to install Imagemagick, how do I undo this?

Yesterday I tried to install Imagemagick, I used apt-get at first, which returned an error. I was already trying to install ImageMagick for hours, so I got impatient. A post on stackoverflow said that ...
1
vote
0answers
6 views

Internal speaker unmuted when I press volume up/down buttons on my headphones

It is logical to expect the volume up/down buttons on my USB headphones to only control the volume of the headphones, but in fact they also unmute all other audio output devices. I'm using KDE on ...
0
votes
2answers
41 views

calculate ratio using awk

awk 'NR==1{$4="ratio"}NR>1{$4 = ($3)/($2)} {print $1 "\t" $2 "\t" $3 "\t" $4}' A B awk: cmd. line:1: (FILENAME=A FNR=18) fatal: division by zero attempted Can anybody help with this error? ...
2
votes
1answer
26 views

Why does uname -m report differently in chroot and schroot environment?

I am running Ubuntu 14.04.2, 64 bit host system. Using debootstrap, I installed a minimal Ubuntu 14.04.2, 32 bit system in trusty32 directory. This is what my schroot configuration look like: ...
0
votes
1answer
36 views

Some keys don't work in console (tty), but work in a terminal emulator [duplicate]

When I am am in virtual terminal and open my editor, I can use editor key shortcuts such as CTRL + Down and CTRL + Up to select lines (select block), or F5 and F6 to copy/move the selected block. ...
0
votes
0answers
19 views

How does disabling data journalling speed up the file system?

How exactly does disabling journalling give a better performance in case of Linux (ext4)?
0
votes
1answer
24 views

How to assign variables associated with list of ranges to another table with integers

I have a list of integers from 1 to 6k, and I have a list of ranges (start/stop) with a third value I'd like to assign to each integer within those ranges. The list of ranges might look like this, ...
0
votes
1answer
28 views

device-mapper: reload ioctl on cache1 failed: Device or resource busy

When I run the below command while setting up dm-cache on my CentOS system, I receive the error: device-mapper: reload ioctl on cache1 failed: Device or resource busy Command failed Command is: ...
0
votes
0answers
17 views

Error during RHEL 7 installation

I am trying to install RHEL 7 on ThinkPad Edge E431 which has a touch screen. I get an error: in hid_mutitouch ....fault : -1 And the system is goes into an emergency mode. How can I complete ...
0
votes
0answers
13 views

When we use spinlock,Semaphore,Mutex in Rtlinux? [migrated]

spinlock wait for infinite time,Semaphore it may do another work, what is the role of mutex? What is major difference between spinlock,Semaphore and Mutex?
1
vote
0answers
11 views

how to make supervisord immediately relive once it was killed

I finished installation of supervisord on my centos6, it works also well. But I found I could use command "kill" to kill supervisord itself, and it was not able to relive. I suppose when supervisord ...
1
vote
1answer
29 views

Setting up port forwarding on router for reverse SSH tunnel

My home PC is behind NAT but my router has static ip address. My work PC uses 3G stick for Internet (So I guess it is like being behind NAT). I would like to create a reverse SSH-tunnel to connect to ...
7
votes
4answers
482 views

What's the fastest way to remove all files & subfolders in a directory? [duplicate]

One program created lots of nested sub-folders. I tried to use command rm -fr * to remove them all. But it's very slow. I'm wondering is there any faster way to delete them all?
0
votes
1answer
25 views

Why does bash complain “!”: event not found"? [duplicate]

Running echo "Hello world!" in bash: # echo "Hello world!" -bash: !": event not found Why does bash complain "!": event not found"? No !, everything is OK: # echo "Hello world" Hello world ...
0
votes
0answers
30 views

how to mute an IP stack?

is there any way to mute a network connected device running Linux so that it receives every message targeted on its IP but not sends anything even Acks? or in my case is there anyway to assign same IP ...
0
votes
1answer
30 views

How to generate a text report in Linux?

I have a command I'm using to find all of the *.xml files on our server. I'm using: find -type f -exec grep -il "xml" {} \; This is great, but there are maybe a thousand files like this on the ...
1
vote
0answers
12 views

Laptop Dual Boot - Wifi adapter not recognized / not found

i very recently installed Linux on a laptop. My problem is that it doesnt seem to find the wifi adapter at all, there's not even an option to turn it on or off. It still sees the ethernet adapter just ...
2
votes
0answers
25 views

Running R scripts on a Linux cluster

I have access to an IBM IDataplex Cluster with CentOS v.6.2. If I want to run the following R script on R: library(data.table) library(mgcv) library(reshape2) library(dplyr) library(tidyr) ...
0
votes
0answers
12 views

Using dual connection for separate app [duplicate]

My Mint 17 has 2 connections (wired and wireless), when both connected by default the wired is used, what I want to do is keep wireless for file download and general Internet usage, and use the Wired ...
0
votes
1answer
19 views

Where should I put a standalone web app which doesn't require an external web server?

I have a stand-alone web app, it's an executable file. At this point it doesn't require nginx or apache in front of it because it has a built-in webserver. Where should I put it on a server? In the ...
0
votes
2answers
35 views

Force an application to use a specific connection

So my Mint 17 has 2 connections (wired and wireless) when both connected by default the wired is used, what I want to do is keep wireless for file download and general Internet usage, and use the ...
0
votes
2answers
29 views

No WiFi on my laptop

I am using linux mint rosa. Wireless is Intel AC 8260 WiFi+bluetooth Intel dont appear to have any linux drivers for this module only all flavours of windows. Can I get this module working?
0
votes
0answers
16 views

systemd-boot freezes on keyboard input

I'm trying to boot architect Linux on my pc, which uses systemd-boot for its UEFI boot manager. The problem is, since I'm running a NVidia card, when i press e to edit the arguments so I can pass ...
0
votes
1answer
12 views

linux + sysctl.conf configuration

Is it right to comment line with # in the file sysctl.conf? I ask because I am not sure if the comment lines would be read or not. more /etc/sysctl.conf #net.core.rmem_default = 1048576 ...
0
votes
1answer
13 views

What is kernel Space and User space. [duplicate]

what is Kernel space ? i want to understand it and same with User space and what is the diff between them
0
votes
0answers
15 views

How can I compile a more compact glibc?

While trying to create an x86-64 appliance, I naturally wanted to compile glibc 2.23. I managed to do so through mkdir build cd build ../configure --enable-kernel=2.6.32 ...
1
vote
1answer
26 views

linux redhat + change time from UTC to GMT+X

how to change the time from UTC to GMT+2 my current date is UTC as the following 20:23:48 root@linux-test01:~ # date Sat Apr 16 20:23:52 UTC 2016 and I want to change it from UTC to GMT+2
0
votes
1answer
27 views

why resolv.conf is changing

I have a very strange issue in my Linux machine - Red Hat 6.7 version when I update my resolv.conf file as the following: options attempts:2 options timeout:1 search usa.Pe.corp ...
0
votes
0answers
18 views

su permision denied from terminal Arch linux [duplicate]

When I try to become super user (root) from terminal I receive permission denied, but when I try from tty console (press ctrl + alt + F2) I have access to root. My question is how can I receive ...
0
votes
1answer
18 views

Copy /home without root [duplicate]

I installed Xubuntu on a friend's PC and he understood, that is it greater than Windows 10. He has no practice with shell and dont want to use it! The PC is used by several people. He (the owner) is ...
0
votes
1answer
22 views

Cannot access WHM and SSH/root after a configuration in Host Access Control

I added my IP (like 172.32.1.0/255.255.255.0) to allow access for ssh, whm and cpanel in WHM -> Host Access Control. Then, I added all IP to deny access for them. However, after saved changes, I lost ...
-1
votes
1answer
16 views

How to change Samba server description

I'm a total newbie in linux and just installed debian and samba my debian computer name is "debian" but after installing samba it is showing like this(in windows network places) "Samba ...
0
votes
1answer
19 views

How to install more than one OS on a pendrive?

I have a Windows 10 laptop. While I want to use Linux based OS I don't want to partition my HD or remove Windows OS. So I thought of installing Ubuntu on a 64gb pendrive and running the OS from it. ...
0
votes
0answers
13 views

Colored horizontal lines when booting from GRUB

I have an annoying problem when I boot to windows from GRUB boot menu, I got always colored lines that disappear in seconds. I also tried to change my linux distro 3 times but I always get the same ...
0
votes
1answer
49 views

debian stretch wifi not working - iwlwifi installs but doesn't load correctly

After upgrading debian jessie to stretch my wifi didn't work anymore (Toshiba Kira book). The laptop uses an Intel Wireless 7265 which is supported by iwlwifi. So I downloaded the .deb files as ...
1
vote
1answer
40 views

UDP receive buffer error

We are running opensips SIP proxy in high traffic environment, it's using UDP protocol. We are seeing sometime RX error or overrun error on interface. I have set rmem_max to 16M but still i am seeing ...
1
vote
1answer
30 views

Why is a script in /etc/rc6.d not run on reboot?

I am trying to log shutdown/reboot on a Raspberry Pi. I am running latest Raspbian. This is my setup: cat /etc/init.d/log-shutdown.sh: #!/bin/sh ### BEGIN INIT INFO # Provides: ...
0
votes
2answers
25 views

RHEL Network Interface not restarting

RHEL 5.11 I run the restart command: /etc/init.d/networking restart Then it just sits there until I have to force quit: 15:09:11 # /etc/init.d/network restart Shutting down interface bond0: ...
1
vote
2answers
31 views

What would 'passwd root --stdin' have set my password to?

I ran: sshpass -p 'OldPassword' ssh -o StrictHostKeyChecking=no root@1.1.1.1 'echo "Te3EQeF2U!-Em_C3eBU6A&a=u2$e28*c" | passwd root --stdin' Without realizing that echo ...
1
vote
0answers
27 views

Do light color codes work across all distros and terminals? [duplicate]

I use \033[1;34m for light blue. I am using Debian and Putty and it works for me. However, I've heard that it may not work for all users (using different distros and terminals). Is that true? Do they ...
1
vote
1answer
33 views

How to fix connection loss in VM?

My virtual machine loses the internet connection sometimes on linux and I need to stay connected constantly. So I wrote the following script: #!/bin/bash wget -q --tries=10 --timeout=20 --spider ...
9
votes
2answers
809 views

Why does “man” command disappear?

I find man command disappears on my RHEL7: # man ls bash: man: command not found... # which man /usr/bin/which: no man in ...
3
votes
2answers
72 views

Keep NumLock always on [Linux Mint]

I have a simple objective: Keep NumLock always on OS and DE: Linux Mint 17.3 Cinnamon I found this Keep NumLock always on So, I created this small script -rwxr--r-- 1 root root 47 Apr ...
0
votes
1answer
20 views

Can't boot TAILS virtual nachine

I've downloaded TAILS and when I boot everything goes normally until it fully boots up, at which point it shows the desktop for a second and then says "Uh Oh! An error has occured" or something ...
0
votes
2answers
42 views

Access to the internet from a firewalled server

I'm trying to set up a test Docker platform at work. I need pull images, but can't do so because the test server does not have direct internet access (firewalled). There is another server that can ...
2
votes
2answers
63 views

find: delete folder and sub folders but add exception to two files

I am trying to use the find command to do the following: Delete a whole folder with files, folders and subfolders except for 2 files, here is an example of what I need: test/folder1/file1.txt ...
0
votes
3answers
36 views

iptables: block all inbound traffic over a certain port number

It is possible using iptables (on Debian) to block all inbound connections for all the ports with a port number over (as an example) 16000. Like this (using 16000 as reference): The port 15999 is ...
0
votes
1answer
40 views

How can I execute any command as a normal user without sudo?

Is it possible to assign the sticky bit to sudo in order to execute any command as a normal user? Let's suppose that we have the user test and then: test@test$ apt-get update But I don't wanna use ...
0
votes
0answers
8 views

What is the difference between the SIGHUP generated by typing “exit” in the SSH shell terminal vs clicking the “X” button in the PuTTY window?

Referring to this question, I am trying to use nohup <command> <arg> & to continue to run a command in the background after I logout from the SSH shell terminal. However, the ...