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

-2
votes
0answers
28 views

Linux command line: How to move all files except those with a certain extension? [duplicate]

I have a folder with a bunch of files and .sh scripts. I want to move all of the files except the scripts to another folder. I am not looking for a bash command just a regular command which I can type ...
0
votes
0answers
31 views

How can i distribute a software package to workstations on the same network?

I want to distribute a software package from my Linux server automatically to the windows workstations on the network. I'm doing it manually at the moment, and I want to do it automatically from the ...
0
votes
2answers
35 views

SSH to docker container is not working

I'm running a Discourse forum software container in an Ubuntu Server, I was able to login to container using the command. sudo docker exec -it app bash And then I've setup password for the root ...
1
vote
1answer
24 views

Are Modules listed under /sys/module all the Loaded Modules?

I'm wondering if I can use the directory listing of /sys/module instead of lsmod to get a list of currently loaded modules. Is that the list of loaded modules only? Or maybe that combined with ...
1
vote
0answers
29 views

What happens to a multithreaded Linux process if it gets a signal?

If a Unix (Posix) process receives a signal, a signal handler will run. What will happen to it in a multithreaded process? Which thread receives the signal? On my opinion, the signal API should be ...
0
votes
0answers
10 views

send bootup script output to virtual terminal

I have a script that I symlink in as /etc/rc.d/rc3.d/S30initialize which basically makes it get called when entering runlevel 3. I want for the output of this script to appear on the virtual ...
1
vote
2answers
39 views

Remotely access my computer's framebuffer console from Android

I need to remotely view my computer's display. I am using programs that I launch from a text console, then they create their own graphical session, like Kodi or EmulationStation (it does not start if ...
0
votes
0answers
18 views

Kernel config for HP Stream 13 (booting from emmc disk)

I'm trying to install gentoo on hp stream 13 device and i am unable to boot up system from the emmc hard drive. Before trying gentoo on this device i have successfully installed debian, which clearly ...
3
votes
2answers
180 views

What is the difference between /sys/block/sda1/stat and /sys/block/xvda1/stat?

On my local machine, I have /sys/block/sda1/stat. On an Amazon machine, I have /sys/block/xvda1/stat. When I run cat /sys/block/sda1/stat or cat /sys/block/xvda1/stat both give 11 fields of output. ...
1
vote
1answer
21 views

service launched at boot, after all other?

Config : Linux Mint 17,2 (Ubuntu based, Debian based). I launch a home-made service at boot. Added with update-rc.d homemadeserviceName defaults I need to be sure homemadeserviceName runs after ...
1
vote
1answer
23 views

Making service NOT launch at boot

Context I made a service in init.d to be launched at boot (let's call it the primary service). And I updated update-rc.d primaryservice defaults This service calls 2 scripts (2 different task ...
0
votes
0answers
4 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
69 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
274 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 ...
-4
votes
0answers
37 views

small help in this qustion [closed]

I tried many time with [username]=Foxr \$. But gives error. Q: Provide an instruction to alter your prompt so that it displays the following information: (time : instruction number) [username] ...
0
votes
2answers
25 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
24 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
40 views

Autocomplete not working on mounted directory in AIX 6

I have a Linux server (linux_server) which acts as NIS. There are two directories that are exported: /netdata and /nethome, which contains several users' folder and folders/files specific to users. ...
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
102 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
18 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
41 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
202 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
22 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
18 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
19 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
93 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
40 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
19 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
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
13 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
81 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
37 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 ...