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

1
vote
0answers
19 views

On-the-fly decompression

I have 44 TB worth of gzipped files that are 1.5 GB each when compressed or 2.0 GB when uncompressed. I have a tool that can read only uncompressed files. I would like to avoid the overhead of ...
0
votes
1answer
13 views

Installing Linux as the primary OS on HP Pavilion DV-7-1225-ez

I have an old entertainment laptop, HP Pavilion DV7-1225ez, which I would like to turn into a portable development/learning computer. I am now going through various linux distros to find the most ...
1
vote
1answer
59 views

Infinite loop in bash

I've 672 files in local directory, filenames are like: boutique-*_20160116hh0000.csv, general-tgbt_1_20160116hh0000.csv, where hh - hours' number and (for instance, boutique-a13_15_20160116060000.csv, ...
0
votes
0answers
7 views

Don't work keyboard layout x2go windows

I have a installation of X2GO. If I connect to x2go from linux and x2goclient change the keyboard layout works fine. But if I do this from windows I can't change the layout. I can only use English ...
3
votes
1answer
50 views

Can the kernel symbols' addresses be influenced? consequences?

tl;dr: in my distros linux 3.08 kernel using cat /proc/kallsyms I can find out that for instance the _commit_creds function/symbol is located at address 0xc1073fe0. When either: building my kernel ...
0
votes
1answer
17 views

how to give yes as default option to apt-get install in ubuntu

I want to create a script so that I can download and install multiple linux software or packages. When some one download any package using apt-get install command, it asks to enter yes/no to proceed ...
0
votes
1answer
22 views

cannot reload .profile from script

I am trying to reload .profile from the below script, but that doesn't work at all. #!/bin/ksh sed -i '/export rel=Rel1510_Linux/c\export rel=Rel1602_MX' ~/.profile source ~/.profile When I run ...
1
vote
0answers
31 views

How to install ubuntu on live USB stick that I booted from?

I have a old netbook with single USB port and broken harddrive. I've somehow aquired a 16gb lubuntu 15.10 willy live USB. I want to use this as primary OS on my netbook. Since I don't have access to ...
0
votes
0answers
27 views

Cannot access server outside of server`

I have a node server listening on port 80. If I send a request to it like this: request('http://127.0.0.1:80',function(err,res,data) {console.log(data)}) It works. It returns what I would expect. ...
0
votes
1answer
13 views

How do I apply a manifest from a Puppet Master server to a Puppet Agent node server?

I installed Puppet Agent on a CentOS 7 server. I installed Puppet Master on a different CentOS 7 server. I'm using the free version of Puppet on both servers. The Puppet Agent server requested a ...
0
votes
1answer
27 views

linux how to config route etc/network/interfaces?

how to config route in etc/network/interfaces ? i want add 3 route in eth0 and eth1 i have try to configure like this: auto lo iface lo inet loopback auto eth0 iface eth0 inet static ...
0
votes
0answers
18 views

systemctl script not able to read and write

I have a script running at start up using systemctl. Shown below. The script that runs just reads and writes data from a txt file. [Unit] Description= Start sample script After=local-fs.target ...
0
votes
0answers
13 views

localize banner message on login screen in gdm 3.8 and above

I am using dconf db to set the banner message as follows: Create a gdm keyfile for machine-wide settings in /etc/dconf/db/gdm.d/01-banner-message: [org/gnome/login-screen] banner-message-enable=true ...
4
votes
1answer
64 views

Linux Mint: pastebin is in /usr/local/bin

I'm running Linux Mint 17. I found a pastebin python file in /usr/local/bin In light of what people use pastebin for, was this a security risk? Output from the stat command: File: ‘pastebin’ ...
0
votes
1answer
27 views

Hamachi not working properly with PPPoE connections

I'm experiencing some troubles running Hamachi VPN alongside with a PPoE connection. On my linux_machine I have 3 different interfaces: eth0: the unconfigured ethernet interface used by ppp0 for ...
1
vote
1answer
22 views

Using wpa_supplicant to select an access point

I have two access points in my home, and I connect to either one of them depending on which one I need. One runs behind a Tor router, the other is my normal access point. Can I use wpa_supplicant to ...
1
vote
0answers
35 views

Lenovo ThinkPad headphones trouble (combo jack)

Well... Sometimes ago I've bought a laptop Lenovo ThinkPad E555 with pre-installed Windows. I've removed Windows and installed Linux Mint 17.3. And now, sound through headphones does not work, only ...
2
votes
0answers
53 views

Small CLI-only distribution based on Arch or Debian

I've looked at a lot of topics that look like what I'm looking for but aren't quite what I want. To give you some context, my ultimate goal is to have a Vagrant box that can compile some C code and ...
0
votes
1answer
50 views

run multiple instances of MySQL CentOS7

I need to have multiple instances of MySQL running on my PC. I did this: yum install mariadb-server mariadb => install mysql mysql_install_db --datadir=/var/lib/mysql => use mysql_install_db ...
0
votes
0answers
14 views

Linux RPC call is slow [migrated]

The following RPC program executes very slow on fedora. if i change the name buffer into name [512] in llist.x file, then its working fast. I dont know why. Anyone know the reason please let me know. ...
0
votes
0answers
30 views

Setting up LVDS display for debian jessie

I am just trying to setup my debian 8.2 stable in my Intel(R) Atom(TM) CPU N2600 @ 1.60GHz. The installation goes smooth without any issues. For this system , we are planning to use DUAL display ...
0
votes
0answers
20 views

Winexe “failed to open connection - NT_STATUS_RESOURCE_NAME_NOT_FOUND”

I'm trying to run secedit on a Windows server using cmd, remotely from a Linux (CentOS6) computer. I installed Winexe for this purpose, but the command winexe -U username%password //host "cmd.exe" ...
2
votes
0answers
77 views

Dual-boot Linux on a Mac with original Boot Loader without uninstalling OS X [migrated]

phew, long title beware! My question here is, I own a Macbook Air 2014 model, and have duel-booted OS X and Bootcamped Windows 10. Now I want to be able to install a Linux distribution (most likely ...
1
vote
0answers
8 views

Copy a driver to other kernel?

I have installed RemixOS on my Laptop (sony vaio SVF 1521V1EB) but the Wifi is not working... However I could make it working on Ubuntu, so my question that am I able to copy the module files from the ...
1
vote
0answers
20 views

How can I mount Android encrypted FS on desktop Linux?

There is "vdc" command line utility in Android. Is there something similar for regular desktop Linux? Reading of https://source.android.com/security/encryption/ didn't help.
0
votes
1answer
46 views

Headphones only work correcly when plugged halfway

My headphones are working some kind of strange. The sound is very low even when set to maximum, and the speech is almost unhearable. When I listen to music I can't hear speech as well as when ...
0
votes
0answers
13 views

Get the event-related file name from inotifywait [duplicate]

I would like to set up inotifywait so that when an event, like a file in a directory is modified, occurs, I can run a command on that file. For example, if my file named style.css is modified and ...
0
votes
3answers
52 views

How to install GCC 4.7.2 on CentOS 5.2?

I'm trying to install GCC 4.7.2 on a CentOS (virtual) machine. In order to do this, I downloaded GCC 4.7.2, and tried to configure and to make it. Unfortunately the configuring didn't work, as other ...
1
vote
1answer
20 views

How to return the nearest DNS IP based upon requesting client's IP?

To achieve a faster internet experience, one aspect that can be optimized is to ensure a client is making use of a nearby DNS, rather than something on the opposite side of the world that might ...
3
votes
1answer
37 views

How to find out if a file on btrfs is copy-on-write?

I know that cp has a --reflink option to control full copies vs. copy-on-write "copies". On btrfs, can I use ls (or some other command) to find out whether a file shares (in a copy-on-write senses) ...
0
votes
1answer
43 views

CentOS 6.7: network is unreachable after a new clean installation

I have a new clean installation of CentOS 6.7, it is not on a VM, but on a dedicated notebook. During the installation procedure I've configured my WiFi connection and have added it on eth0 ...
3
votes
1answer
17 views

Preventing battery from constant charging in Ultrabook

I'm running Debian Jessie (64-bit) on a newly-acquired Samsung Ultrabook NP900X3E, so far everything's working as it's supposed to. However, the battery life is okay, but not great. Therefore, I ...
1
vote
0answers
20 views

Is it feasible to fill a ntfs partition/device pre install with zeroess?

In my question about copying with dd one of the commentors pointed out the method of filling the unused space with 0s. Is there a way for a dd of a 80 GB hard drive to be minimal in size? Now after ...
0
votes
1answer
53 views

I can't install anything because apt-get requires an password

I have a problem installing new packages on Lubuntu. I have the root password of the system. when I type some command to install or update, using apt-get, the terminal shows the message: "No passwd ...
2
votes
1answer
34 views

Is there a way for a dd of a 80 GB hard drive to be minimal in size?

For backup reasons I need to use dd to copy a whole hard drive (including MBR, partitions,...). The hard drive is 80 GB in size where only 1.8 GB are used. The command I'm using is the following: dd ...
1
vote
0answers
25 views

Screen wont work once monitor is disconnected

I have a JetWay PC (JBC375F3AW) running CentOS7. When it boots up everything works OK. If I remove the cable going to the DVI port and re-connect it, it wont work. The same goes if I boot the box ...
0
votes
0answers
33 views

Linux: Building our own firewall box?

I'm actually on AWS Cloud, but sick of their limitations of IP Blocking feature given in Network ACLs there. Because Network ACLs can "BLOCK" by IP but they have rule limitations. So i came to think ...
0
votes
1answer
15 views

yum Invalid or prohibited port

I have an http repo on non-standard port 4080. When trying to retrieve packages list it fails: # yum install aaa Loaded plugins: security, versionlock ...
1
vote
1answer
32 views

grep content between two starting bracket

Below is file output that I want to access [1] RsyncCommand: 0 Number of files: 18 Number of files transferred: 0 Total file size: 24.01M bytes Total transferred file size: 0 bytes Literal data: 0 ...
0
votes
0answers
46 views

NetBeans IDE - Warning

I'm using Linux Mint 17.3. I installed NetBeans on it and whenever I open the Netbeans App, I receive this warning message: The package containing the class javax.swing.JComponentBeanInfo was ...
0
votes
0answers
25 views

How thread context switch faster then the process context switch?

I want to know how thread context switch faster then the process context switch? For example, in the apache web server running on ubuntu can use either the Prefork MPM (spawning multiple child ...
0
votes
0answers
14 views

Mhddfs drive failing procedure?

So i have 3 drives (1x 3TB and 2x 4TB) in my NAS. The 3TB drive is starting to die. My current setup involves the 3TB and 1x 4TB as a 6TB mhddfs pool with the remaining 4TB drive strictly for parity. ...
1
vote
0answers
14 views

Internet not working on Puppy 6.3 64 bit O.S using Frisbee telephonic pppoe connection

I have Dialup broadband internet connection. On windows I use PPPOE Connection type with giving connection server name, user name and password, it works perfectly on windows. On Linux Puppy ...
1
vote
1answer
14 views

Local “restful” service

I have a thermostat which polls a serial interface for the temperature. This interface can't be polled more often than thirty seconds at a time. There are several different python scripts which need ...
0
votes
1answer
21 views

Use NIC bonding with independent switches

I'm using Debian and would like to setup a HA network with a few servers. This is my configuration: -----sw1--------------sw2------------ host1 / / \ \ / srv1 ...
4
votes
1answer
119 views

Arrow keys in `less`

In the manpage of less the up- and down-arrow keys aren't mentioned in the context of normal navigation, yet on Debian Linux (8.2) they obviously work to scroll up and down. Why is this? A lesskey ...
0
votes
1answer
18 views

Q: How to tell the Linux Kernel to ignore MULTIPLE ata devices?

So, there were already questions about ignoring ata devices (like How to tell Linux Kernel > 3.0 to completely ignore a failing disk?) from where I got the info that one has to add something like ...
1
vote
1answer
45 views

ls -lu does not give last access time

The manpage of ls says: -u with -lt: sort by, and show, access time; with -l: show access time and sort by name; otherwise: sort by access time but that doesn't seem to work: ...
1
vote
0answers
37 views

Why does NetworkManager explicitly support tun/tap devices?

Apparently NetworkManager recently gained support for macvlan interfaces. I notice it also supports macvtap, and the patch shows it already had some support for tun/tap devices. I thought tap ...
0
votes
1answer
18 views

OPENSSL_1.0.0 not found when running PyPy 4.0.1 on Amazon Linux (AWS EC2)

I want to run PyPy 4.0.1 on Amazon Linux (AWS EC2), and then downloaded and unzipped the tar.bz file. Also, I created the symbolic links to fix problems, such as pypy: error while loading shared ...