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

0
votes
0answers
12 views

Unable to enter the home directory

Panel ISPmanager set up user domain_name. I want to add another user (dev_2), who is also involved in the development of the site. Gets the list of user groups for domain_name: root@server:~# groups ...
-1
votes
0answers
6 views

Installing repo into linux by using create repo command , create command not found

i just want to create my repo but its not working use the command # create repo -v "foldername" but it showing bash :create:command not found ,if any one can help then plzz
0
votes
1answer
15 views

External drive is extremely slow and freezing when saving files on it

I'm cloning repositories on my 5T external drive. It is extremely slow. It is not an SSD, but I feel that something is wrong somewhere. I created two partitions on it: 10k MB (~10 GB): ext4 the ...
0
votes
0answers
29 views

Linux game server is unreasonably slow

I just set up an old MMO from 2002 or so (Astonia) on a 32-bit clean install of Ubuntu, as it was just brought to my attention that the game in open source and I figured, why not? When the server is ...
0
votes
1answer
21 views

ioctl error during btrfs send

I am getting this error when I try to back up my @home btrfs subvolume from my laptop running Arch Linux to my external drive. This seems like a straightforward error, but the strange thing is that I ...
0
votes
2answers
9 views

Install Linux VM on Microsoft Hyper-V VM

I have a VPS with Windows Server 2012 and it's one of the multiple Micrsoft Hyper-V virtual machines that exists on the server. What I want to achieve: Install a virtual machine with Linux. I am ...
-1
votes
0answers
7 views

Openbox Java GUI distorted

So, I have openbox on archlinux and oracle java 8 installed. However, when I try to run a Java program with GUI, the buttons are stretched vertically(or just distorted in general). Also, no text is ...
0
votes
1answer
13 views

Check that kernel supports aes-xts-plain64 cipher

After an update I can't access my encrypted disk. When trying to do so : sudo cryptsetup luksOpen /dev/sda8 Documents Failed to setup dm-crypt key mapping Check that kernel supports ...
0
votes
1answer
9 views

How to format a FUSE volume?

If I have a FUSE filesystem driver installed (could be for NTFS, ODS-5, unixv7, etc.) and mount a blank file (created with, for example, dd if=/dev/zero of=blankfile count=2G), how is it expected to ...
0
votes
0answers
4 views

Does LXC have an equivalent to Dockerfile?

I'd like to build linux but it requires an envirnoment different from my host. I was going to use docker but realized that the audience using the code might prefer LXC. Does anyone know how to craft ...
0
votes
1answer
22 views

Using shell (bash) to determine key for value from file

I am scripting some application deployment and deploy promotion processes using bash (shell). These scripts are being written as a failsafe in case our CI platform ever fails again (as it has ...
5
votes
11answers
37k views

How can I find the number of users online in Linux?

How can I see how many people are logged on to a Linux machine? I know the 'users' command shows all the people logged in but I need a number. Is there a switch for users that I am missing in the man ...
1
vote
0answers
21 views

OCI8 extension not loading in PHP 5.4, CentOS 7

I have a CentOS environment running as a VM guest. It runs and Oracle 12.1 Database, along with PHP 5.4.16, on Apache 2.0. I've gone through the installation steps to ensure that the correct OCI ...
0
votes
1answer
14 views

One way bridge between interfaces

I'm currently trying to set up my server to be based on containers to limit RAM and CPU usage for all programs. My problem is, that I would like to have all applications in different containers listen ...
3
votes
4answers
571 views

Focus on application when changing workspaces in awesome-wm

I am using archlinux in combination with awesome-wm for quite a while now. I still haven't figured out how to automatically grab the focus on an application when changing workspace through Mod+number. ...
0
votes
1answer
16 views

Installing Linux onto eMMC

everyone. I'm new here, and somewhat a noob when it comes to Linux, but here's my situation. A friend had gotten an HP netbook (11-d020) with a 32GB eMMC. Even after getting a 32GB SD for additional ...
2
votes
2answers
613 views

Conflicts between new 32 bit and old 64 bit packages when installing rpmfusion's steam on fedora

I have a fresh install of the KDE spin of fedora 22. Quite simple install instructions are given here to install steam: Download rpmfusion repos sudo dnf install <downloaded rpms> sudo dnf ...
1
vote
2answers
7k views

Permission problems with rsync

I wanna do daily ssh synchronization of some of my local machines files with my server. I want to do this via rsync, since it sounds the most promising tool for this task to me. Sadly I get the ...
0
votes
0answers
10 views

route all traffic from one user through vpn

I am trying to setup my linux computer so that all network from one user goes through my openvpn client, while everything else from all other users goes straight out to the internet. I know that this ...
2
votes
2answers
706 views

Echo in file returns No such file or directory

I'm wondering why my simple script doesn't work: #!/usr/bin/env bash user_variable='$1' echo "export USER_VAR=$user_variable" > ~$user_variable/.filename When I launch the script I have this ...
0
votes
1answer
11 views

write a variable to a file on the end of a specific line

I want to add a variable to the end of a specific line in file file.txt. My code so far: #!/bin/bash read -p "What is the path of the repo? > " input echo :$input >> file.txt I want ...
0
votes
1answer
16 views

Need to run .jar file having .sh file on desktop for all PC's.

i'm running a .Jar file User Interface which include script from Desktop of PC by following code in netbeans. String[] pc1 = {"gnome-terminal","-e","/home/noman-i7/Desktop/connect/pc1.sh"}; my code ...
0
votes
0answers
6 views

Thunderbird uses Maildir of MH?

have configured thunderbird to work with IMAP. I pretend to use notmuch to search for my emails, but I need to know if thunderbird uses Maildir or MH mail format? If not, can I can convert thunderbird ...
0
votes
1answer
7 views

Have all newly created NetworkManager connections automatically connect to VPN

There's a setting in NetworkManager's UI 'Automatically connect to VPN when using this connection' that allows you to set a VPN connection that is automatically connected to when a particular ...
0
votes
0answers
5 views

linux load balancing between two “neighbors” on the same core

Linux scheduler uses sched domains and sched groups in order to achieve load balancing between the cpus of the computer. My computer has i-7 processor which have 4 hyper-threaded cores - which means ...
0
votes
0answers
6 views

nfqueue is full and I don't know how to flush it

I wrote a python script to handle some packets in a nfqueue but something went wrong, the queue got flooded with packets and now the script won't run because it can't open the queue. It says: ...
-1
votes
0answers
6 views

process affinity to a cpu that was disabled and then was enabled back on

My question is related to sched_setaffinity system call. If a process cpu_allowed mask is set to only cpu_i , and than cpu_i is disabled (hotplug) and then enabled again - should the process be back ...
2
votes
3answers
6k views

Cant get squid proxy to work

i need squid proxy on my centos server. But i just can't get it to work. I did yum install squid. Here is my squid.conf file (i removed all comments): acl all src 0.0.0.0/0.0.0.0 acl manager proto ...
0
votes
1answer
140 views

Failover on voyage os using eth0 and ppp0 interfaces

Hi I am having problem for failover handling on voyage os. I have a system with eth0 and ppp0 interfaces where eth0 is primary and ppp0 is a secondary path for traffic. root@voyage:~# route -n ...
0
votes
1answer
3k views

Recursive filesystem notifications (inotify) for Ubuntu Karmic Koala

I need a program which generates events when a file is moved, removed or its extended attributes are changed. I'm running Ubuntu Karmic Koala 32-bit desktop. inotify is the standard solution for such ...
2
votes
2answers
22 views

diff stop after first difference

I'd like to perform a diff on 2 files and have it cease at the first difference. I don't require that the command be done via diff, of course, but I do require that the actual command cease once the ...
0
votes
0answers
8 views

Set resolution in vbox live iso guest

If I run live linux from iso as guest in virtualbox how can i set custom resolution since installing vbox guest additions makes no sense because it requires reboot to take effect which is not an ...
1
vote
3answers
58 views

dd - how to extract a subsection of a file with 2 offsets?

I have a file that I want where the starting byte offset is 3020852 and the ending byte offset is 13973824. There's some variation of this command: dd ibs=X obs=Y skip=1 count=1 that I haven't got ...
0
votes
1answer
9 views

Can't access to trash?

Whenever I try to enter into Trash Bin in Nautilus when a file is in it, an error message will display: Sorry, could not display all the contents of trash:///: Operation not supported. Neither sudo or ...
0
votes
0answers
7 views

Network Manager: username prompt

When connecting to a WPA Enterprise network in Windows, users usually get a username/password prompt (e.g. https://dirteam.com/legacy/sander/WindowsAuthPrompt_784A5337.jpg). On Linux, Network Manager ...
1
vote
3answers
4k views

How to (cleanly) dismount sshfs when mounted on a NFS mount point?

My coworker has a desktop computer with /home shared on our file server. I have developed a Perl script for sshfs-mounting a certain directory on another SSH host which works fine on my laptop. On ...
0
votes
0answers
14 views

Most windows disappear after second display unplugged in KDE

I have a HDMI 2nd display plugged into my laptop and I have set it as the primary display in KDE. When I close the lid and unplug the 2nd display, even though I deliberately moved most windows onto my ...
1
vote
1answer
28 views

Changing sh color in .bashrc

I'm trying to change the color of my shell which I connect to using Putty. When I type this export PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h:\w\$ ' I get exactly what I want. ...
0
votes
0answers
10 views

Linux mint - Yellowish tint to the display

I am using Windows 10 and the screen display looks perfect. But I wanted to try few Linux OS. So when I tried Linux mint, white color looks like it has some yellowish tint. This didn't happen with ...
0
votes
0answers
15 views

QEMU with GPU pass through won't start

I'm running Ubuntu and trying to configure QEMU with a GPU pass through. I was following those guides: https://www.youtube.com/watch?v=w-hOr44oBAI ...
1
vote
1answer
4k views

Kali Linux No Sound

Basically I misstakenly removed alsa config because of this guide http://hackerzelite.blogspot.in/2014/03/fix-sound-driver-on-kali-linux.html . And there is no sound icon now, as well no sound. But ...
0
votes
1answer
4k views

Can't get 1440x900 resolution with GRUB2 although vbeinfo says it's available

I'm trying to use GRUB2 in graphical mode with 1440x900 resolution, but the result is always garbled nonsense: the highest resolution I can get is 1280x800. Word is from googling that long as vbeinfo ...
2
votes
0answers
22 views

How do I change the label of a raw device?

I would like to change the name of sda to Arch. How do I do that? I used e2label but it only works on filesystems and not on the raw disk. nishant@arch ~ % lsblk -o name,mountpoint,label,size,uuid ...
0
votes
0answers
17 views

Node nohup process is killed on closing putty (but not on exit)

I am running my node server on a cluster by remotely connecting to the server using Putty windows interface. I am running my node process as nohup .. & so that it runs in background and does not ...
26
votes
7answers
8k views

How to whois new TLDs?

How can I look up new TLDs, such as .email, .guru, etc., using the whois command in linux? Running whois on a new TLD only gives the response: No whois server is known for this kind of object.
4
votes
1answer
3k views

Setting up Seagate Goflex on Ubuntu

I have a Seagate Goflex external hard drive. When I plug it in it has set up files for Mac and Windows, but I'm new to Ubuntu and do not know how to set it up on here. How can I go about doing this?
3
votes
1answer
3k views

RW mounted usb drive regarded read-only by cp

Context Can any of you help me with the following, I've got a micro sd card inserted via a usb stick into my Compaq 8510w laptop running the latest Arch Linux (x86_64) release. I have a udev rule ...
0
votes
0answers
14 views

git hub for version control for an entire directory

Code at bottom I am using a private repo on git hub as a version control between me and partner and I am having some difficulties in my approach. I have wrote a few bash scripts as a way of ...
0
votes
1answer
9 views

Visual bug in GDM for Arch Linux

Whenever I boot into GDM, I get this weird visual tearing of the elements on the screen. I'm able to actually log in (by pressing enter and typing in my password) but the visual elements in the login ...
1
vote
4answers
4k views

Dual booting windows 8 and Kali Linux 1.0.8

I'm trying to install kali linux along with windows 8 The latest Kali version (1.0.8) supports booting alongside windows 8 I installed Kali Linux from a LiveCD, rebooted and it went straight to ...