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
2answers
32 views

Protecting Virtual machine from being copied to other hosts

I'm deploying a web application on a linux server (ubuntu) on virtual machine (In VMWare ESX 5.1 and the host machine is Windows) I need to protect the entire application and guest OS from being ...
1
vote
1answer
24 views

Is pg_ident.conf working?

When i'm trying to run psql, is says: psql --version psql (PostgreSQL) 9.3.12 psql psql: FATAL: Peer authentication failed for user "testuser" Here is my pg_hba.conf: # Database administrative ...
1
vote
2answers
14 views

How can I fix Debian Linux nf_conntrack?

I have a problem with my Linux router (Debian). When I run MTR, it always has loss in 1 hop it in my server. My friends told me it's because my nf_conntrack is full. I have been up max_conntrack but ...
0
votes
0answers
47 views

pulseaudio pavucontrol: Missing “ALSA capture from” in gui

I am trying to redirect sound output to fake microphone, but I got stuck in pavucontrol. After trying 3 tutorials, I gave up due to missing "ALSA Capture from" options. It should look like Here's ...
2
votes
1answer
221 views

How to make Nginx virtual host work? (page not found)

Running Ubuntu 13.10 in VirtualBox. I've put my website in this folder: And created the log folder on /srv/www/streamsy.com/logs/. I've done these steps: sudo apt-get install nginx sudo chown -R ...
0
votes
1answer
182 views

X Server unable to start under Linux 4.5 in Arch virtual box guest

I recently ran paceman -Syu to upgrade my system as usual but after installing the newest Linux kernel, the X Server could no longer start and produced this error in the log file AddScreen/ScreenInit ...
-1
votes
0answers
19 views

monitoring websites using curl [on hold]

I am looking to monitor about 40 (Linux/Apache) urls hosted in a DMZ. I am thinking of using curl from a Linux box in the DMZ to do this and pass the data to a monitoring tool. My plan is to use a ...
-1
votes
1answer
13 views

Show umask of user I can't login to

I know I can show the umask of the current user by simly executing umask on the command line. Is there any way how I can figure out the umask of a user I don't have the permissions to login to? ...
0
votes
1answer
24 views

Decompress all gz files in a tree

I am working on an Ubuntu 14 server. Trying to create a tar.gz backup of my website, I accidentally gzipped every individual file in my /var/www/ directory, recursively. Now the whole tree consists ...
5
votes
0answers
83 views

Tar encounters “Cannot open: Not a directory” while compressing

I am using fakeroot v1.12.4 for packaging and extraction on RHEL-6.4. I have two different servers where I am compressing files using tar v1.23. Compression is failing on one server with this error: ...
3
votes
2answers
240 views

Linux: Group permission user have read and write but can't delete each other files

I want to create a shared folder on my Debian server so that users can create and edit files, but not be able to delete each other's files in that directory. /home/sharedfolder Users that can read ...
0
votes
1answer
4k views

Install CentOS on top of Ubuntu (dual boot)

I have a Ubuntu desktop and would like to install CentOS on top of it as a dual boot. The machine has two drives, each with one partition. I don't want to risk harming my Ubuntu installation. I'd ...
1
vote
1answer
3k views

Sync iPhone in Ubuntu 11.04

I want to sync music on my iPhone 4 (version 4.3.3) with Ubuntu 11.04. Is there any working way to do that? I've already tried Amarok, Banshee, and iTunes on wine. None of them work.
0
votes
0answers
9 views

Select default display output BIOS level

My custom built pc has a couple of display output ports on both integrated and dedicated NVIDIA card, but it only displays output on mDP port of my NVIDIA card currently. It works fine with Windows ...
1
vote
1answer
21 views

How many ARP Request/Reply for Ping command to work

I would like know how many ARP Request/Reply are required for ping command to get work ? Let's say we have two machines connected point to point with ip's 192.168.110.2 and 192.168.110.3 and executes ...
3
votes
1answer
4k views

integrated intel graphics 3D acceleration probem with Linux on ThinkPad S531

I have a Lenovo ThinkPad S531 running OpenSuse 12.3 64bit. This notebook has the following graphics cards: - integrated Intel HD 4000 - discrete (muxless) AMD Radeon HD 8670M After the standard ...
3
votes
1answer
340 views

Is there a way to view Windows recycle bin information from Linux?

I have several Windows hard drives with various files in their respective recycling bin directories: $RECYCLE.BIN Is there a way to view information about these files to tell if they are no longer ...
2
votes
3answers
696 views

using nawk, how to sum all numbers in $1, $2, and $3 fields?

Using nawk, how to sum all numbers in $1, $2, and $3 fields? 8 6 2 7 3 5 1 9 4 I want the result to be sum = 45
0
votes
1answer
262 views

Error message using scp over ssh

I'm not sure what's going on but as of late I can't seem to get any files copied to local from my remote server. I tried rsync from local and get the following error message: mut@mylocalcomputer:~$ ...
0
votes
1answer
25 views

At is scheduling the job but not executing the commands under it

Please help me solve my issue on at command. I am giving the below command and it is not executing. # at now at> ls -l > txt.txt at> <EOT> job 1 at 2016-04-27 11:31 when I try to ...
0
votes
0answers
7 views

Preserve Ubuntu/Win7 dual boot after moving/resizing current Ubuntu partition

I have Win 7 and Ubuntu 15.10 dual booting at the moment. Windows XP on sda1 is what I am trying to get rid of, so that I can then expand sda2 LEFT and resize sda6 (Ubuntu) LEFT to give me more room. ...
1
vote
1answer
21 views

What is the discard option in `stty -a`? It uses `^O`

In stty -a, there's an option for discard = ^0. I've googled around, and the closest documentation I get is from: http://www.tldp.org/HOWTO/Text-Terminal-HOWTO-17.html which says ^O flush (or ...
2
votes
6answers
2k views

Linux screenshots, how to take them like a mac

I run opensuse 11.2 KDE 4.3.5. I do not have a mac, but I've used one and really like the one feature of the screenshots. Specifically, Command+Shift+3 which saves the screenshot to the desktop ...
0
votes
0answers
36 views

Unable to ping anything on virtual machine

I got a virtual machine image for my course (there is a development env setup) and I can't create a same setup, so I need to use this. It's an older Arch Linux (uname -a says 2013) with 3.8.4 kernel ...
5
votes
4answers
5k views

“watch” the output of a command until a particular string is observed and then exit

I'm looking for a way to programatically watch the output of a command until a particular string is observed and then exit. This is very similar to this question, but instead of tailing a file, I ...
0
votes
0answers
8 views

Install Ubuntu with PXELinux on Raid0 machine

I have built a server that give tha ability to install several Linux distro over the network. Everything works well but with Ubuntu 14.04. I used this guide : ...
0
votes
1answer
76 views

Ubuntu, battery is never fully charged

I installed Ubuntu 16.04 in a Lenovo thinkpad e550 and i have a problem: the battery doesn't charge, the icon on the panel doesn't indicate it's charging, and in "Power Statistics" -> "Laptop Battery" ...
0
votes
0answers
15 views

Using Raspberry Pi as TOR Relay with VPN

I am attempting to accomplish multiple outcomes here: Configure a Raspberry Pi (B+ Model) as an XMPP server to utilize ChatSecure Configure a Raspberry Pi (Latest Model, yet to purchase) as a TOR ...
3
votes
2answers
138 views

Accidentally overwrote wrong disk with dd, how to recover?

I wanted to dd an image from sdb to sdc, but because one hour before I had set up things differently, I just copied the same command: dd if=/home/user/Downloads/ubuntu.iso of=/dev/rsdb bs=2M; sync ...
1
vote
1answer
5k views

uninstall libc6 package by dpkg

I have install "libc6_2.17-0ubuntu5.1_amd64.deb" on my ubuntu server 12.04. The orginal libc6 on system is 2.15. After install the package, I check it by: ldd --version it shows: ldd (Ubuntu ...
1
vote
0answers
10 views

Why is dhclient ignoring dhclient.conf?

I have the following problem I want to solve: I have multi homed system running linux, with three interfaces. All interfaces are configured by dhcp. The DHCP client is ISC dhcp 4.2.5 The DHCP server ...
1
vote
0answers
9 views

OSX smooth scrolling in tmux

I'm SSH'ing into a linux box using iTerm2. On that box I run tmux 1.6. I have enabled mouse mode: set -g mode-mouse on This works fine, and I can scroll when using tail, but it's not the same ...
9
votes
5answers
8k views

Repair encoding of ID3 tags

I have inherited about 2000 MP3 files. For the majority of them, their ID3 tags display garbled in Amarok. I need a software that upgrades the ID3 tags to v2.4 type $03 (i.e. UTF-8 encoding), removes ...
0
votes
3answers
4k views

Removing Hidden Files in folder

I am having some trouble removing a particular folder on my harddrive. I have tried the conventional approach of rm -rf req (where req is the filename) however this failed. running ls ...
1
vote
1answer
651 views

Redirect all http & https requests with lighttpd

I have a spare Raspberry Pi so I decided to check out PirateBox. I have it all working however the default behaviour is to not redirect https requests. Given the PirateBox will be never connected to ...
3
votes
2answers
36 views

How does dpkg know that a config file has been deleted?

I recently had an odd problem where I would install zsh (apt-get install zsh) but it would not install the config files - specifically /etc/zsh/zshenv and friends. Following some considerable time ...
0
votes
0answers
24 views

How to make unique dump results?

I am trying to check if my read-only partitions in FreeBSD remains unchanged. I do this using dump: dump -R -h 0 -0Laf /dumps/boot.dump /dev/ufs/boot and then I compute its SHA256. I used -R to be ...
1
vote
1answer
62 views

Security regarding nginx + php on CentOS 7 with OwnCloud 9

I'm trying to setup a OwnCloud Server v9 for my freelancing purpose. SPECS: - CentOS 7 - nginx - php I'm a little bit confused. I can find only the info about the PHP Version 5.5 in the ownCloud ...
1
vote
1answer
141 views

Send keystrokes to two windows at once

What I want to do: Be able to enter keystrokes while one program is in focus, but also send the same keystrokes to a second program on the other screen. What I have tried: xvkbd - I've tried ...
225
votes
27answers
123k views

How to execute a command whenever a file changes?

I want a quick and simple way to execute a command whenever a file changes. I want something very simple, something I will leave running on a terminal and close it whenever I'm finished working with ...
6
votes
3answers
3k views

Running ssh-keygen without human interaction?

Would it be possible to run ssh-keygen without human interaction? I have a shell script that takes care of server deployment from start to finish, but ssh-keygen is the only remaining piece that ...
0
votes
1answer
36 views

Ubuntu 14.04.4 LTS Ethernet not working

I have installed Ubuntu 14.04.4 LTS on my desktop PC and immediately Ethernet goes off. That's my network configuration and some outputs: $ ifconfig eth0 Link encap:Ethernet HWaddr ...
2
votes
4answers
2k views

How do I extract DTS core from a DTS-HD MA track using ffmpeg or alternative linux based tool?

I'm trying to extract the DTS core from a DTS-HD MA track using ffmpeg running on a Linux dedicated server. I've tried: ffmpeg -i input.mkv -vn -sn c:a copy output.dts Note switches -vn and -sn ...
2
votes
1answer
7k views

Recover data from corrupted LVM partition with TestDisk?

I had setup 3 disks in a LVM array with each disk holding some data. A few weeks back one of the disks "disappeared" from the LVM array and BIOS. After rebooting, the disk reappeared but does not ...
1
vote
2answers
37 views

all outgoing tcp packets have source port 0.0.0.0

Currently I am connected to a network 169.254.x.x (a Hostel's Network) and there are three gateways that work as dhcp servers as well: 169.254.10.1 169.254.20.1 169.254.30.1 From a windows machine ...
1
vote
1answer
238 views

“iptables -P OUTPUT DROP” blocks DDWRT's web interface

When I do iptables -P OUTPUT DROP it blocks DDWRT's web interface. That is I am not able to access http://192.168.1.1 via Firefox. I put this rules before changing the chain policy to drop: ...
0
votes
2answers
30 views

I connected my usb hdd driver. CentOS7 don't mount it

Unfortunately, my usb driver don't detect on CentOS7. This is on message i got. Error mounting /dev/sdc1 at /run/media/root/f4786057-a556-4cc8-a465-9b066b12a15b: Command-line `mount -t "ext4" ...
4
votes
2answers
4k views

Why does pinging a local router return “Destination Host Unreachable”?

I have two tomato routers. One is bridged wirelessly with the other. I have a new server on the network. It's running Ubuntu Server 11.04. They are all connected like this: A - Linux PC B - New ...
1
vote
1answer
44 views

Anacron fails to open folder cron.daily / cron.weekly

Recently I switched from user-specific anacrontab ( using -t ) to the global-one. Now each day anacron drops me a message (email to root) that it failed to open the cron.daily folder: Subject: ...
0
votes
2answers
17 views

Why am I getting “error stdin: is not a tty, /my/local/directory: no such file or directory”?

I can't figure out why it can't find my directory. I am using the SSH terminal in cPanel to transfer a large directory to my remote server from the local machine I'm on. I ran scp -r ...