Linux refers to the family of Unix-like computer 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

1
vote
0answers
18 views

bash- command does not work with php shell_exec

I want to execute following command on my Ubuntu server using php: android create project --target 8 --name $fname --path ./$fname --activity MainActivity --package $fpack 2>&1 The above ...
0
votes
1answer
20 views

Using Tuleap Agile Dashboard

When planning a release using the Agile Dashboard it appears that the slide function - remove the backlog to a release does not work on my environment. Note that I play the role of administrator on ...
0
votes
0answers
14 views

WiFi card not compatible with router?

I've got a new ADB EA4201N-G router that is used by the way also for cable TV. All PC are connected to this router via WiFi without problems except one - Asus EE PC Flare series. I have installed ...
0
votes
1answer
20 views

How do I exclude the following IP address range in google analytics? [on hold]

64.39.96.1-64.39.111.254 and 64.39.96.0/20 here are the instructions, but I'm not familiar with regular expressions. https://support.google.com/analytics/answer/1034840?hl=en ...
0
votes
1answer
29 views

How can I clone an entire drive to a smaller drive w?

I have a 1TB hard disk which is set up as MBR with 3 primary partitions. The sizes of the partitions are exactly 250GiB, 250Gib, and 192GiB, respectively. The remainder of the drive is unallocated ...
1
vote
0answers
15 views

clipboard between osx and linux over ssh

My dream: From my osx machine I ssh to a linux machine and can copy paste with a commandline application like xclip or pbcopy, and then be able to use it on my host machine. Example input (mac)$ ...
0
votes
1answer
31 views

Determine when reboot required after patching from the command line?

After ssh'ing into a box and using yum or apt-get to patch, I would like to determine when a reboot is required. It would be incredibly helpful to know so we can schedule a reboot in a maintenance ...
0
votes
1answer
13 views

.Xresources not read by urxvt running under crouton with i3wm

Chromebook with Linux running via crouton (originally Ubuntu 12.04, upgraded to 14.04). I'm starting X from crosh/shell using: sudo i3 Contents of i3 (comments/usage instructions omitted): ...
0
votes
0answers
11 views

DPC Latency checker tool analog for Linux

I'm using my server for HFT trading. I like DPC Latency tool http://www.thesycon.de/deu/latency_check.shtml because it allows me to check that "everything allright". On the well-tuned Windows machine ...
0
votes
1answer
16 views

why in Linux VM like vmware and XenServer, physical id > the number of cores in /proc/cpuinfo

This was only observed in Linux virtual machines. In /proc/cpuinfo, the physical id could be very large, exceeding the number of cpus. For below example, 4 core systems but the physical id is 13. ...
0
votes
2answers
32 views

Can't install openssh under ubuntu 14.04

I am just trying to install openssh-client and openssh-server on my Ubuntu 14.04 machine. When I do sudo apt-get install openssh-client I get the following: http://pastebin.com/YJp04iin (I ...
1
vote
1answer
35 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 ...
0
votes
0answers
11 views

zfs with heavy write off ssd

Planning a Gentoo Linux install. I have 2 each 128 Gb SATA SSD and 450 Gb SAS near-line 15krpm. I want to mirror each pair, but keep write heavy directories on SAS. Do I need to make two mirrored ...
-4
votes
0answers
27 views

knowing own system high quality video support [on hold]

just yesterday i have downloaded a blu-ray rip, about 15 GB, in .mkv format i am talking about a so-called 1080p, a kind of resolution I thought my hardware was able to manage but it did not (btw, ...
0
votes
2answers
21 views

Is there a way to make an ssh session act like a local terminal session?

Some of the commands I run want to be run from the X11 display. examples: I have to specify the display to run anything with xset. I can't run vbetool remotely (no display switch). Starting any ...
0
votes
0answers
13 views

Starting a chroot and drop into nonprivileged user home

I need to (temporarily) jail a non-privileged user. I tried something like: sudo chroot --userspec=mcon:users /wherever/chroottarget /bin/bash -i This almost works, but it doesn't set env vars ...
0
votes
1answer
15 views

Redirect web socket connections to newly created docker container with nginx

I created a Docker image which exposes a certain port, and listens for a single web socket connection. Is it possible to configure nginx in a way, so that for each new incoming web socket connection, ...
2
votes
1answer
27 views

How to add custom scripts to Firefox context menu?

In Opera I was able to add an item to the context menu which was bound to a script on my filesystem. So, for example, when I right-clicked an image and clicked on this menu-item, the URL was passed to ...
1
vote
1answer
43 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 ...
1
vote
1answer
17 views

run 2 different versions of ffmpeg form same server

I'm trying to run a second version of ffmpeg on a unix server without update or remove the old version. In the server it's installed version 1.0.1, can I compile latest version of ffmpeg (current ...
0
votes
0answers
12 views

-L flag eqivalent in windows Netstat?

I'm trying to set up a tor node following http://sickbits.net/creating-a-personal-privoxytorproxy-ec2-instance/ using ubuntu 14.4 lts on ec2. I've gotten to: $ ssh ubuntu@ec2-blah.amazonaws.com -i ...
0
votes
0answers
16 views

How to connect to a specific Wi-Fi band (2.4 GHz or 5 GHz) or channel from wpa_cli or wpa_supplicant in Linux?

I am using the Wi-Fi chip on my board. I've successfully connected to Wi-Fi in the 2.4 GHz band. But for the 5GHz Wi-Fi band, I need to select the channel or band before connecting. What extra ...
1
vote
1answer
32 views

Save Whole System

Is there a way to simply save a whole configurated system ? I have both a Windows and a Linux installed, both with software configured. I'd like to be able to "save it" so that when it crashed for a ...
0
votes
2answers
23 views

Split a filesystem between mutliple drives

Is it possible to split a filesystem between multiple drives? Like if one fills up, it starts using the other drive. But it should appear as only one big directory. For example, ext4 has a max volume ...
0
votes
0answers
16 views

Accessing a virtual machine outside a network

I've set up a virtual machine (using VMware, running linux mint, also had another one running RHEL 5). Now in the coming future, I'd like to develop a project which would involve remotely accessing ...
0
votes
0answers
2 views

Disable JS-initiated print actions in firefox 31

How do I prevent web pages from displaying the print dialog in firefox 31? In firefox 17 I used user_pref("capability.policy.default.Window.print", "noAccess"); to disable JS-initiated print actions, ...
1
vote
0answers
24 views

Raspberry Pi has weird network connectivity

Got a Raspberry Pi recently and it was fantastically easy to use while it was connected to my network via Ethernet. Now that my WiFi dongle (NETGEAR N150) has arrived it's a bit more fussy. I'm ...
-3
votes
0answers
9 views

working of cut -d \: -f 6 in linux [on hold]

grep loginname /etc/passwd > s this stores the complete line of loginname contains in /etc/passwd cut -d : -f 6 s this line gives the home directory. I want the working of cut -d : -f 6 s
2
votes
2answers
78 views

Java development in osx vs. ubuntu

In my job I do 60% hands on coding and the rest is divided between biz-dev and product. I've been using Ubuntu for the last 5 years and I've been extremely happy with the experience. especially when ...
3
votes
1answer
31 views

how to control users login on Linux machine according to configuration file

I use the PAM to authenticate users login info from - http://linux.die.net/man/8/pam_listfile in my Linux red-hat machine I have 5 diff users user1 user2 user3 user4 user5 I want to enable ssh ...
1
vote
0answers
30 views

How to defragment or minimize a “directory file” on ext4?

I have quite an old home directory on HDD. There were lots of files created and removed and now the size of /home/username is 995328 bytes. Please note, I mean the size of the "directory file" (every ...
7
votes
2answers
974 views

Case sensitive file extensions in Windows and Linux

In linux you can have the files example.JPG and example.jpg in the same directory. In Windows you have case sensitive extensions, but you can't put these two files in the same directory. Why not?
0
votes
0answers
18 views

How to fix Ubuntu 14.04 suspension - abruptly suspends and after manual suspension unsuspends

I had a problem when I closed my lid the desktop did not suspend so I read this post however this did not help so what I did is to rollback now my files looks as attached below. However now I have two ...
1
vote
0answers
35 views

Incorrect CPU temp on AMD A10-7850 APU (Kaveri) on Ubuntu Linux 3.16 kernel

My machine has an AMD A10-7850K APU which runs very nicely. I installed Ubuntu 14.04 when it was released, however it launched with the 3.13 kernel which did not have official support for Kaveri ...
1
vote
1answer
15 views

How to filter processes with “ps” to match all conditions?

In Linux, if I use ps --user john -C processname, then I get all processes owned by the user and in addition all processes named processname. Is there a way to modify the behavior to get only ...
1
vote
3answers
26 views

sudo command won't run from script

Linux Mint. Ok, this is going to be seriously basic but for some reason, I am mis-understanding how this works. If I type the following commands, everything works fine: cd ...
2
votes
0answers
18 views

Where are Xen guest config files stored?

I'm new to Xen stuff. I have a XenServer 6.5 running, with XenCenter and a Debian installed as a PV VM. I'm trying to setup the extra security now so I don't have to learn about it after I've been ...
1
vote
2answers
38 views

sudo chmod o+x but still can't run as regular user

I thought that doing sudo chmod a+x /root/file.to.execute or even sudo chmod 777 /root/file.to.execute should allow me—as a user—to run the program in question. But after doing this I still can’t run ...
0
votes
1answer
26 views

Performance comparison for older server [on hold]

Given the falling price of older decommissioned server hardware, I am considering purchasing one to use for my research at home. I will be running Linux, PostgreSQL, Neo4j and R-Server on it. I ...
0
votes
0answers
10 views

Why do loop devices sometimes refuse to go away?

I regularly mount the partitions inside an image file as loop devices: sudo kpartx -a test.img That creates loop devices such as /dev/mapper/loop0p1 /dev/mapper/loop0p2 When I'm done, I get rid ...
0
votes
1answer
50 views

Problems with Raspberry Pi SD card

Today I booted up my Raspberry Pi just to find this error during boot: [....] Checking root file system...Segmentation fault failed (code 139) [....] An automatic file system check (fsck) of the root ...
1
vote
1answer
23 views

How can I prevent a certificate from being trusted?

There exist two certificates in /etc/ssl/certs that I'd like to permanently remove. However, just deleting the pem files doesn't do it - those are regenerated when ca-certificates is updated. How ...
1
vote
1answer
25 views

Alias one program in a different order than $PATH

I alias pandoc='~/.cabal/bin/pandoc' because I don't want to change my $PATH order just for this one program. In general, programs I installed in /opt/, ~/.cabal/, and so on should precede defaults ...
0
votes
2answers
34 views

How to run a script after startup on Ubuntu 14.04?

I have scoured the web and tried numerous solutions. Nothing has worked for me so far, hence this question. I have a rails application that I run with mongrel_rails start -e production -p 80. That ...
2
votes
3answers
29 views

IP Address conflict in a LAN

How to find if someone has taken a particular IP address in a Local Area Network? Or in a more generalized form, how to find the list of IP address that DHCP has allocated in a Local Area Network?
1
vote
0answers
14 views

What to do with Yocto build files once complete

I am trying to learn how to use Yocto. After a successful build of an Intel Edison image, I see all the files in the output directory, but I don't know where to go from here (ie All the hard stuff ...
0
votes
0answers
16 views

changing the ownership to subfolders will affect the other folder owned by the same user?

I would need full access to the subfolder A owned by user xxxxx .(unknown may be moved out of organization) The parent folder is owned by root. Whether I am able to achieve this by changing the ...
0
votes
1answer
17 views

Set the default owner of uploaded files by a user via FTP

When I upload files, the owner gets set to my username but the group gets set to "psacln" I would like it to default to group "developers" of which i am part when I upload a file by FTP Any idea how ...
0
votes
0answers
10 views

How to copy X drivers and settings from one

I have an old laptop that I've been booting the Crunchbang 11 x64 Linux distribution off a thumbdrive for several months. I've made quite a few customizations, installed software, etc. on it. A ...
5
votes
1answer
19 views

What happens when I truncate a file that is in use?

Around the web many people say you can truncate a file using > filename or truncate -s0 filename while file begin used I know everytime a process write in a file, the process uses a offset for ...