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

19
votes
2answers
621 views

Is it possible to save Linux virtual console content and scrollback in a file?

I have a long-term running script and I forgot to redirect its output to a file. I can see it in a terminal, but can I save it to a file? I'm not asking for tee, output redirection (e.g. >, ...
3
votes
0answers
11 views

Why I need a framebuffer size larger then monitor size when transform destination area is smaller

I tried to remove 100px left & right the top of a 1366x768 screen (as below) using xrandr transformation. But I got an error about not enough framebuffer size. $ xrandr --output LVDS1 --fb ...
0
votes
0answers
15 views

KVM network packet loss to guest

I am running a server with Debian 8.3, uname output Linux x 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17) x86_64 GNU/Linux I am using KVM to run a virtual machine with CentOS ...
3
votes
1answer
28 views

Wear leveling of SD card because of swap file in embedded linux

I need to enable a swap file on my embedded linux product. The problem is that the file is located on an SD card. At the moment I'm using 15MB swap and about 120MB RAM because of temporary increases ...
1
vote
1answer
49 views

Weblogic process just killed suddenly on redhat linux

One of the process on my WAS killed at dawn. 6 process run on this server. But only one process just killed. I don't know how to fix it. This is Weblogic last log that before process killed. ...
1
vote
1answer
45 views

How to study the linux kernel source? [closed]

I have finished studying Operating Systems about a year ago, and now I'm interested in linux. So I plan to study Linux from the source code. But when I look at the source code, it is really big in ...
0
votes
0answers
18 views

VirtualBox Error, Storage:Settings, Guest Additions

VirtualBox 5 on LinuxMint17.2 Trying to attach Guest additions (in Storage:Settings) for Win7 32bit guest to an empty optical drive. I've done this successfully before for a Win7 64bit guest, but ...
-1
votes
3answers
123 views

How to increase disk space in root?

So I check on my server using df -h and my centos-root is at 99% capacity. Just a few days ago, the root is at 87%. For some reason, it increases so quick. Is there any suggestions on how to reduce ...
1
vote
1answer
20 views

How to create remote repository, and update it via apt-get?

Maybe I'm not asking the proper question, but since it's something new to me here it goes: I have a remote repository with some files. Let's say, a folder in this address 89.xxx.xxx.xxx:9999/myData ...
0
votes
2answers
26 views

x server radeon with multiple screens

I've a radeon r9 270x with four outputs, two DVI, one HDMI and one DisplayPort output. I'd like to configure the X server such that it has two screens, from a user's point of view it should provide ...
0
votes
1answer
44 views

Change Permissions for a Specific User

Im new here. I have a question about changing permissions of a file. We have user1 user2 user3 and we have a "xx" file. xx files remoting by root and group1. ı have to give a writable and readable ...
0
votes
0answers
19 views

How to change fallback fonts in fontconfig?

I want to use only Noto fonts family systemwide in my ArchLinux (with latest Cinnamon DE and Infinality) because it has the widest Unicode support. However, the first fallback fonts are DejaVu: ...
6
votes
3answers
497 views

What prevents distributions from using the latest Linux kernel? [closed]

Most Linux distributions ship with a certain kernel version and only update it on point releases (x.y.z to x.y.(z+1)) and for security updates. On the other hand, I know that Linux has a very strict ...
-2
votes
1answer
31 views

cannot “grep abc *” in “/lib/systemd/system” on Debian 8 Jessie

On Debian 8 I cannot do the following command in /lib/systemd/system: root@foo:/lib/systemd/system# grep abc * grep: invalid option -- '.' Usage: grep [OPTION]... PATTERN [FILE]... Try 'grep --help' ...
3
votes
2answers
59 views

How does Grub Stage1, exactly, access/load stage 2?

This is my first ever question, I have put this question in front of Red Hat Instructors but didn't find any satisfying answers. I'm using RHEL/CENTOS6, GRUB Legacy 0.97, and have consulted heaps of ...
0
votes
1answer
27 views

What happens to a process handle when the process has stopped?

If I have a handle of a process and that process has stopped, Do I need to close the handle? Can I use the handle to rerun the process? Can I use the handle to find out information about the ...
1
vote
1answer
30 views

gunicorn: logfile directory owner being reset on reboot?

I have a droplet hosted in Digital Ocean runing Ubuntu 14.04. I have a gunicorn log directory I made to store my logfiles and it only works if the owner is the user which is running the gunicorn ...
0
votes
1answer
42 views

Linux Source Routing, Strong End System Model / Strong Host Model?

Can a multihomed Linux machine implement a true Strong ES Model? Specific Use Case I have a system with five different interfaces, each connected to the same subnet, thus the same gateway to the ...
-1
votes
1answer
32 views

Updating extensions after PHP upgrade on CentOS 5.6

I'm completely new to pecl, yum, rpm, packages and all the stuff required to get this done, so I'm hoping some of you smarter more experienced people can help me out. I only have a vague notion of ...
1
vote
0answers
9 views

Remotely use a platform device

I have a linux/android device with a certain hardware module (lets call this pc A), and a driver which uses the hardware as a platform device. Because of testing/os restrictions I'd like to be able ...
-1
votes
0answers
11 views

pci_lookup_name how to? [migrated]

I'm new to libpci. I wrote a C program, that can dectect the GPU and give its vendor_id and device_id. Now I don't know if I can get the vendor_name from its ID using libpci. vendor = ...
2
votes
2answers
32 views

Apps with Gtk2 dependencies in a KDE environment

I have recently installed the KDE version of Manjaro Linux (I was only using Gnome environment derivatives before). When I decided to install a few of my favourite apps (Sublime3, Remmina), I have ...
0
votes
1answer
35 views

How do I set up passwordless authentication with non-root users?

Using two CentOS 7 servers, I set up passwordless authentication with root users. It works fine. I tried to use the same method (with .pub and authorized_key files) with other local users. But these ...
3
votes
1answer
75 views

Why do Unix-like operating systems shut down faster than Windows? [closed]

I've tested many different operating systems on the same machine. Windows 7, 8, 8.1, OS X, Ubuntu, Linux Mint, Android x86, and Remix OS. All the Unix-like/based operating systems had in common a ...
1
vote
0answers
26 views

MD RAID 5 module doesn't load at boot

I recently upgraded my NAS to kernel 4.4 and now my md raid 5 array doesn't assemble itself at boot. dmesg reveals this: [ 2.299666] md: personality for level 5 is not loaded! and doing lsmod | ...
0
votes
1answer
29 views

Installing apr(apt-get install libapr1-dev libssl-dev) in my linux system giving me errors

Because of some security problems I am moving to Apache 7 from Apache 6. I am trying to install apr packages in my linux machine. I am using the following command to install apr. apt-get install ...
0
votes
1answer
38 views

Need help with mcelog: random freeze on Ubuntu/Fedora/Win10

My newly built computer freezes randomly. When it freezes, it doesn't respond to keyboards or mouses, so REISUB or ctrl+alt+f1 (or f2,f3.. etc) are of no use. I had tried different graphic card ...
1
vote
0answers
29 views

Bash one liner not looping [duplicate]

I am trying to loop through a file to run commands remotely via SSH but its only sending the first command and stopping. while read a b c; do ssh root@$remoteserverip "/usr/bin/mysql -e \"grant all ...
0
votes
1answer
16 views

Scientific Linux 7.1 (rhel 7.1) Gnucash from EPEL stopped working

Suddenly today I tried to launch GnuCash on my computer and nothing happened. I went to a terminal and tried to start the program and got: gnucash: symbol lookup error: /lib64/libwebkitgtk-1.0.so.0: ...
-1
votes
1answer
54 views

Report of sudo usage

How do I get a report (either CSV or an Excel file) on who is using sudo on my machine, and which account they're switching to?
1
vote
0answers
14 views

How to mount to subdirectory of autofs

I have follong problem - I'd like to use autfs in one place to mount to subdirectory of autofs. I.e. I'd like to have something like: foo -fs=... bar/baz -fs=... The problem is that (according to ...
0
votes
0answers
37 views

What's the difference between udev and acpi(d)

They both seem to be receiving & processing kernel events, so why do they both exist? From what I gather, ACPI seems to be more high-level compared to udev, but apart from that can't really tell. ...
1
vote
1answer
20 views

How to copy text of virtual terminal from graphics mode?

Linux have virtual terminals, one can switch between them with chvt 1, chvt 7 commands. Former is in the text mode, later is in the graphics mode. I want to copy all the text from first terminal, ...
0
votes
1answer
34 views

Change unix user environment

Logged in as user1, I'd like to project to another unix user env, let's say user2, without type it's password. By "project", I mean: - change current $HOME - call user2's bash startup scripts (to get ...
0
votes
1answer
26 views

What format gives photorec to files?

I have to recover a file from my usb. I didn't find it on the net. How does photorec call files of unknown format? For instance, I have a file named *.jks . How can I find it in the recovered ...
0
votes
0answers
14 views

Context menu position wrong gtk3 on hidpi

GTK 3 seems to have a problem with when running on hidpi screens outside gnome shell. I have dpi and screen dimension correctly configured via xrandr (192 dpi), i3 runs just fine. In ...
1
vote
1answer
23 views

Building an LFS system using ELLCC

Firstly, this isn't my first attempt at building an LFS system - I've already successfully built LFS 7.8 and LFS 7.8-systemd. I would like to replace GCC+GlibC with ELLCC, which is Clang/LLVM+musl. ...
1
vote
1answer
16 views

alternative approach for selective deletes from rsnapshot tree with find?

I'm looking for a generalizable solution to this problem, 'cause I'm sure it will come up again. I have a client that does medical research. Periodically we have to remove the datasets provided by ...
0
votes
1answer
16 views

Which components of Linux IO subsystem are device-independent and device-dependent?

From Tanenbaum's Modern OS, every operating system has an I/O subsystem for managing its I/O devices. Some of the I/O software is device independent, that is, applies to many or ...
3
votes
2answers
28 views

Redirect console to a serial port

I have a serial port /dev/ttyS2 that is connected to a supervisor. Normally, I use this line to send commands back and forth between CPU and supervisor. However, under some settings, I want to just ...
-1
votes
1answer
17 views

Are there any reverse package indexes?

I am looking to use specific software in Linux - some of the fancier security kernel patches, maths software such as Isabelle, the Spark compiler, nVidia drivers, nothing exceptionally exotic and ...
1
vote
1answer
31 views

What is the power dissipation of the CPU and how does it work?

I'm looking into TLP and there is this setting that I don't know what does it do: # Set Intel P-state performance: 0..100 (%) # Limit the max/min P-state to control the power dissipation of the CPU. ...
0
votes
1answer
20 views

Crontab and screen at reboot

I try to create a cron command that execute a software in a screen during start-up on my Debian. It seems easy by doing this command but it doesn't work (no screen created during start-up): ...
2
votes
2answers
63 views

Current umask of a process with <pid>

Is it possible to get current umask of a process? From /proc/<pid>/... for example?
3
votes
1answer
40 views

Why can't my servers talk to each other over direct ethernet connection?

I have two servers running RHEL 7.2. Each have 2 NICs. One NIC talks to a switch, and other is a direct connection between the two servers. One of the servers will be an NFS server, and the second ...
0
votes
1answer
25 views

Does “ip_forward” need to be enabled for any iptables SNAT/DNAT (postrouting/prerouting) rules?

I remember I had to enable ip_forward kernel parameter in the past in order to run SNAT/DNAT rules in iptables successfully. Today I was reading this post: ...
1
vote
2answers
35 views

Replace part of filename by directory name

I have folders named ACB* and in it among many other files, a couple of files called scanAC_* I want to delete the part called scanAC and replace it with the directory name it is in. For example, ...
0
votes
2answers
50 views

command not found error after giving permission to access file using chmod

I've been trying to run a script using chmod. Here's how I tried to execute the script: $ chmod u+x tester $ ./tester ./tester: Command not found. I always get the Command not found error and I'm ...
3
votes
0answers
39 views

Can using chcon to essentially bypass selinux be less secure than setting selinux to permissive?

I was wondering if it is possible to make a CentOS 7 server less secure by using chcon than it would be if SELinux were in Permissive mode. I am essentially trying to set up Phusion Passenger with ...
0
votes
0answers
23 views

Function call inside make file ( Linux)

Inside a makefile, I saw the entries below: main entry pkt_srv() { } pkt_ent() { } pku_lib() { } So, is this calling another make file. i.e pkt_srv.mak and pkt_ent.mak and what is the ...