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

0
votes
0answers
5 views

Spamassassin training problem with amavisd

I wrote a Outlook add-on that uses the Tell command to train spamassassin. The user selects the messages and clicks a Spam or Ham button. It works great. I have got everything to work but I cannot get ...
2
votes
3answers
42 views

Assigning “awk” or “nawk” to a variable in a shell script [closed]

I have a script to be run on both Solaris and Red Hat systems. I want to use "nawk" in Solaris and "awk" in Red Hat systems as text processing tool. For that, I have a code snippet as below in my ...
3
votes
0answers
71 views

How to best track adventures of a novice administrator

I have this user that has limited sudo privileges, yet he manages to screw up from time to time. I would like to keep an eye on his adventures, so that I can reverse any damage with less digging. ...
0
votes
1answer
18 views

The server Emacs can't recognize the ALT key when link by a Mac

I use Mac's ssh to get access the server. I find the emacs in server can't recognize the ALT key. My server is REHL with emacs23
1
vote
1answer
14 views

Freeradius: No reply message for Failed Authentications

I have configured freeradius on RHEL 6.5 server for MAC based authentications and for this, I've followed this guide. According to the mentioned guide, I have created authorized_macs file for the ...
1
vote
3answers
278 views

Everything is a file?

In Linux, every single entity is considered as FILE. If I do vim <cd-Name> then, vim will open the directory content into it's editor, because, it do not differentiate between file and ...
0
votes
2answers
27 views

nohup not updating nohup.out

Boiling down to the smallest problem here is a simple python script that I want to run using nohup on linux. I run it using the following (on linux): nohup python test.py & The command seems ...
-1
votes
0answers
29 views

Linux Mint 17.2 boot hang-up

I installed Linux Mint 17.2 XFCE on an old PC. The problem begins at the end of the installation process: the installation window disappears and I am only left with the live cd desktop that does ...
1
vote
0answers
43 views

Autocomplete not working on mounted directory in AIX 6

Summary : Tab to complete in bash or a similar shell no longer functions on an IBM AIX 6 client mounting an NFS share from Red Hat Enterprise Linux 7.1 Details : I have a Linux server (linux_server) ...
0
votes
0answers
25 views

Running linux with hybrid HD/SSD on a macbook pro

I considered installing Linux on a macbook pro (mid-2010, "6,2") to extend its lifetime as I currently encounter problems in OSX Yosemite with it slowing down, locking up, etc. However I have a hybrid ...
1
vote
1answer
104 views

How low can I go on RAM?

I have some old PCs runnning on my business. And by old I mean PENTIUM-3 800 MHZ and AMD DURON 950 MHZ, with 256MB RAM. They are running my business software today on Windows XP. I want to run Linux ...
1
vote
1answer
20 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
42 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
203 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
46 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
25 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
10 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
19 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
67 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
23 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
30 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
15 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
98 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
31 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
20 views

How to create several directories in linux using full character set?

I would like to create several thousand directories on ubuntu per command line. Using mkdir {000..999} does create 1.000 directories name 001, 002 etc. How do I create directories using the entire ...
0
votes
0answers
18 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 ...
1
vote
0answers
16 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
9 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 ...
5
votes
2answers
89 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
41 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
65 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
62 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
13 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 ...
0
votes
2answers
32 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
38 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
73 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
36 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
20 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
20 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
49 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
61 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 ...