These questions are about Linux in general -- NOT specific to a particular distribution. If the question just happens to be in a Linux environment, please specify your Linux distribution in the body of your question, but do NOT use the /linux tag.

learn more… | top users | synonyms

0
votes
1answer
24 views

Getting all open ports on all network interfaces

I have installed and run docker and now it created another network interface docker0: 3: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default link/...
2
votes
0answers
14 views

How can I clone a specific work space to other outputs?

I am using i3-wm with Archlinux, and I nowadays are wandering that: is it possible to clone a specific work space to another output(monitor)? It is different from --same-as as well as --left-of --...
1
vote
0answers
17 views

NFSv3 works but not NFSv4 on Armbian

I am trying to mount a NFS share from a NAS, it work flawlessly on my pc (Arch) but on my odroid (Armbian), only NFSv3 works, not NFSv4. $ sudo mount.nfs -vvv 10.10.0.131:/volume1/Owncloud data rw ...
0
votes
1answer
49 views

ssh on linux harden server

Here I am dealing with a linux harden server. The problem I am facing is that when I try to connect via ssh, an error message pops out. kex error : did not find one of algos diffie-hellman-group1-...
0
votes
1answer
18 views

Pre-built developer ubuntu VM

I'm searching for a Ubuntu (or other Linux distribution) VM with pre-installed Maven, JDK, Code-Editor, etc. It's pretty annoying to install all these tools every time you set up a new development ...
0
votes
0answers
22 views

No keyboard input upon boot

I have just finished Linux-from-scratch (7.9). I followed the instructions exactly, and ran into no problems during the build. However, when I booted for the first time, it seemed to boot okay; it got ...
2
votes
2answers
47 views

Get Wi-Fi interface device names

Similar to a previous question about finding network device names, I would like to get a (reliable) list of device names but just for Wi-Fi devices. So that it looks like the following depending on ...
0
votes
1answer
26 views

How do I edit sudoers file in fedora? [duplicate]

I have just started a new fedora build. I just got things going, and was about to install tmux, and was hit with the message... Error: This command has to be run under the root user Ok. I attempt ...
-2
votes
1answer
41 views

View which users exist on a remote computer?

If I have the IP address of a computer running Linux is it possible to see which user accounts exist on that computer, without having to ssh into it first?
1
vote
1answer
26 views

how to monitor spinlocks

I'm wondering how I could monitor spinlocks. At my client, we have cpu soft lockup failure, for which, if I understand well, spinlock is a likely cause. Different team use that server for predictive ...
1
vote
1answer
40 views

Running a cron job randomly for every one hour

I want a cronjob to run every one hour randomly. (i.e if the first job runs at 58 minutes,the second job should run at 47 minutes and the third one at 52 minutes and so on) But this should run ...
0
votes
1answer
38 views

Red Hat restart not show correct login page?

When I restart my Red Hat, the screen only show the snapshot page without login page. But I can use SSH to login to start VNC. Then VNC also working well with normal X screen. Does any export know ...
0
votes
3answers
52 views

Implementation of process substitution, and concurrency in process substitution

Bash Manual says Process substitution is supported on systems that support named pipes ( fifos) or the /dev/fd method of naming open files. Does it mean that process substition is implemented ...
0
votes
2answers
38 views

How to extract first and last lines in a file? [duplicate]

File1 Sergio Lionel Luis Andreas Gerard I want my stdout to have just Sergio Gerard How can I do this using the tail command and piping?
2
votes
1answer
52 views

RTMP Streaming to Twitch

I'm streaming using OBS on Windows (QuickSync), pushing 20k bitrate to 2nd PC based on Linux (Debian Jessie 8.4.0, 64bit) via Gigabit Ethernet. The Debian system runs a minimal installation without X ...
0
votes
1answer
29 views

have file tempfile2.gz (checked via file command) but gunzip/gzip -d does not work

I had a file (was a text file at first), did xxd -r to it and saved it to tempfile2. Afterwards did file tempfile2 and it wrote: tempfile2: gzip compressed data, was "data2.bin", from Unix, last ...
1
vote
0answers
18 views

Kali 2 interrupted installation problem

I'm new to dual booting with Kali 2 and Windows 10 and I was wondering if you can help me out with my problem: The problem is that i encountered this error: error: file '/boot/grub/i386-pc/normal....
1
vote
0answers
36 views

Bash script, string spaces handling [duplicate]

I'm writing a script that will automatically sort my albums on my NAS server and encountered the following error. Whenever I have a space in an album name I'm getting an error. Albums can be either ...
2
votes
0answers
32 views

Is this possible to use a different rootfs that the one kernel comes with?

Here's the situation: I have a compiled zImage that comes with its own rootfs that contains linuxrc. I can extract it using this script. I would like to modify some startup scripts that are part of ...
1
vote
0answers
33 views

Booting and installation problem. Windows 8 and Ubuntu 16.04

I installed Ubuntu. But. I couldn't boot back into windows (not shown at the grub) until I put this into the terminal: sudo apt-get install lilo sudo lilo -M /dev/sda mbr It was a success. I ...
1
vote
1answer
20 views

Push firmware files in ath10k to Debian firmware-atheros

I would like to quote wireless.wiki.kernel.org: The ath10k firmware images are available from linux-firmware.git which all common Linux distributions should install by default. Latest firmware ...
3
votes
4answers
95 views

All possible permutations of words in different files in pairs

I have multiple files, let's say file1, file2 etc. Each file has one word in each line, like: file1 file2 file3 one four six two five three What I want is to combine them in a new file4 in ...
0
votes
0answers
39 views

Booting into Windows 7 from grub rescue (no Windows DVD)

There's a lot of info already out there on this question, but not all of it seems to agree and as a Mac user primarily (I use Windows/Linux only for things that don't run on OSX) I'm not too confident ...
0
votes
0answers
24 views

Partitioning (format) problems with LiteOn PCIe SSD

I recently got a HP Z Book 15 g2. That model has two disks, one of them (in my model) is a LiteOn PCIe SSD (Liteon CX1 JB256 HP). I want to install Linux on that particular disk. First, I tried with ...
2
votes
2answers
44 views

Incorrect permissions on special files

I've noticed a lot of special files on Linux have what appears to be incorrect permissions: E.g.: $ ls -l /dev/fuse crw-rw-rw- 1 root root 10, 229 May 29 09:59 /dev/fuse appears writable but in ...
0
votes
1answer
78 views

sddm presents wrong theme

The problem is that I am presented with a different sddm theme when I logout. The default theme works fine when login. However, one of the pre-installed themes is used when logout the system. Is ...
-1
votes
0answers
30 views

awk used for duplicate is failing while recreating same file [duplicate]

When i am running command below its just vanishing the complete data from the appirx.txt. Can any one explain the mechanism behind it.It might be basic question awk '!seen[$0]++' appirx.txt > appirx....
-1
votes
4answers
40 views

How to show previous line to matching pattern with grep and not the matching line? [duplicate]

I know I can use -A, -B and -C to show surrounding lines but all of them also show the matching line. What I'm trying to make here is so, in this example file: foo bar I'd be doing something like ...
1
vote
0answers
51 views

How to enable IOMMU on Gigabyte 990FXA-UD5 R5

I've enabled svm and iommu in the bios, but I get "not available" from dmesg: root@xen:~# dmesg |grep -i iommu [ 0.000000] Command line: placeholder root=UUID=0b6a99ef-b56b-4d71-9f63-4895d0276674 ...
0
votes
3answers
26 views

Is it possible to tab through the commandline history for a particular command?

For example, can I see all the previous parameters I passed to the command ssh (i.e. all the server addresses I passed as a parameter when calling ssh)? This is going to be something similar to the '...
0
votes
1answer
22 views

The last log for reboot appeard twice

Does anyone know what's the meaning of my last command? reboot system boot 2.6.32-431.11.2. Sat May 28 15:06 - 05:01 (1+13:54) reboot system boot 2.6.32-431.11.2. Sat May 28 05:03 - 05:01 (1+23:...
5
votes
0answers
48 views

Why group-writable file works “unidirectionally”?

Users vi and rust share group rust and want to use some file in shared manner. rust$ ls -l myfile -rw-rw-r-- 1 vi rust 0 May 30 03:48 myfile rust$ stat myfile | grep Gid Access: (0664/-rw-rw-r--) ...
-3
votes
0answers
21 views

Mouse double clicking when I only single click [duplicate]

My mouse registers a double click sometimes when I only single click. I don't want to buy a new mouse. Is there a software fix for this on Linux? I have been looking for a shell script, but no luck.
-2
votes
1answer
43 views

Install a package from SSH

This is my first experience with Linux. I want to install a package (named screen) and I have access to a SSH login which I use putty on Windows to do so. Is there a way to install screen from putty ...
0
votes
0answers
26 views

Why is a 'Trusted Network' Port More Secure?

I'm working through this tutorial ATM. http://www.cyberciti.biz/tips/using-nginx-as-reverse-proxy.html I'm planning on using NGINX for a simpler scenario but I'm curious as to why the tutorial ...
2
votes
0answers
64 views

GPU pass-through KVM Fedora 23

I am attempting to pass a GPU to a windows 10 VM running on a Fedora 23 host: Virt-manager Host: Fedora 23 Guest: Windows 10 64 bit guest UEFI OVMF GPU: R7 AMD Radon 250 is the GPU that I am ...
3
votes
1answer
30 views

Why the 1MiB should be used when setting the first partition?

As the arch install guide suggests (using parted to do the partitioning) (parted) mkpart primary ext4 1MiB 100MiB However, when checking the output of fdisk, the start of the partition is not ...
0
votes
3answers
42 views

How do non-interactive programs get the permission to edit files in /etc

I'm writing a program in python that needs to edit some files in /etc. Some system some its own. How do I get those permissions from within the program itself without running sudo as the program ...
0
votes
1answer
46 views

how to read all bios settings in linux programmatically

I don't think that dmidecode shows all the bios settings . Is there a way to read all the bios settings programatically in SLES?
0
votes
1answer
36 views

Unable to install curl on Debian

I am trying to install Curl on Debian but unfortunately I get the following error: The following packages have unmet dependencies: curl : Depends: libcurl3-gnutls (= 7.47.0-1) but 7.38.0-4+deb8u2 ...
1
vote
1answer
34 views

What does a “Synchronous” type detail mean in dmidecode?

I'm curious if my 2 DIMMs are running dual-channel or not and use: dmidecode -t 17 ... Type Detail: Synchronous ... What does a "Synchronous" type detail mean? Dual-channel?
-1
votes
0answers
10 views

Linux mint 7.1 problrm

I can't change the desktop background and can't change the folder icon Totally changed the UI of my Linux OS... It's taking more time while booting.. Somebody please help me An my OS is 32 bit
1
vote
0answers
26 views

Typing { } on Debian in VirtualBox on OSX [closed]

I have a OSX with VirtualBox and a virtual machine with Debian. In the virtual machine I'm not able to type those brackets {}. Any help ? I have an Italian keyboard on my Mac.
3
votes
2answers
40 views

Multiple tmpfs partitions

[mayur@mayur311-pc ~]$ df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/centos-root 50G 3.6G 47G 8% / devtmpfs 3.9G 0 3.9G 0% /dev tmpfs ...
3
votes
3answers
202 views

Root, home and boot partitions

So I had been considering that partition is like a separate section of space. Recently, I decided to experiment with partitions and found a flaw in my understanding. Some examples refer to a case ...
4
votes
1answer
39 views

how to reliably determine processes using files after `umount -l` on linux

The Question After umount -l was performed on some mounted filesystem, and this filesystem remains still mounted (albeit hidden) because of some process maintaining (at least) one open file handle to ...
1
vote
3answers
58 views

Remove all the rows below a specific row number from one specific column

I've asked a question before on true row deletion, and got some great answers, but I'm now interested to know how you would remove all the rows below a specific row number from one specific column. ...
1
vote
0answers
20 views

How to build GTK2 on the Mac OS X EI Captain?

I tried to build GTK2 to Mac OS X EI Captain from source code. But by the environment variable (INCLUDE?), an error occurred and I failed to build. Please help me by advices? Doesn't someone have the ...
3
votes
1answer
32 views

Process name post killing

I am getting OOM error and killed process error in logs. In the logs, I can see the process ID which has been killed by kernel but not able to find out which process is actually been killed. Can we ...
0
votes
1answer
24 views

extract two columns and add at a specific location to another file that is already full of columns

I have a file where I want to extract two columns and add at a specific location to another file that is already full of columns. Could I cat file 1 and make it a variable and then cat file 2 and ...