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

0
votes
0answers
5 views

ActiveSupport requires ruby version >= 1.9.3., but Ruby 2.1.5 installed

I am getting this error when trying to install middleman: root@ThinkPad-T410:~# sudo gem install -V middleman root@ThinkPad-T410:~# ERROR: Error installing middleman: root@ThinkPad-T410:~# ...
2
votes
1answer
58 views

PC will not boot from CDROM

I'm trying to install Linux from a live CD (Elementary OS) I set my boot priority order so that CDROM was first in the BIOS. However my PC always chooses to load my SSD drive instead. To check that ...
0
votes
0answers
9 views

Logrotate not rotating on file size

According to the man page "Normally, logrotate is run as a daily cron job. It will not modify a log multiple times in one day unless the criterium for that log is based on the log’s size". So, ...
0
votes
0answers
16 views

file RELATIVE_PATH must be passed a full path to the file

Everytime I want to build smth using: cmake -DCMAKE_INSTALL_PREFIX" I'm getting errors like this: CMake Error at /usr/share/cmake-2.8/Modules/CMakePackageConfigHelpers.cmake:177 (file): ...
0
votes
2answers
60 views

How to install libav-tools in centos 6

I used tutorial to compile it from source but it never worked for me. I am facing error on following points Download x264 codec and compile it: git clone git://git.videolan.org/x264.git x264 cd ...
0
votes
1answer
34 views

eCryptfs encrypted home - explanation

I'm trying to understand how ecryptfs works internally and documentation on ecryptfs.org doesn't help. Maybe someone is able to explain how does it really works. Of course I'm aware of these hidden ...
3
votes
1answer
51 views

How am I exceeding USB 2.0 speeds on a USB 2.0 port?

I am writing files to a USB 2.0 drive from a RAM disk, that has a 256MB random filled file on it (created from /dev/urandom to stop the file being compressed too much). When I look at the speeds of ...
0
votes
1answer
22 views

Wordskip in vim [ssh from mac to linux]

Word skip (ctrl key and arrow keys) work fine with vim on my mac in terminal. But, when I ssh from my mac to my linux box, ctrl and arrow key do not work (wordskip) instead delete a bunch of lines ! ...
0
votes
0answers
12 views

What are the /proc/drivers directories organisation for nouveau or radeon

The context: I need to get some basic informations from the graphic card in a lib in lua. The idea is to not rely on external software (like hwinfo for example). I know that for a system with an ...
0
votes
2answers
30 views

systemd cant mount partition

I use a ssh tunnel at work to browse the internet. Yesterday I realize that my terminal is very slow responding to commands, I inspect htop, iotop, netop and see nothing in particular, only the ...
0
votes
1answer
35 views

How to upload local file to server through Linux terminal

I am trying to upload local files to server by using Putty or SSH but not getting upload there. Is there any direct method to upload file from local to server from Linux terminal without using FTP ...
1
vote
1answer
26 views

How to forward http request to a proxy server?

I have an Internet Linux server and my client computer (running windows) accesses internet via a SSH tunnel to the the server. Now for some reason this server can only accesses internet by a http ...
2
votes
2answers
136 views

How to recreate a file with VIM?

I have myfile.txt with some text. If I type vim myfile.txt it opens the file. Is there some parameter for vim to delete the old file and create an empty new one? For example vim -recreate myfile.txt ...
0
votes
0answers
21 views

Make wget cache DNS resolution results

I'm using wget in a script to download a changing file from Dropbox: wget -4 -O filename.ext "https://www.dropbox.com/s/<fixed-hash-id>/filename.ext?dl=1" I notice that wget resolves the IP ...
0
votes
0answers
20 views

How to log out a linux user after certain number of keystrokes?

If I want to limit how much a user can type per session, so they take breaks, how can I monitor their keystrokes and log them out after, say, 10k keystrokes?
1
vote
0answers
19 views

How to run multiple servers on a Linux machine?

I have the capability to SSH into a Linux machine hosted on a server. Is there a possibility that I can install multiple servers on the same machine - say Apache and NodeJS? Is there a tool/app that I ...
1
vote
1answer
55 views

Kali Linux won't boot from GUI

Been working with Kali Linux for over a month. Updated some wheezy & Deb source list. Everything was working fine even with the unsupported sources! But when I tried to install NVIDIA ATI drivers, ...
0
votes
1answer
17 views

forensic disk image of randomly disconnecting disk

I'm currently aquiring a disk image for data recovery, however the disk is malfunctioning and is randomly disconnecting during the acquisition. I'm using the linux "dd utility" with conv=noerror,sync ...
2
votes
0answers
17 views

How to remove tty[7-63]?

I have an embedded system, a beaglebone black to be specific. This SBC runs Debian wheezy 7.4, and a custom 3.8.x kernel. Patched for this hardware. Anyway, the title pretty much says it all. I can ...
0
votes
0answers
6 views

Macbook resizeVolume and rEFInd won't work

I am on a macbook pro, late 2012. I had installed linux on my mac on a separate partition which I created using diskutil. Then I formatted my mac one day and now everything seems to have changed. I ...
0
votes
1answer
40 views

cp: cannot stat : No such file or directory

I am getting an error when I try to copy a file from my local computer to a remote server. I get the same error whether I use cp or scp. Here is my input at the resulting error: ...
0
votes
1answer
13 views

How to touch a file if another file changes

I'm looking for something like an event listener on the file system. I want to touch a file (restart.txt to signal Phsuion Passenger to restart) everytime I save another file. Does anyone know how to ...
0
votes
0answers
20 views

Format ext3 partition to NTFS and merge it with another one in Windows 8.1

A few months ago I had Linux and Windows OS on one HDD. Now I don't use the Linux and I want to format the partition to NTFS and merge it with the Windows one or at least be able to use it with ...
0
votes
0answers
4 views

I want to configure Apache with gnutls on debian : why connexion is still clear?

I'm using sid debian. I simply installed mod_gnutls I run a2enmod gnutls I enable the installed site. I restart apache, and https://localhost/ is not working but http://localhost:443/ works. ...
1
vote
1answer
30 views

The first visit to any site takes forever to load

I suspect I might have a DNS problem. Whenever I try to access any website at all, it will take dozens of seconds to load in the first time. Any subsequent access will load just fine. If I try to ...
0
votes
1answer
29 views

How can I run an application on my PC but isolated and portable so I can switch PCs when needed [duplicate]

I was looking at dongle mini PCs. I can't seem to find much information on them. What I would like to do is plug in a dongle PC and run an application on it. It would be perfect if it opens up a ...
0
votes
0answers
25 views

Run script on SSH login to server

I'm trying to work out how to get SSH to run a script before passing a shell to me. The reason for this is that I will be logging into shared users on many boxes and I want my own configuration when I ...
0
votes
0answers
16 views

Create shortcut for Konsole with stylesheet

I'm using Konsole, and i have this wonderful stylesheet that colors the active tab >> cat ~/tab.qss QTabBar::tab:selected, QTabBar::tab:hover { background: #99BDDA; } QTabBar::tab:selected ...
0
votes
2answers
34 views

Cloning an image to a microSD card

I'm trying to set up a Linux system to boot off of a microSD card, connected via a USB card reader, and I'm trying to clone my existing Linux system image to the microSD card using Partmiage. Every ...
0
votes
1answer
43 views

I get errors including “apache config test fails, aborting” when trying to create a subdomain. What do I do?

I just made a change to the httpd.conf file. The reason I did this is I'm trying to set up a subdomain. I now would like to restart apache2, but when I try to restart I run into a slew of errors. ...
0
votes
0answers
5 views

What are btrfs snapshot and subvolume restrictions speaking in terms of read/write access instead of access and data sharing?

The btrfs subvolume manpage tries to explain which type of access is granted to btrfs subvolumes and snapshots. Unfortunately it exclusively uses terms like "access", "use just like a directory" and ...
0
votes
0answers
19 views

Backing up encrypted bitlocker drive

Is it possible to backup bitlocker drives without decrypting them? (just to have backup that is already encrypted?) would it be possible to just dd (linux command) whole drive/parition into an image ...
0
votes
1answer
30 views

OSX bash command line countdown timer

I found here on superuser the following nice countdown script that I could include in my .bash_profile: function countdown(){ date1=$((`date +%s` + $1)); while [ "$date1" -ne `date +%s` ...
0
votes
0answers
33 views

Mount error(5):Input/output error on mount

I am getting mount error (5): Input output error on mounting to cifs windows share. Command executed: sudo /bin/mount -t cifs //server/folder /mnt/folder/ -o ...
1
vote
1answer
34 views

How to resolve rpm dependencies

I am trying to install libtirpc on RHEL 6.5 but it fails and asks for dependencies. Why here it is showing three GLIBC versions 2.14, 2.15 and 2.16. ?? Does it mean that any of these three versions ...
0
votes
1answer
12 views

How to hide subdirectories within chrooted directory from users who don't have access

Apologies if this problem has been answered before / elsewhere. I've had a hunt around but am unable to find anything. If so please point me in the right direction. I'm running a linux ftp server ...
1
vote
0answers
22 views

Proxy all requests on a port

I have a closed webservice in my network (a thermostat), which can be access on 192.168.0.1 port 80. Now I want to access that thermostat from the internet but I don't want to just forward that port ...
0
votes
1answer
27 views

Linux Unknown executable asking to make executable every time

I'm running Mint 17.1 and every time I launch a program with an "Unknown" type it asks me if I want to open it with a program or make it an executable and run. It's annoying because I gave it the x ...
0
votes
1answer
23 views

What is the best way to auto run scripts and/services on Raspberry Pi (raspbian)?

I'm working on creating a headless media server out of my Raspberry Pi and there's a lot of junk that has to run on boot to make it useful. My question is what's the best way to run scripts in this ...
0
votes
0answers
26 views

ASUS Maximus Hero VII troubles

A lot of problems with motherboard ASUS Maximus Hero VII (Core i7-4770K, Geforce GTX 760, two SSD) and 2 OS installed separately on SSD - Win8.1 and Linux Mate 17. I can't use two monitors together ...
1
vote
1answer
22 views

Copying files without losing metadata in Linux

How on Linux can I copy things like music files with “Artist” and “Title” tags without losing the tags? Will rsync work? Will cp? Does either one need any specific switch?
0
votes
1answer
52 views

How to check if file exists in remote Windows from local Linux script?

I'm writing a sh script to download a file from a Windows SFTP server. However, before doing so I want to check if the file exists. There were many questions out there that suggests downloading ...
3
votes
2answers
28 views

Do Linux Live CDs properly shut down USB devices when you power off?

I’ve been using a Live CD with a USB drive that has my KeePassX database on it, when I shut the system down I noticed that the USB light doesn’t shut off before it asks me to remove the media (CD) and ...
0
votes
1answer
14 views

How to use wmctrl to activate window of a given class?

The output of wmctrl -lx looks like this: 0x020002f5 0 Plasma.Plasma lnx plasma-desktop 0x02a00015 0 okular.Okular lnx TCP/IP Protocol Suite – Okular 0x032000fe 1 amarok.Amarok ...
0
votes
0answers
33 views

NTFS “desyncronisation” with Linux and Windows

I have common data partition (D:\ in Windows) with NTFS shared by Linux and Windows 7, where Windows is on it's own OS partition (C:\) with NTFS too and Linux (Ubuntu) is on ext4. Because I do spend ...
1
vote
2answers
31 views

Having trouble replacing a specific hyphen in directories that follow a specific format in Bash

I have a list of directories using the format: 2014-12-03 13-03 2014-09-03 12-07 etc. I need to change them to: 2014-12-03 13:03 2014-09-03 12:07 … I’m trying to do this with for d in *\ ...
0
votes
1answer
12 views

File system read only on SSD with Arch Linux

I would like to find a file system which is fast with SSD and especially on read time. This file system will not compress file and will make the file read only. I want to use it on my boot partition, ...
0
votes
1answer
24 views

Creating wlan interface on debian 7

I am running Debian 7 under VMWare and want direct wifi connection. I have a USB wifi device plugged in and the relevant module (rtl8192cu) seems to be loaded (automatically). root@debian7:~# uname ...
0
votes
0answers
24 views

Could not find a configuration file for package “ECM” that is compatible with requested version 1.5.0

I tried to download "ECMConfig.cmake" from repository, but terminal gives me an error: "question's title + The following configuration files were considered but not accepted: ECMConfig.cmake : version ...
0
votes
0answers
23 views

How to force all traffic to a certain IP through a specific network interface on Linux

I have an ill-behaving piece of software which requires the usage of a certain network interface on my Linux VM. In practive this is a Vagrant box with a NAT-interface and a Bridged interface. ...