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
13 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 ...
0
votes
1answer
29 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?
0
votes
0answers
19 views

Remove last character of each string in gz file [on hold]

how can I remove the last character of each string in a gz file?
0
votes
0answers
11 views

Is there a way to pick a linux distro based on hardware support [on hold]

Having wasted a lot of time getting Fedora 23 to recognise the graphics card on my laptop I'm currently shopping around for another distro. Is there a way to check what hardware various distros ...
0
votes
1answer
14 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
24 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
0answers
20 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 ...
-3
votes
0answers
21 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
1answer
23 views

Different hostname / prompt is shown after logging in as root

[mayur@centos ~]$ su Password: [root@centos mayur]# I want it to be "centos" only. How to do it?
0
votes
2answers
33 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
0answers
18 views

RMTP Streamig to Twitch

Im streaming using OBS on Windows (QuickSync), pushing 20k bitrate to 2nd PC based on linux (Debian Jessie 8.4.0, 64bit) in local network area (1gbps lan link). Debian Jessie is a minimal linux ...
0
votes
1answer
23 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
12 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 ...
1
vote
0answers
33 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 ...
1
vote
0answers
13 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
16 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
12 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 ...
1
vote
3answers
45 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
21 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
14 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
36 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
63 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
13 views

To grab the current proxy that the machine is using in linux environment [on hold]

I need to grab the below proxy information from all the Linux machines - Proxy Hostname - Proxy IP address - Port - Proxy Serial # - Client IP - Client Logged In As - Groups user is member of I ...
0
votes
0answers
23 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 > ...
-1
votes
4answers
34 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
8 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
1answer
18 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 ...
3
votes
0answers
39 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--) ...
0
votes
0answers
14 views

Cloud Linux Reboot Fail [on hold]

I have recently installed cloud linux, When I reboot the server by initiating the reboot command through ssh, the server does not work. I cannot access the server through SSH or anything.
-3
votes
0answers
19 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
39 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
24 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
27 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 ...
1
vote
1answer
22 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
36 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
35 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
38 views

Functionality of first version Linux? [on hold]

When Linus posted the very first original version of Linux (that he sent to a mailing list) - how much functionality did it have? What could it do and what couldn't it? I supposed that it didn't have ...
0
votes
1answer
24 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
26 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
8 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
votes
0answers
12 views

PTRACE_TRACEME without parent [on hold]

I'm trying for fun to exploit a code which uses ptrace to prevent debugging. This executable is suid, therefore there's no use in cracking it. It have also the stack segment executable. This ...
1
vote
0answers
17 views

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

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.
0
votes
1answer
12 views

want to create an offline bitcoin wallet on a live persistence linux help me choose best distro [on hold]

the important part is that i want a distro that any newbie can use easily because i am a newbie and in the end i want to create a walkthrough so everybody can use it too. ==SHORT VERSION== want to ...
2
votes
2answers
31 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 ...
2
votes
3answers
153 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
32 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
53 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
14 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
25 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
22 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 ...