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
2 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
13 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 ...
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
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
vote
1answer
45 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 ...
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 ...
-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
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
26 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
31 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 ...
-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 ...
3
votes
1answer
29 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 @ ...
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 ...
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 ...
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 ...
-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 : ...
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 ...
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
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 ...
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
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 ...
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, ...
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 ...
0
votes
1answer
62 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 ...
0
votes
1answer
26 views

iptables and ssh

I'm running Arch Linux and I have a running SSH daemon to access my machine when I'm out side my LAN. I can do the connection, but iptables keeps blocking SSH Daemon, so I can only connect if I turn ...
1
vote
1answer
20 views

Is there a file search engine with a webserver?

I connected a huge USB HD to my linux server. I installed samba and the files can now be accessed over network. I can search for files over network but the samba search is slow. Do you know of any ...
0
votes
1answer
22 views

Chroot - copy or mount --bind

In every tutorial I found online about chrooting, there is part involving copying stuff into the chroot, executables, libraries and others. Why is that? Why not just mount --bind the stuff in? ...
0
votes
1answer
10 views

Mirror screen with 2 different resolution displays, -with borders on larger resolution screen?

Help. The TV I'm trying to use as a monitor has overscan issues, it overscans both 1080p and 720p resolutions. For my use, I'd rather have borders compared to a cut off screen. I'm trying to get ...
0
votes
0answers
10 views

Granular control of rwx permissions on NTFS partition

I am running a Ubuntu-Windows dual boot setup, and I have a third NTFS partition for my shared data (documents, music, downloads, etc). I currently mount the partition using /etc/fstab like so: ...
-2
votes
0answers
35 views

How do I become an expert of C language on Linux? [on hold]

I want to start from the beginning. What are the steps I should take?
0
votes
1answer
15 views

Getting cron to include Date IN error log

So I have the following Cron job running: /home/ubuntu/scripts/austria/archive.sh >> /home/ubuntu/logs/austria/archive.log 2>> /home/ubuntu/logs/austria/archive.err Every time the scrip runs, it ...
2
votes
1answer
25 views

What do systemd “Vacuuming done, freed 0 bytes” messages mean?

I'm seeing messages like the following in my systemd journal: systemd-journald[52]: Vacuuming done, freed 0 bytes systemd-journald[52]: Vacuuming done, freed 0 bytes systemd-journald[52]: Vacuuming ...
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 ...
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 ...
0
votes
0answers
8 views

Sync NAS (OMV) with OneDrive or DropBox

I have installed a NAS to my network, to backup all my files there, with OpenMediaVault. My question is if there is any possible way to sync a shared folder from that server, to an online cloud ...
1
vote
0answers
28 views

What does raw_spinlock mean? [on hold]

I was studying struct raw_spinlock which is in the /usr/src/linux/include/linux/spinlock_types.h was like this: typedef struct raw_spinlock { arch_spinlock_t raw_lock; #ifdef ...
0
votes
0answers
15 views

Having trouble with devices and USB ports

I have been trying to play Xwing vs Tie fighter on Linux Ubuntu Mate in virtualbox with my playstation 3 controller. After a few attempts It worked but I rebooted and it stopped working. If I load ...
0
votes
1answer
25 views

Continuing an interrupted `wget` session?

Is it possible to continue an interrupted wget session - eg. by parsing the log-file (created with -o or -a ), or after somehow have wget store additional information to disk (like it's list over ...
0
votes
1answer
15 views

Linux UART IO File

How bytes received on UART device are stored in some serial Linux devices /dev/ttyS? How to read them? What is the procedure? Should that device file be closed, when new data is arriving?
1
vote
1answer
31 views

Live Linux and FAT32

I'm looking for a Linux distribution that will run (uncompressed) on a FAT16/32/NTFS partition, preferably on an external USB drive. I've come across Slax and Porteus as well as a few others but they ...
0
votes
5answers
37 views

update the json file

I have a file, actually json file. How I can add a comma to the end of every but the last line ? For example: {"a":1, "b":1, "c":2} {"a":3, "b":3, "c":1} {"a":1, "b":2, "c":3} What I want: {"a":1, ...
1
vote
3answers
33 views

Select and sort IP address keeping the whole line

So I need to sort the IP Addresses and then sort my line by them. I can sort IP addres in a file by using : sort -n -t . -k1,1 -k2,2 -k 3,3 -k4,4 If my file looks like : add method1 a.b.c.d ...
0
votes
1answer
16 views

Configure internet connectivity in Centos 6.4 through wired LAN

I have a broadband internet connection through Hi-5 service provider in windows 8.1. In windows I connect to the internet after creating a connection and entering user name and password through the ...
0
votes
2answers
36 views

Different behaviour of eval “ command \”$@\“ ”, “$@”, and “$(echo $@)” when used as arguments [duplicate]

I would like to pass multiple arguments to the Tor browser (firefox) programatically through a function arbitrarily entitled tor. This is so as to command tor search terms and voila! My search terms. ...
0
votes
0answers
5 views

root filesystem on nvme device

I have an Intel 750 nvme drive. Works fine. Well.. sort of. I would like to use this device as my root file system. I have no bios support for nvme devices. I have the nvme driver enabled in the ...
1
vote
0answers
9 views

Is there something like “make localmodconfig” that detects *all* your hardware?

I understand that Linux's "localmodconfig" target looks through all your loaded kernel modules and produces a .config file that enables those modules. This is nice, but what about hardware whose ...