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
0answers
12 views

Grub2 Rescue Help

I installed Kali Linux and was able to dual boot it with Windows 8.1 on my laptop. I recently deleted a few partitions in order to get rid of Linux since I rarely used it. On reboot I saw the grub ...
1
vote
1answer
34 views

/ Owned by postfix:root after installing iRedMail

I followed this tutorial to install iRedMail on my CentOS 7 x64 System: https://www.digitalocean.com/community/tutorials/how-to-install-iredmail-on-centos-6-5-x64 Why the *"$@*3 is / now owned by ...
0
votes
3answers
20 views

How can I sort specific lines of strings from this file on my Ubuntu Server?

I have a very long file containing around 2,000 groups of information that look like this: http://pastebin.com/raw/vKxRNviT I need to organize them by dollar-balance from highest to lowest. I only ...
0
votes
0answers
15 views

server load and performance testing

Dears, there are some cluster of servers that are responsible for a telecommunication company databases. the OS's was Linux Redhat installed on bare metal till now, but all the clusters are migrating ...
1
vote
1answer
24 views

ttyACM0 and sdb created from one physical USB device

I have a USB device based around the Nordic Semiconductors nRF51 SoC. Once I plug it into my Ubuntu machine it triggers the creation of both /dev/ttyACM1 and /dev/sdb. So far, I've perceived the /dev/...
1
vote
1answer
17 views

Apache httpd logging

I have a couple of questions about Apache httpd logging on Scientfic Linux 7 Apache logging seems to be using some kind of hard-link from the configured logs directory /etc/httpd/logs to /var/log/...
2
votes
1answer
24 views

Is it possible to reuse the slave end of a PTY after closing it?

After the slave end is used (open(), read(), write(), close()), the master's read() finishes and returns with an EIO error. But I was expecting to be able to open()/close() multiple times the slave ...
0
votes
0answers
11 views

Evince missing font in application menu

In Evince, the application menu seems to be missing a font. How can I fix this? I'm using Linux Mint 17.3
0
votes
3answers
44 views

No sound on fresh install of Debian

I'm on a fresh install of Debian with i3 and I'm quite new to Linux. I have both pulseaudio and alsa installed but I cannot get sound to output. I would have posted any command outputs but I'm not ...
1
vote
1answer
46 views

How to power down display on terminal?

I would like to power down/up my display from the terminal. Right now I have: setterm --blank force #wake setterm --blank poke Which gives a blank screen; but active screen (screen still receives ...
2
votes
1answer
155 views

Does pkill kill itself (and its parent processes) last?

I'm writing a bash script that kills a bunch of processes selected by certain criteria and then quits. The only problem is that those criteria apply to the script and its parent processes (bash, sshd) ...
-3
votes
3answers
62 views

My NIC speed is 1g per second why scp speed is 120MB per second

My Network Interface card r/w rate is 1000MB/S, but when I scp one file it shows the copy speed is 120MB/S. such as: scp test.gz localhost:/data/test.gz
2
votes
0answers
32 views

How Widely Used is Polkit? [closed]

I'm writing a program that requires root access. I'm hoping to use polkit for privilege escalation instead of just erroring out when the program is not run from root or via sudo. Is polkit used on ...
0
votes
0answers
26 views

Traffic between two separate openvpn servers' clients

I have two Openvpn servers on two separate linux boxes, with different settings and clients. Lets call them server A and server B. When I connect to server A, I want to be able to access server's B ...
0
votes
1answer
29 views

Redirect keyboard input to unfocused program

I'm looking for some help with a computing issue. I'm running Openbox 3.5.2 on Raspbian/Pi3 and a single monitor. I want to have one program focused and in fullscreen while the keyboard outputs to ...
0
votes
0answers
40 views

Problem installing nvidia driver 920M on ubuntu 14.04

I am a Linux beginner. I installed ubuntu 14.04 alongside win10, on my new asus laptop. My system is powered by a geforce 920M. The problem is that after I install the nvidia driver (The system ...
0
votes
0answers
20 views

Trouble With Debian Window Focus On Mouse Click

I recently installed Debian, the version is here below : Linux version 3.16.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt25-2 (2016-04-08) ...
0
votes
0answers
30 views

Browse remote machine files in Nautilus

I'm running old Debian machine: Distributor ID: Debian Description: Debian GNU/Linux 5.0.2 (lenny) Release: 5.0.2 Codename: lenny And I'm using Nautilus file browser in it: I'm missing "...
2
votes
1answer
36 views

unable to install centos on my windows 10 laptop making it dual boot

After hearing the news that CentOS 7 had been published, I decided to install it on my computer. I downloaded the ISO image from the CentOS official website (the one named CentOS-7.0-1406-x86_64-DVD....
0
votes
1answer
23 views

Transparent encryption

I'm designing an industrial embedded system which needs some encryption. I know encryption will slow things down quite a bit since my media will be either compact flash or SD. I really only need to ...
0
votes
2answers
35 views

How do I make a server automatically move files?

I have a folder and I would like all the files that are put into that folder to instantly be moved to another folder. Is this possible.
2
votes
0answers
22 views

Make bootable disk from tar archive

I have a compressed tar archive from a SLES 11 root directory. I'd like to boot another machine with a live linux, extract my OS archive on a disk, and make the disk bootable. Is there any easy way to ...
3
votes
0answers
14 views

What is the default behaviour of IPv4LL on Linuxsystems?

I'm looking for a good source and confirmation about Dynamic Configuration of IPv4 Link-Local Addresses. The rfc Dynamic Configuration of IPv4 Link-Local Addresses didn't really help answer my ...
1
vote
1answer
37 views

Purpose of Physical Extents

Today in class we are learning about logical volume management and I'm trying to find out what the actual purpose of physical extents are. I know what they are defined as and I understand how to do ...
0
votes
1answer
64 views

Where is the log when someone ssh my machine?

When someone logs into my machine through ssh, where is that log file saved? I am using Red Hat 4.8.5-4
3
votes
1answer
39 views

filter out certain processes and/or pids in ftrace?

I'm not sure if I'm thinking about this the right way (and please correct me if I'm wrong), but the following is my understanding of ftrace. In /sys/kernel/debug/tracing, there are the following ...
2
votes
0answers
37 views

GNU/Linux OOM (out of memory) freezes - solution ideas

Explanation While working with older machine with swap on and 2 GB ram, I frequently encounter behaviour well described as freeze: here, what is the best way to prevent out of memory oom freezes on ...
0
votes
1answer
37 views

How to setup DHCP Relay in Debian 8?

have three VMs. One VM is a DNS and DHCP server, one is a Linux router running Debian 8 and the last VM is a test machine. I am trying to configure the Debian 8 machine as a DHCP relay. I have ...
2
votes
1answer
42 views

How can i replace multi line string using sed? [closed]

I have tried the following command:- [root@10 bin]# cat temp asdjahskjdhajksdhjkashjahfksjdhfkjsddhflkdsjhfklsdajhfklajshdkjalsdlkjasdhkljas hskdajkdhkjas cast $recv $UE_CAPABILITY_ENQUIRY ...
4
votes
1answer
66 views

Safely remove usb from linux device [duplicate]

I am using a USB with an embedded device running linux. The issue is that in some cases when I unmount the usb by giving the command umount /media/sda1 the unmount is successful but when I proceed to ...
0
votes
0answers
20 views

devmon is not mount USB with vfat and ntfs?

using arch, installed devmon. devmon version 1.1.8 (distributed with udevil) Automounts and unmounts optical and removable drives insert USB, error message devmon: /usr/bin/udevil --mount /dev/...
2
votes
1answer
39 views

New Linux User, Where do I begin and how do I master the OS [closed]

I am fairly new to the Linux OS. I'm being asked to learn the OS (Ubuntu & Fedora) for computational science purposes. The problem isn't getting involved or into the OS, but I don't exactly know ...
-1
votes
0answers
24 views

Opensuse Leap 42.1: Nvidia Gforce 830M don`t work

I have a Dell Vostro V14T-5480-B50 with a Nvidia Gforce 830M and Intel Graphics Generic. I cant install my dedicated GPU, when i install the driver and use the command $ sudo nvidia-xconfig and ...
2
votes
1answer
27 views

ACL and plain old permissions

I have read a bunch of articles, but still cannot get an idea of ACL, so I have following questions. What are benefits of using ACL over old permissions (0777 for example) and changing file owner,...
1
vote
0answers
22 views

Dual Boot: Deepin Linux, Windows 10, now windows not shutting down [closed]

I have installed Deepin, later I installed Windows 10 Pro, x64 edition. The problem I have now is that my Windows won't shut down, I can restart it, but when I choose to shutdown, the screen goes ...
1
vote
0answers
26 views

I/O Error when tying to format usb pen drive

A friend of mine gave me a USB Pen Drive that did not work. At the momen I was on windows and try to format it. At the middle of the process it gave me a strange error. I thought maybe on linux (...
5
votes
0answers
26 views

How to specify memory region for ramdrive

We are setting up a linux based benchmarking cluster. Each node is going to be a headless, diskless machine, booted via tftp, the OS copied to a local ramdrive, and the same ramdrive is used as local ...
0
votes
1answer
23 views

Ctrl+Alt+F1 not working on vnc

I use a real vnc viewer to connect to my host machine. The host machine has linux in the GUI mode. I would like to switch between the GUI and the console mode, however the key Ctrl+Alt+F1 opens up my ...
3
votes
0answers
16 views

“leaky bucket” style disk io throttling using linux kernel

My goal is to prevent one kvm guest's disk i/o usage from negatively affecting other kvm guests on the same host. The host has one disk array - and separating guests onto different physical disks is ...
3
votes
1answer
27 views

What does mounting a filesystem with user_xattr do?

SELinux documentation for Debian says that user_xattr is not the same as extended attributes. So what is it?
0
votes
0answers
33 views

linux + dose each security kernel rpm will install the relevant initrd and vmlinuz files under /boot

I just print the kernel rpms that need to install on my redhat machine (version 6.5) # yum list-security --security | grep kernel-[0-9] RHSA-2014:1143 security kernel-2.6.18-371.12.1.el5.x86_64 ...
1
vote
0answers
46 views

linux + yum + how to print the yum variables by yum command

I just Wondering if we can print the yum parameters without to view the yum configuration files ( by more or cat or vi ... etc) for example I configured the variable , in /etc/yum.conf ...
1
vote
1answer
36 views

Nginx reverse proxy redirection

I am using nginx as a reverse proxy and when I login in my web interface I am redirected to the proxied URL. I would like to avoid it and always keep the "server_name" as the URL. Is it possible? ...
1
vote
1answer
26 views

Use SWAP as disk cache in Linux

I am using different kind of disks on my server. Is it possible to use faster disk as SWAP and ask Linux to use it as Disk cache As I understand Linux use SWAP only for application data not disk ...
2
votes
0answers
155 views

MIME type changes if file edited in *nix systems

I have an excel file created in Windows machine. If I check MIME type with file -b --mime users.xlsx the result is application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; charset=binary ...
6
votes
1answer
466 views

How do I quickly build and test the kernel if I want to modify a system call

In particular, I'd like to add a fd flag and a branch in a couple of fd-handling syscalls that should be used if the flag is set instead of the current code. I think the only thing that matters here ...
1
vote
1answer
43 views

Shell - PTS/0 Suddenly Changed to PTS/1 Why did it happen and how to change it back?

Whenever I enter the who command in the SSH I see the PTS/1 after my username. Two days ago it was still PTS/0. Is this called the TTY? How do I make it PTS/0 again? Also the path now is /dev/pts/1 ...
-1
votes
1answer
46 views

Curl to grab the page after complete load

I have a url which takes some time to load completely. But when I use curl to download the link as html, it download the html at the real time before loading page completely I mean complete execution ...
0
votes
0answers
29 views

“User is authenticated but not connected” in ThunderBird

I am getting “User is authenticated but not connected” error from my Thunderbird when I tried to configure my outlook365 account in it. I am using Thunderbird 38.8 and Ubuntu 14.04 LTS. The current ...
0
votes
2answers
39 views

Execute command when user interaction is detected ( ex: moving mouse, pressing key )

I am trying to make a bash script to turn down the brightness to lowest when idle for a certain amount of time but reverts back to its previous brightness when it detects user interaction whether it ...