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
6 views

how to exclude specific subfolder when creating zip file via command line linux

I do want to exclude subfolder like uploads/2015/OtherSubfolderName through command line. I have tried with below command, its working fine. zip -r zipfile.zip public_html -x *uploads* but can we ...
0
votes
0answers
2 views

Parent mount becomes inaccessible after mounting child into subdir?

Im installing arch. Upon installation, aftyer partitioning my drives, right when i go to chroot to begin the fun stuff, i get an error mount:mount point mnt/etc/resolv.conf does not exist chroot: ...
0
votes
0answers
5 views

Kali => ssh_exchange_identification: Connection closed by remote host

I'm using Kali Linux to connect to a server remotely using SSH, it used to work out, but suddenly I got the message: ssh_exchange_identification: Connection closed by remote host Even though I've ...
0
votes
0answers
14 views

Parsing a file to determine what values to use

I have a script and a "config" file that pull variables from. I created the configuration file called config.cfg and used it in my script as such: #! /bin/bash if [ -f ./config.cfg ] then ...
17
votes
4answers
10k views

What is the difference between the following kernel Makefile terms: vmlinux, vmlinuz, vmlinux.bin, zimage & bzimage?

While browsing through the Kernel Makefiles, i found these terms. So i would like to know what is the difference between vmlinux, vmlinuz, vmlinux.bin, zimage & bzimage?
1
vote
1answer
53 views

How to know which programs support streaming I/O

My question is pretty straight forward. AFAIK if a program supports streaming I/O it can work with files more than the size of the memory, is this correct ? Also is there a way to know which programs ...
1
vote
0answers
9 views

Use existing encrypted directory as home directory

In the past, I installed Ubuntu 12.04 with /dev/sda4 mounted as /home. I encrypted my home directory. Today, I erased all the partitions except /dev/sda4 and I installed Xubuntu 14.04 on a new ...
-2
votes
0answers
18 views

No such file or directory [on hold]

I have a problem when set up IDE Netbeans (Desktop) in Linux(Ubuntu) from Terminal this message is appear please help me to solve it thanks
3
votes
1answer
640 views

load module via /etc/modules

I want to load my kernel module hello.ko on boot in Ubuntu 12.04. I placed it in /lib/modules/3.8.0-31-generic/kernel/ubuntu/hello.ko, ran depmod -a, and added "hello" to /etc/modules. However, when ...
1
vote
0answers
7 views

ERSPAN encapsulation

Is there a way to ENCAPSULATE traffic into an ERSPAN tunnel without using a cisco device? What if I wanted to source ERSPAN traffic from a Linux host instead of a switch?
-1
votes
1answer
15 views

How do i unlock my Thinkpad, when it says “windows resume loader”, but it won't let me touch any keys (no keys work)

My Thinkpad is locked; it won't seem to let me do anything; nothing works; it just says “windows resume loader”, It gives me two choices, and the ENTER button doesn't work to choose anything.
0
votes
0answers
9 views

Keyboard glitch Ubuntu 15.04

Have been cleaning my laptop keyboard and now on a single button press multiple symbols are inputed. For example r => 65RGFVT + turns on CapsLock o => 9ol.p ... Has anyone else experienced ...
0
votes
0answers
5 views

Installing foreman 1.9 configuration help

I can't seem to find the answer that I am looking for so any help here would be hugely appreciated. I am doing a POC with foreman 1.9 on a CentOS7 server. Our infrastructure as it stands right now as ...
0
votes
1answer
12 views

fstrim “the discard operation is not supported” with ext4 on LVM

Attempting to run fstrim on my root partition (which is ext4 on a LVM logical volume, single physical volume—an SSD supporting TRIM) produces an error: fstrim -v / fstrim: /: the discard operation is ...
0
votes
0answers
27 views

Oh no! something has gone wrong… In Kali Linux on VB [on hold]

I’ve tried get-updates and the get-install x-windows-system but neither work and it says unable to locate package. I’ve watched a few videos but they are all the same and all there problems are ...
1
vote
2answers
32 views

How to get disk name that contain specific partition

If I know that partition is for example /dev/sda1 how can I get disk name (/dev/sda in this case) that contains the partition ? The output should be only path to disk (like /dev/sda). It shouldn't be ...
0
votes
1answer
726 views

Why won't Linux connect to the internet through a VPN?

When using OpenVPN on Linux, I can't connect to anything on the internet. Firefox shows everything except my own router as "not found". And curl -I google.com, for example, gives curl: (6) Could not ...
1
vote
2answers
41 views

How do fast Convert a .xls (MS Excel) file to .csv

How will do fast covert excel to csv. I had tried with php, perl, JavaScript. but it will take too much time. i.e for 5MB file it will take 3-5 mints
3
votes
1answer
30 views

How to log out as root user in command prompt after creating non-root user

obviously I am extremely new to Linux, but I'm glad to finally be here...trying to kick windows is tough in some cases ;-) Anyway, I'm trying to follow the following tutorial @ ...
1
vote
1answer
25 views

unable to change screen resolution of tty

I am using Fedora 21 in Oracle Virtual Box. I am using just tty (no GUI). I need to increase screen resolution, I tried following things but failed: xrandr but gives me error: cannot open display I ...
4
votes
2answers
950 views

Benefiting of sched_autogroup_enabled on the desktop

I am running a 2.6.37 kernel with sched_autogroup_enabled set to 1. I am not certain that I am seeing the benefits of this patch since: I am launching my applications from the desktop; applications ...
2
votes
0answers
936 views

Linux Mint: LAN “Cable not connected”, despite it is

I've just installed Linux Mint 13, 64 bit (from the CD of "c't kompakt Linux", if this matters), and came across a very unexpected problem, for which I've not found a solution with Google or searching ...
-3
votes
1answer
25 views

Linux debian based new distro development [on hold]

I try to make debian based distro but confused because the size of debian is already 12 gb then how can i make it small ( i.e lesss than 2 gb ). If possible plz tell me steps what further i should ...
1
vote
0answers
8 views

Using USB intermet through android phone rename dev name

I had a issue every time I connect my phone and enable Internet USB, the assosiated interfaces name changes like enx$(random mac). There's a way to set the name like ppp0 vía udev? I tried vía vendor ...
0
votes
0answers
5 views

citrix - icaclient - no valid ICAROOT directory found

I have icaclient 13.2 installed on funtoo and when launching selfservice, I immediately get an error: No valid ICAROOT directory found When I enter my gateway in, the error comes up again and I ...
0
votes
1answer
566 views

sfdisk don't like partitions - want to dump another hard drive to restore software RAID

I'm using Cent OS 6.5. I have two Hard Drive which are exact copies of each others (/dev/sda and /dev/sdb). /dev/sda failed and had to be replaced. I am trying to copies everything from /dev/sdb to ...
7
votes
4answers
23k views

Udev : renaming my network interface

I just installed RHEL 6.3 on a Dell 1950 server. This server as two GBit ports, Gb0 and Gb1. For some obscure reason, udev chose to name Gb0 eth1 and Gb1 eth0. This is definitly not a good find for ...
1
vote
2answers
639 views

Is the chromebook Linux based at its core?

Just wondering if the Chromebook uses Linux in some way? If so, would there be a way to run Linux commands (e.g. Ssh) from a command line on it?
1
vote
1answer
28 views

Why am I limited to ~10-20 usb devices?

I am trying to hook up 27 USB device to an Intel NUC running CentOS 7 but no matter what I do the system can never see more than 20. I have tried multiple models of NUCs and even tried adding an ...
3
votes
1answer
944 views

How do I resolve an error when booting, “Couldn't find device with UUID…”

I have a RHEL 6 system, running on a VMWare machine. The admin of the VM server added a second RAID volume to the server, which my RHEL system does not use. Now, when I boot the RHEL system, I get a ...
2
votes
3answers
5k views

I have high io stat. High writes. But what files are being written?

avg-cpu: %user %nice %system %iowait %steal %idle 11.50 0.02 5.38 0.07 0.00 83.04 Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz ...
1
vote
0answers
4 views

Encrypted boot drops to shell, how to set LVM crypttab consistently? 'ALERT! {logical volume path} does not exist'

I used Luks to encrypt my whole hard drive, and created that sda drive as a physical volume. Under that volume, I create a volume group vg00 with my 3 logical volumes lv00_root, lv01_home, and ...
3
votes
1answer
17 views

Shared library mappings in /proc/pid/maps

Why does /proc/pid/maps contain a few records for the same library ? Here is an example: 7fae7db9f000-7fae7dc8f000 r-xp 00000000 08:05 536861 ...
1
vote
0answers
32 views

Constant 60KB Shared library memory on /proc/<pid>/maps

In a quest for understanding RAM requirements of system processes, I arrived to analysis of /proc/pid/maps. I have noticed a pattern: many shared libraries have exactly 60KB space allocated in their ...
0
votes
1answer
12 views

Nautilus crash with segmentation fault when opening a folder

I'm running Debian 8.1, GNOME 3.14.1 with Nautilus 3.14.1-2. Nautilus has crashed for me in the past, today I tried to understand the problem. I work with a lot of geodata and my folder ...
-1
votes
0answers
13 views

Debian Linux Shell has no colors and desktop files/folders gone GNOME

Hello I have installed some packages to fix sound mute, but instead, after restart I saw no icons on desktop except 'Computer'. I have opened shell and wanted to do apt-get update but saw that the ...
1
vote
0answers
13 views

Separation between the User machine and Server machine by another linux for monitoring

I am planning to have three virtual machines with virtual box (m1, m2,m3). I already installed on m1 = Windows XP Home Edition, and on m2 = LUbuntu 15. The big picture is this : m1 : a user m2 : ...
1
vote
1answer
43 views

Read “/proc” to know if a process has opened a port

I need to know if a process with a given PID as opened a port without using external commands. I must then use the /proc filesystem. I can read the /proc/$PID/net/tcp file for example and get ...
2
votes
1answer
21 views

How does mkswap work? What is in the swap header it creates?

I am looking at mkswap and trying to understand how exactly it works. From what I understand, it sets up Swap space on a partition by creating a swap header. How large is this swap header? Is it one ...
1
vote
2answers
35 views

Command line to go in directory passed by which command

I want use a command such as this : which node && cd $_ to jump in the directory when the binary file reside, but the which command return all the path + name of binary ,so i get an error ...
0
votes
1answer
63 views

SOLVED No SSH while loged off locally

So, I'm trying to access my laptop while I'm outside my LAN, but I have a problem, at least I think that isn't the normal behavior. I can't access via SSH if my user isn't locally logged in. I'm not ...
1
vote
4answers
48 views

making an array of all subdirectories via the output of a command

My idea is to make a script which gives all subdirectories (in my case ˜/MUSIC but on the mac of my wife is it different –> artist/album). In a later fase I would like convert all .wav extensions to ...
0
votes
0answers
10 views

CentOS 7 and Windows 2012 multiboot from SAN

We would like to create multiboot configuration for our workstations. Workstations are equipped with Qlogic BR-825 HBAs that work in BIOS mode (not EFI). SAN presents to HBAs three LUNs: LUN0 - boot ...
0
votes
1answer
17 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
22 views

How to find out what distros are using particular Linux version?

Given a distribution and its version, I can find which version of kernel it uses, e.g. for Ubuntu they are listed here, and for currently supported versions of Fedora they are here. In general, ...
3
votes
2answers
5k views

How to reduce ClamAV memory usage?

I'm running a Ubuntu based web server (Apache, MySQL) on a 512MB VPS. This is more than sufficient for the website it is running (small forum). As I wanted to add some protection against viruses I ...
9
votes
1answer
9k views

How can I mount filesystems with > 4KB block sizes?

I have a 3TB hard disk pulled out of a WD Mybook Live NAS. The partition table is as follows: Model: ATA WDC WD30EZRS-11J (scsi) Disk /dev/sdb: 3001GB Sector size (logical/physical): 512B/4096B ...
4
votes
1answer
1k views

One host, two virtual machines that cannot ping each other. How to solve

We have Virtual Machines operating within the KVM environment. We setup one as a dev server running Apache etc., and the other as a Windows development environment. The two environments are setup ...
2
votes
1answer
3k views

Unable to use yum repos whether with baseurl or mirrorlist in CentOS 6.5

Since a couple of days, I'm unable to retrieve repositories data with Yum, in my CentOS 6.5 server. I did yum clean all a dozen of times, it emptied all but didn't solved the problem. I tried to ...
1
vote
4answers
52 views

Creating a snapshot of a linux system

I want to do the following - Save the current state of my linux OS(centOS6.5). Do some changes (more specifically inject a fault and test some service to check how it behaves when that particular type ...