A family of Unix-like operating systems using the Linux kernel. If your question is about a certain distribution only, use a more specific tag.

learn more… | top users | synonyms

3
votes
2answers
488 views

GNU Screen: Combining split-regions and full-screen sessions

Let's say I have three sessions: 0, 1 and 2 I'm on session 0 and I press CTRL-A S to split the screen. Then I select session 1 for the bottom split region, while 0 is in the upper. Can I switch to ...
3
votes
2answers
403 views

Command line merge a sequence of overlapping binary file chunks in Win or Linux

I have a set of binary file chunks from a video file. They are partly overlapping. To exemplify say that the video file binary data can be represented like this: ---ABCDEFGHIJKLMNOPQRSTUVXYZ ...
3
votes
2answers
1k views

How large is the performance loss for a 64-bit VirtualBox guest running on a 32-bit host?

I have a 64-bit Virtualbox guest running Gentoo Linux (amd64) and it is currently hosted on a 32-bit Gentoo laptop. I've noticed that the performance of the VM is very slow compared to the ...
3
votes
2answers
127 views

MySQL optimisation in Linux

I am performing massive insertion operation towards a MySQL database (100+ million records). Afterwards, I select records out of the two tables using for the most part their primary key. I seek to ...
3
votes
2answers
1k views

Hardsubbing MKV files that use .ass subtitles and embedded fonts

This question pertains only to Linux and FreeBSD. I have several soft subbed anime mkv files that I need to hardsub. they are all using .ass subtitles with embedded fonts. for example mkvinfo on one ...
3
votes
2answers
662 views

Optimum Swappiness for a Linux System

I have a 64-Bit Linux PC with 4 GB of RAM. How can I find the optimum value of swappiness (/proc/sys/vm/swappiness) to be set? The default is 60 and I don't think it works best for everyone. I am ...
3
votes
2answers
490 views

Scramdisk for Linux (SD4L)

I can't find any evidence of people using Scramdisk for Linux anywhere. Is it a dead project, or is it just too new for people to trust its reliability and security? Have any of you used it for any ...
3
votes
2answers
571 views

GNU/Linux beep from the PC speaker

How to use (internal) PC speaker instead of external speakers for the "tput bel" sound? Which parameters should I change?
3
votes
2answers
952 views

GRUB-2 Bootloader fails to load for lack of floppy drive. Ubuntu 10.4 & Windows XP

2010.07.21 while trying to install Ubuntu 10.4 Hello all, I've been trying to install Ubuntu 10.04 on my Dell workstation and am unable to get the Grub-2 bootloader to load properly. It seems to be ...
2
votes
2answers
29 views

compare and calculate two variables with multiple values in shell script

I have written three hive queries in shell script for calculating debit-credit and target amounts which output below values: debit_amount : BOI 4760545.650000 AXIS 284.49000000 SBI 87.220000000 ...
2
votes
2answers
146 views

LVM: Two or more volume groups (VGs) on one physical volume (PV)

I have just a short question about LVM. A physical volume is a Partition or a whole Disk. A volume group is a container for a least one physical volume. So I know that a volume group can have more ...
2
votes
2answers
66 views

How can I get wifi on virtual machines for Kali Linux?

I want to connect my virtual machine (running Kali Linux) to wifi networks so I can do testing on the network (not through NAT). I have a Asus USB-AC56 wireless adapter but even with this I cannot ...
2
votes
2answers
121 views

SSH Login Without Password failed,no hmac-sha2-256,hmac-sha2-512 are used when kex_parse_kexinit

In my cluster, SSH login without password is okay. But after I restart the sshd service, only two servers cannot SSH login without password. Others are OK. I compare the successes log with the failed ...
2
votes
2answers
695 views

Linux CentOS 7 printer installation, what is the hpps program?

I just installed Linux CentOS 7 on my laptop. I tried to install my local printer, but it does not work. At the end of the configuration process, the system shows a window stating: Printer ...
2
votes
2answers
76 views

bash script.sh vs ./script.sh vs #shebang

Assuming i am in a bash shell now and i execute the following [me@server]$ bash script.sh q1) Is a new child bash process created to execute the script ? If i do a [me@server]$ ./script.sh q2) ...
2
votes
2answers
1k views

How to install Virtualbox Guest Additions in Kali Linux:

I have a problem with my Kali Linux, I am getting an error while installing virtual box guest addition. I have Windows 8.1 64-bit and I have installed virtual box latest version 4.3.28 in my windows. ...
2
votes
2answers
117 views

Upgrading my Ubuntu virtual server makes the network interface disappear

I have a Ubuntu 14.10 VPS. Everytime I try to upgrade to 15.04 I experience weird symptoms. I was able to upgrade from 14.04 to 14.10 with no problems. After the upgrade is successful and the server ...
2
votes
2answers
186 views

User space application for CIFS

I need to mount my windows share on linux machine which does not have CIFS kernel module. Is there any user space application available equivalent to CIFS kernel module? Or is there simply anyway I ...
2
votes
2answers
241 views

Can't see Linux fdisk created GPT disk partitions in Windows 7 (64-bit)

I just added 2 new disks (only for data, no OS booting) and had them set up equally with GPT and equal partitions, to use the partitions as RAID1 in Arch Linux, and the rest of the storage for ...
2
votes
2answers
1k views

Samba Winbind not working in Debian 8

I am setting up a new samba environment based on Debian Jessie. Installation of PDC was succesfully and Windows clients were able to join. Have a problem at joining the Linux clients. I was following ...
2
votes
2answers
187 views

Java Swing apps steal/don't release focus in KDE

Kubuntu 14.04 (64bit) with KDE 4.13.3, Java Oracle 1.7.0_80-b15 This problem first occured in 12.04 and persists. Java version does not affect the behaviour, i.e. the same happens with 1.6 to 1.8. ...
2
votes
2answers
69 views

Is it possible to highlight text with the keyboard only?

I know you can highlight text with the mouse, but can this be done in a terminal on Linux/MacOSX with the keyboard only? I've tried using shift and other commands with the arrow keys to no avail. Is ...
2
votes
2answers
269 views

Renaming multiple files to start with a capital letter

i'm trying to update my website to use CodeIgniter 3 but Starting with CodeIgniter 3.0, all class filenames (libraries, drivers, controllers and models) must be named in a Ucfirst-like manner or in ...
2
votes
2answers
635 views

USB 3.0 linux live boot issues

I have a problem with booting any live linux distribution from USB flash drive 3.0 (Kingston DataTraveler 100 G3 16 GB). When I do the same with USB flash 2.0 (Philips) => create bootable usb (using ...
2
votes
2answers
86 views

Linux console periodically hangs for sporadic, short periods of time

I am working with embedded Linux, and I have some strange behavior on custom board, in which the serial console—connection via UART—hangs for a 1-2 seconds every 15-20 seconds: The entered chars in ...
2
votes
2answers
2k views

Not able to create a user account in Linux Mint 17 Qiana with Mate desktop

Recently I installed Linux Mint 17 Qiana with Mate desktop, downloaded from the Linux Mint website. All works fine but I am not able to create new user in "Users and Groups" GUI tool. Opened "Users ...
2
votes
2answers
4k views

How do I stop rfkill module from hardblocking my wifi, without rfkill command?

I went into my BIOS the other day, didn't change anything, and rebooted. After this, my wifi was hardblocked. I looked online for solutions, and learned of the rfkill command. But I get rfkill: ...
2
votes
2answers
406 views

How to run pip in non-interactive mode?

Most of tools I'm using have some mode (often ON by default) where they ask me zero questions while running the command. apt-get is an example close to pip. There's -y option which makes it ...
2
votes
2answers
51 views

One-line code in bashrc to edit pdf

I would like to have a one-line code in bashrc, for removing the first page of a pdf. The command to be typed in the bash prompt could of the form: cut name.pdf This command should remove the ...
2
votes
2answers
101 views

Is there a way to save and restore a set of tabs in a linux file manager?

For a frequent task, I need a file manager window open with about 8 tabs, each a different location. I'd like to be able to open the tabs once and then save them as a "tab set", so that in future ...
2
votes
2answers
36 views

how does a program know where it's shared libs are, without LD_LIBRARY_PATH

I have a program foobar that uses shared libraries. I setup LD_LIBRARY_PATH correctly and then when I run >ldd foobar I can see that it knows full paths to all the libraries it needs. ...
2
votes
2answers
2k views

How do I disable the huge clown mouse cursor when using a QHD display?

I recently purchased a large QHD monitor for some screen real estate. Unfortunately, as soon as (I'm assuming) Cinnamon noticed the 2560x1440 resolution, it went and blew my cursor up to an annoyingly ...
2
votes
2answers
3k views

Can phpMyAdmin be used to connect to a remote database?

I recently read this tutorial, which explains how one can easily reconfigure a local installation of phpMyAdmin to connect to a remote database. The functionality seems to be supported, but not ...
2
votes
2answers
556 views

Checking if VPN is working correctly

How to make sure, that all traffic (e.g. from web browser) is passing through VPN and no data is leaking through normal internet interface? Or how to check, what interface (VPN or other) is used by ...
2
votes
2answers
658 views

reverse usb tethering in strict dns environment

In the environment, all DNS query is blocked by firewall. And wifi or 3G is not allowed I want to let a rooted Android(192.168.42.2) accessing internet by plug usb on PC(192.168.42.1 for usb0 ...
2
votes
2answers
190 views

Archipel / Xen Orchestra

I'm hoping you can help me to get my head around this! We want to start using virtualisation. We intend to rent a large server in a datacentre and use this. I was excited to see that XenServer is ...
2
votes
2answers
3k views

Multiple IPs on Multiple NICs same subnet

So, I've got two NICs: eth0 eth1 and I have multiple IP addresses assigned to each: auto lo iface lo inet loopback allow-hotplug eth0 iface eth0 inet static address 10.0.0.194 netmask ...
2
votes
2answers
206 views

Which package contains the `most` command

I feel extremely dumb for asking this, but: On CentOS, which package should I install to have the most command (a really nice pager)? A google search turns up way too many irrelevant results. A ...
2
votes
2answers
37 views

Linux File Protection

How can I protect my linux box from any physical access to my files and folders. When you protect your linux, a user can use LiveDVD or mount to another bootable PC and access to all content of your ...
2
votes
2answers
193 views

To install and use Django 1.4.1 without sudo access

I want to install this software to a server where I have no sudo access. They have Django 1.2.x installed there, but the software needs Django 1.4.1. The server has the adapter between Python and ...
2
votes
2answers
2k views

How can I port forward an LAN port to a WAN Ip with iptables?

Using iptables on my router (dd-wrt), I'd like to forward requests to the router on port 64738 from the LAN to an IP (192.168.10.14) on the WAN. This is the opposite of the norm (forwarding a request ...
2
votes
2answers
1k views

Having bridged network for lxc containers in Amazon ec2

I am trying to setup LXC containers on top of Amazon. I am very much new to Amazon and VPC especially. In fact created VPC for the first time to experiment lxc. My Goal: My goal is to have lxc ...
2
votes
2answers
422 views

How can I share the XBMC video library in two OSes, in the same computer?

I dual boot, and that would be very nice. I use Windows 7 and Crunchbang Linux by the way. I googled this question and all I got was how to sync the library between two devices - and that's not what ...
2
votes
2answers
213 views

How can I review updates before actually upgrading with apt-get in Debian

Before acutally doing #apt-get upgrade on a Debian server, I'd like to get an overview of the package names about to be updated and what the changes are in those packages. Recently my root account ...
2
votes
2answers
524 views

Visual Studio inside VirtualBox, how to place source code root on Linux host?

This question is kind of the opposite of Coding in Visual Studio in Linux VM?. I considered posting it on Stack Overflow, but since it isn't strictly a programming problem I thought it'd be a better ...
2
votes
2answers
2k views

Automount USB pen drive and CDROM drive on plugin

I have a raspberry Pi and using Raspbian (without the GUI) and need USB pen drives to be mounted to /media/usb and cdrom drive to be mounted to /media/cdrom. I have set up a script using autofs ...
2
votes
2answers
232 views

Understanding file ownership Linux

I have a Java program on my Linux box and I wanted to create a little one-liner shell script in /bin to prevent having to navigate to the folder of the program and setting all the command line ...
2
votes
2answers
87 views

Is there a way to automatically get track of installed packages and dependencies?

There are packages I installed using 'apt-get install', that installed also all its dependencies. If I want to remove it after some time, I would remove its dependencies as well. Now I do not trust ...
2
votes
2answers
1k views

How do I gracefully fall back to AutoIP when there is no DHCP service available?

I am developing an embedded device based on Linux and Busybox, and trying to make it adaptable to different network configurations. I want to: 1- At boot time, if there is no DHCP reply, use an ...
2
votes
2answers
506 views

Fastest way to keep two files in sync?

I care only about the same file stored in two different machines. I would like to keep changes in sync and as fast as possible. Would rsync as a daemon be up to it? Or is there something else I can ...