Questions specifically about Linux but not specific to a particular distribution. If the question could apply to any Unix-like system, specify your Linux distribution in the body of your question but do not use the /linux tag.

learn more… | top users | synonyms

1
vote
1answer
17 views

DHCP server with static IP not resolving hostnames (clients do)

Network Setup I have a server which I am trying to set up LXCs on I am using LXD which forces me to use DHCP DHCP is working fine already due to my setup I need to be able to access the containers ...
2
votes
0answers
38 views

Cannot boot into Linux off live USB

I am trying to dual boot Linux on my laptop (Dell XPS 15) which is running Windows 10 Pro. I did not have any problem dual booting the two operating systems on my desktop. I cannot boot up ANY Linux ...
1
vote
3answers
198 views

How to identify if a direcory is created by System or a root user?

How to identify if a directory is created by Linux system and by user like root. Example: in /etc there is a directory named sys which is created by Linux. And I logged in using root and created the ...
1
vote
1answer
44 views

How to make boot output verbose?

I use to enjoy watching my red hat then debian then ubuntu machine boot, the boot process was not hidden from my view, now it is, in most of all distros, now, I know I can somehow connect a terminal ...
-1
votes
0answers
19 views

How to create standard Linux Mint in USB stick?

I want to install Linux Mint to USB stick and boot from it. Full, standard (not Live USB) install. I have now Live USB stick in my Mac but it don't remember any changes so i want to change this live ...
0
votes
0answers
8 views

Cronjob and Mapcrafter for Minecraft not running the renderer

I am using two Raspberry Pi 2 computers: one to run a Minecraft Server, one to run Mapcrafter (http://mapcrafter.org/index) to setup and update the server's map on my Apache2 server. I am using cron ...
0
votes
0answers
15 views

POR Recovery Count increases at every reboot

I have a Samsung SSD in my notebook. In the last week I tested some linux distros, because I want to replace windows 7, but... I find a weird thing: every reboot from linux increases the POR Recovery ...
1
vote
2answers
64 views

Cron only occasionally sends e-mail on output and errors

On Debian 8.1, I'm using a Bash feature to detect whether the stackoverflow.com website is reachable: (echo >/dev/tcp/stackoverflow.com/80) &>/dev/null || echo "stackoverflow unreachable" This is ...
1
vote
0answers
16 views

Unmount Recursively Bind Mont in User and Mount Namespace

I am trying to use recursive bind mount in a new user namespace and mount namespace. This is what I do. Assume /foo/bar/ and /foo are both mount points. Firstly I do mount --rbind /foo/bar/ /baz, and ...
0
votes
1answer
29 views

DNS Query Script

I am trying to get all the A records for some domains. The best way I have found is to use https://www.whatsmydns.net and the nexcess tool. The issue is that it is very slow to copy paste them and ...
0
votes
1answer
13 views

opensuse 13.2 installation

I have 1 tb hard disk in that I have installed windows 8.1 which occupies 2 partition windows/system reserved then I have 1 NTFS partition for my data and 1 extended partition in which I have ...
0
votes
1answer
12 views

Green pixels on local video playback

I have installed VLC for linux without any errors all libraries are updated but the player (along with few others I tested like SMPlayer) shows green pixels moving at random across the screen. This ...
0
votes
2answers
71 views

Is Kali Linux 2.0 Fully Open Source?

As the title says i am wondering is kali linux 2.0 fully open source? What i mean by that what software and parts of kali linux 2.0 is closed-source? In kali linux official documentation ...
1
vote
1answer
30 views

How to get total Read and write IOPS in linux

How do i get Read and write IOPS separately in Linux? using command line or in a programmatic way. i am installed sysstat package. Please tel me how do i calculate separately using sysstat package ...
1
vote
1answer
15 views

Why is debug_putstr() not being printed during boot?

I'm asking myself why debug_putstr() in arch/x86/boot/compressed/misc.c is not being printed during x86 boot phase, though it is configured to do so with GRUB_CMDLINE_LINUX_DEFAULT="". On other ...
1
vote
2answers
47 views

find path directory in sub directory

I want to find the path for directory name bbb where the parent directory called aaa For example /aaa/bbb /tmp/aaa/bbb /usr/bin/aaa/bbb /home/aaa/bbb /home/aaa/xxx/bbb So i wrote something like ...
0
votes
0answers
35 views

Run Zenity script as an application (zero terminal) [closed]

I have made a bash used by Debian. Now, I'd like to provide a 100%-GUI application instead of launching the bash into/from the Terminal. My project: runs the bash script & displays a ...
0
votes
0answers
17 views

check-config errors on Linux 3.19.0 kernel, configured under Ubuntu 15.04 x86-64

I'm new to configuring Linux kernels, and am receiving the following errors when running config-check: check-config: /tmp/tmp.tnqExc0fHn/CONFIGS/amd64-config.flavour.generic: loading config ...
0
votes
0answers
24 views

Linux distro recommendation for lenovo flex 2 [closed]

I am looking for a linux distro for lenovo flex 2. I want to be able to install softwares easily and won't freeze or cause problems. I have tried installing ubuntu 14.04 on it but it took me forever ...
1
vote
0answers
11 views

Best way to approach HID_MAX_USAGES kernel errors?

This is an issue I have for the second time now: basically, an USB based device reports some wrong numbers for "HID_MAX_USAGES", resulting in the kernel giving an error message and the device not ...
2
votes
0answers
8 views

What is “state-object” in cgroups

I am gathering some idea about lxc, kernel name spaces and cgroups. While reading man lxc-cgroup, i find : lxc-cgroup gets or sets the value of a state-object (e.g., 'cpuset.cpus') in the ...
1
vote
1answer
28 views

Linux mem kernel option caps at 12GB?

When I set the mem=16G kernel option on a 14GB RAM machine, free -m reports 12GB of free memory. If I try mem=16G on a 7GB RAM machine, it doesn't change at all. Is this a bug, or is there a way ...
0
votes
0answers
15 views

What is Linux Performance Tuning? [closed]

I have just seen something about Linux Performance Tuning (Sysadmin) what is this exactly, just configuring Linux so they can increase performance of the server on all sides? or does it also include ...
5
votes
2answers
79 views

Why do Linux/POSIX have lchown but no lchmod?

It seems that Linux supports changing the owner of a symbolic link (i.e. lchown) but changing the mode/permission of a symbolic link (i.e. lchmod) is not supported. As far as I can see this is in ...
0
votes
1answer
9 views

Upgrading natty version of ubuntu

I am trying to upgrade my version, which is natty(11.04). Since no more support is available I changed the sources.list as follows. # EOL upgrade sources.list # Required deb ...
0
votes
0answers
32 views

Login/logout loop on Ubuntu 14.04

I am running Ubuntu 14.04 inside VMware workstation 11.1. I testing changing the color depth and now I am hitting a login/logout loop. When the login screen comes up I select my account, type in the ...
4
votes
1answer
63 views

Permanent swapping with lots of free memory

We have a Linux server running Debian 4.0.5 (Kernel 4.0.0-2) with 32G RAM installed and 16G Swap configured. The system uses lxc containers for compartmentalisation, but that shouldn't matter here. ...
1
vote
1answer
54 views

How can I *automatically* backup my contacts in Google Contacts/Gmail?

On a similar theme to this question, how can I automatically (on a schedule) back up my contacts from Google Contacts/Gmail from the command line (Linux or OS X)? Ideally, this mechanism would be a ...
0
votes
0answers
11 views

Linux Mint: two password forms after suspend mode

I have an odd issue that's not really a performance problem but a mild cosmetic one. When my laptop wakes up from sleep mode and prompts me for my login password I usually get two forms requesting my ...
-1
votes
0answers
6 views

keyctl can't process nulls [closed]

I have a system on my Ubuntu VM where I can create temporary keys from a master key by hashing it with an identifier. Problem is, some of the keys, which are always 32 bytes in length, only have a few ...
0
votes
2answers
31 views

How to use if with grep -x

This is my code: if grep -x $idle | grep -x $dead | grep -x $busy ./Event.log then echo " Events are running Successfully" >> ./Event.log else echo "One or more Events are down. Check ...
0
votes
2answers
37 views

Compiling Kernel : Unable to locate ncurses

I am trying to compile the kernel. I downloaded the source . When I tried 'make menucionfig'. I got following result : * Unable to find the ncurses libraries or the * required header files. * 'make ...
1
vote
3answers
67 views

Copy filenames, and add path prefix, in a directory, recursively

I have a working directory: /home/myusername/projectdir The working directory contains files and sub-directories. The depth of sub-directories is not known. I want to put all the *.log files into the ...
2
votes
1answer
20 views

tcpdump waits a second before displaying packets

On Linux Mint (either 17 or 17.1) I'm using tcpdump to capture some packets with this command: tcpdump -UnvXSs 4096 -B 1024 -i eth0 Despite the -U option, it doesn't actually output packets ...
0
votes
2answers
30 views

Breaking up a file into two parts based on a particular line [duplicate]

I need to breakup a file into two separate files based on a particular line for example: . . sc_outfifo 0.000E+00 0.000E+00 0.000E+00 0.000E+00 1.586E-02 1.586E-02 1.586E-02 Fub_Level_DACGE(%) ...
0
votes
0answers
33 views

dpkg: error: 2 expected programs not found in PATH or not executable can't install anything

When I try to install anything on a linux server I always get the following error: Last login: Sat Aug 22 10:25:09 2015 from 27.34.97.20 root@s3:~# sudo -i root@s3:~# su root@s3:~# apt-get install ...
0
votes
1answer
17 views

How do I check whether audio file samples are clipped without playing the file?

I have a big MP3 audio file, about 170 MB, which I'd like to check for clipping. In details I need to increase the audio volume but I don't want to push the volume too high and clip audio samples. I ...
0
votes
0answers
17 views

Stack pointer of the interrupt stack

Linux kernel has separate stacks for user mode and kernel mode process and also some special stacks. One of this special stacks is interrupt stack with the size 16 kilobytes placed in the ...
0
votes
1answer
16 views

Need Info on linux command ssh-keygen -t rsa -b 4096 -C “your_email@example.com”

I have to access personal git repository at the university . I have been asked to Generate SSH key. I am using this command to generate an SSH key: ssh-keygen -t rsa -b 4096 -C ...
1
vote
1answer
34 views

D3100 Dell docking station

So I got my Fedora 22 as I finally decided to switch from Fedora 20 ( been using it forever, found it kinda hard to detach ) The problem is that I bought my new docking station for multiple monitors ...
1
vote
0answers
17 views

running cron on a chroot

For my web development I use a debootstrap'ped Debian with sysvinit, I start apache2/mysql manually only when I need to work. Now for a new project I require to run some scheduled task for which I ...
1
vote
1answer
55 views

Accidentally deleted my wifi device wlan0

I was trying to fix my wifi on kali linux the other day and was following some tutorial. That didn't work so I read somewhere that if I run this command iw dev wlan0 del After that command i cant ...
0
votes
0answers
29 views

What are the advantage of using tcsh? [duplicate]

I'm a newbie to Linux. I have found tcsh has some advantages over bash. What are the significant advantages using tcsh over bash? For C Programmers is there any specific advantages that bash cannot ...
-1
votes
0answers
9 views

How to determining which file connecting to special ip?

I have a AWS server in the past day i received an email from AWS support that shows i have very outgoing trafic in my server and it seems there is a script in my server that using to bruteforce ...
0
votes
0answers
25 views

How to fix multiple display settings support for Linux Mint Cinnamon with a AMD R7 graphic card?

I have a AMD Radeon R7 M265 Series graphic card at my laptop, I installed drivers manually from AMD site, I can get clinfo and fgl_glxgears output after install, the problem I'm facing is that now I ...
4
votes
5answers
113 views

Is there a plain GNU/Linux OS?

I'm currently looking at all the different Linux distros and can't seem to find the original GNU/Linux OS. Apparently there is a GNU System which combined the GNU project with the Linux kernel. How do ...
0
votes
1answer
28 views

Having trouble compiling BFLT Utils: can't find libiberty.h, despite being installed

I'm attempting compile BFLT Utils (https://github.com/nihilus/bflt-utils), but keep getting the following error: $:/tmp/bflt-utils/flthdr# make gcc -Wall -g -O2 compress.c -c gcc -Wall -g -O2 stubs.c ...
1
vote
2answers
20 views

Script that only counts Established, TIME_WAIT, and Closed Wait connections using Netstat

I'm trying to make a script (using Perl, but it isn't necessary) that will only count the number of Established, Time_Wait, and Closed_Wait connections on a system and print them in terminal. So far ...
9
votes
3answers
517 views

Find all animated gif files in a directory and its subdirectories

let's say that i've done a find for .gif files and got a bunch of files back. I now want to test them to see if they are animated gifs. Can i do this via the command line? I have uploaded a couple ...
5
votes
1answer
72 views

How to find out what is launching a port scan in the night from my Linux?

I have several Linux (mostly Debian) servers running on a Proxmox platform. All of them connecting to Internet through an ADSL line, with only one public IP. One of them is running OMD (open ...