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
1answer
5 views

Where are KDE user workspace appearance settings saved?

I have the Ghost theme installed in my KDE desktop, which applies to Application Appearance color scheme, Workspace Appearance window decorations, and Workspace Appearance desktop theme settings in ...
0
votes
1answer
6 views

What does the column after destination in iptables overview show?

If I print the iptables overview with iptables -L I get the following output: $ sudo iptables -t nat -L Chain PREROUTING (policy ACCEPT) target prot opt source destination ...
1
vote
1answer
26 views

Why is the same file larger on my USB stick?

When I copy files to my USB-device, they seem to grow in size. I have a directory called testdir containing a bunch of ascii text files. The original directory: $ du -hs testdir 22M I copied the ...
0
votes
0answers
3 views

Set nautilus up action to backspace

I use arch linux. I had changed the Up action of nautilus from Alt+left arrow to Backspace. But after a full update, it reverted back to Alt+left. I checked the file '~/.config/nautilus/accels' but ...
0
votes
1answer
10 views

Can I use an UART (serial port) as a MIDI device in Linux?

Can I convince Linux (kernel/ALSA/Jack) to use an arbitrary UART or serial port (usually /dev/ttyS* or /dev/ttyUSB* or /dev/ttyACM*) to output the MIDI messages? This is the way MIDI was done on the ...
0
votes
0answers
3 views

Mimetype -M and --stdin always returns text/plain

I am having a hard time getting the correct mimetype info without relaying on the file extension / inode data. When using magic it returns with text/plain ever time regardless of what the file is. ...
1
vote
1answer
9 views

Why doesn't iptables accept IP address as source?

The command sudo iptables -t nat -A PREROUTING -i eth1 -s ! 192.168.178.30 -p tcp --dport 80 -j DNAT --to 192.168.178.30:3128 fails with Bad argument `192.168.178.30' Try `iptables -h' or ...
2
votes
1answer
19 views

Linux: Finding Processes I Started To Kill Them

I am programmatically starting several servers in Gnome terminal with each server in its own titled tab: gnome-terminal \ --tab -t "Server1" -e 'bash -c "export ...
0
votes
1answer
16 views

Finding USB device path in Linux

I am working with a software that needs the path for a device connected to my PC using USB such as /dev/ttyUSB0 or /dev/ttyUSB1 How can I find which one is associated with the device I have ...
1
vote
0answers
7 views

Changing the sda partition number in a clonezilla img

I want to copy a linux system from a computer to mine. That linux system is using two partitions. ("/" and an other one) I used clonezilla to copy thoses two partitions and put them in an image. But ...
1
vote
2answers
15 views

Shell Script User Input Date Validation

How would I go about performing date validation on user input in a shell script? I want to notify the user if they enter the date in the wrong format. The correct format would be YYYYMMDD.
0
votes
0answers
7 views

How to redirect all traffic from one network interface to another on the same linux host

I am writing testcases for a network switch. This involves sending something on one network card (via the switch) and checking that it is received on another network card. I want to disable all direct ...
0
votes
0answers
8 views

Change /Proc/cmdline from initramfs

I have a remote computer on which I changed the LVM partitioning. Everything was working just fine until I tried to reboot. I'm getting this : ALERT! /dev/disk/by-uuid/<uuid> does not exist. ...
0
votes
0answers
4 views

Deskjet 2540 wireless connection Linux

I'm testing the following printer HP Deskjet 2540 which has wireless capabilities. I have connected it and install it no issues via USB using the hplip which is a brilliant bit of software for Linux ...
0
votes
0answers
7 views

How restrict ssh pubkey using 'from=“pattern-list”' when connection goes through tunnel?

My home machine is behind NAT. I want get access to it using pubkey but want restrict that key to some IP. I make tunnel from home to server ssh -f -N -R 1144:localhost:22 user@server Server has ...
0
votes
0answers
2 views

Share a tun0 interface between docker containers

I've successfully built a working standalone openvpn docker container: # docker run --detach --publish 100.1.1.1:443:443 --name foo_openvpn --cap-add=NET_ADMIN --device /dev/net/tun -v ...
0
votes
0answers
13 views

Configuring iptables based on non-fixed port numbers

I want to allow certain bespoke services using 'iptables' but the port number isn't always the same (depending on the customer) for the services that I want to allow. How would I use sed --in-place ...
0
votes
0answers
10 views

Security of web app files and database passwords in a linux shared hosting environment

I have a web app on a linux shared hosting machine. Lets say I have a .htpasswd file, some configs that store a database password and generally don't want people snooping through my source code ...
0
votes
0answers
11 views

How to make a ring buffer for logs in linux?

I need a ring buffer - say 1 MB - for logs. I want to redirect a service's stdout and stderr to a ring buffer, and usually do not do anything with it. But when there is an error, i want to see the ...
0
votes
0answers
5 views

How to chrome keychain in linux

Wishing to download a copy of my keychain like OSX comino does. Is this possible and if so how... Context: I use pgp and crypt my drives.. all to often tho I have public machines or installers ...
0
votes
1answer
16 views

Route traffic from specific application to a different port

I have an application called Server on localhost which binds to port 1000. I have another application also on localhost called Client which connects to 1000 in order to communicate with Server. I am ...
0
votes
0answers
9 views

How to configure rsync to backup a windows XP partition while running linux

I have a dual boot configuration with an XP partition and a Linux partition. The linux partition is my primary one and the XP one is just for gaming/running Windows-only software that's pretty much ...
2
votes
2answers
19 views

ATI R9 270X 2GB and 3 high resolution monitors on Linux

I have three ACHIEVA SHIMIAN QH270 27" LED 2560x1440 monitors which I want to connect to a Sapphire Radeon R9 270 2GB. Will this Card be able to handle three monitors at a total resolution of ...
0
votes
0answers
4 views

How to connect psql to the forumdb.py(a python file) in ubuntu?

I have my system with UbuntuOS installed. I am following an online course where it indicates the use of Vagrant and connects your Windows/Mac system using the Virtual Box having Linux installed in it. ...
2
votes
1answer
21 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 ...
0
votes
1answer
20 views

Ftp server shows as completely empty, even without . and .. (current and parent folders)?

I need to retrieve a file that is supposed to be on some FTP server. When I connect to this server, it shows as empty. Maybe they simply failed or forgot to upload the file. But when I connect using ...
0
votes
0answers
5 views

How to enable miredo UPnP-Enabled Symmetric NAT Extension

I have linux mint and miredo installed on both machines. Both machines are behind symmetric NAT. Routers have UPnP enabled. Does miredo support upnp routers? How to enable UPnP-Enabled Symmetric NAT ...
0
votes
0answers
13 views

Is it possible to boot Linux on a ServSwitch DTX Extender

I'm working for a company that is going to close and has a lot of these: http://pr.blackbox.com/Store/Detail.aspx/ServSwitch-8482-DTX-Extender-Receiver/DTX5001%C4%82R And I would be able to buy them ...
2
votes
1answer
17 views

Man in the middle using iptables

I wish to test a subsystems which communicates with another subsystems via tcp. I have used the following: "iptables -A OUTPUT -p tcp --dport "+port_number" -j DROP" to stop the traffic on a port ...
0
votes
1answer
17 views

How to do a single pass with badblocks in destructive mode?

I am using badblocks to simultaneously (a) checking a disk for errors, and (b) do a destructive erase of any data on the disk; using the following command: badblocks -wsp 0 /dev/sdb1 I passed the ...
0
votes
1answer
8 views

Keep linux software RAID 1 after OS change

Currently I've configured software RAID 1 on ubuntu machine. However I am planning to add SSD drive just for the OS and keep my main 2 HDD for the storage with RAID. The question is, can I put now ...
-2
votes
0answers
19 views

For linux, java or dot net? [on hold]

I am coming from c# in Windows. And I was planning to learn java in order to use it in linux as Web server, for raspberry pi (I mean ARM) and Android. But with Microsoft open sourcing dot net and ...
0
votes
0answers
10 views

What's the aprlog on Linux

Recovering from a compromised server. Pretty sure the aprlog (768773 -rw-r—– 1 root root root 18K 2015-05-03 12:22 aprlog) that is located in my home dir and presents itself as a bunch of encrypted ...
0
votes
1answer
42 views

Bash quotes unescaped on command substitution

Can someone explain me why this is working (listing the contents of a directory that has a whitespace in its name): ret="$(ls "my dir")" Shouldn't it rather be interpreted as: ret="$(ls " my dir ...
1
vote
0answers
16 views

Bad Magic Number in Superblock or Not a Block Device

I'm having some real problems getting a drive to have any working partitions on it at all. The drive is a 2Tb one from a NAS that I'm trying to repair. I've written zeros to the first 77Gb of the ...
0
votes
0answers
5 views

A simple udev rule

If I create a file /etc/udev/rules.d/99test.rules containing this single line (ok it's dumb, but only for testing purpose): ACTION=="add",RUN+="/usr/bin/mount /dev/sda1 /media" it should try to ...
1
vote
3answers
18 views

Using scp to get all files in multiple directories

I have a directory structure which looks like A1/B1/C1/files111*, A1/B1/C2/files112*, A1/B2/C1/files121*, A1/B2/C2/files122*, etc. so that all files in all directories are unique. Is there a way to ...
0
votes
1answer
14 views

Recursive rename files and folders

I need to rename every subfolder of a specified path. For example I have a directory structure like this: project/ /x /something /somethingElse /x ...
0
votes
1answer
18 views

Linux Bash Script File Search for Log File

How would I go about writing a Linux bash script for the following? I need to search for a file of format [unique_number].log This file would exist within one of the following directories ...
0
votes
0answers
9 views

Linux Mint Rebecca - No sound - Dummy Output - integrated soundcard

I have been running Linux Mint Rebecca for a little while now and everything has been working fine, but yesterday I lost sound and now it only says Dummy Output. Its an integrated soundcard. pactl ...
0
votes
2answers
14 views

grep and sed with pipe from tail -f appears to be caching

I am trying to get a working system to monitor special logs. I usually just want a very specific pattern which I extract using grep and a pipe from tail -f. I have noticed that grep does not output ...
1
vote
2answers
21 views

What is the shortcut to minimize all the windows except the active one in Linux

I know there's 'Aero Shake' for Windows and I want something similar for Debian 7. I already checked all the keyboard shortcuts but couldn't find anything related to it.
1
vote
0answers
9 views

Can't set sample rate to 44100 Hz when using loopback in ALSA

I have set up ALSA like this to play to and record from loopback devices: # output device pcm.loopout { type dmix ipc_key 328211 slave { pcm "hw:Loopback,0,0" period_size 1024 ...
0
votes
1answer
18 views

How can I disable certain system keyboard shortcuts in Linux?

I'm currently working on a kiosk based on lubuntu (which is basically ubuntu with an LXDE desktop environment) that would be put in public places, such as internet cafés, providing internet access for ...
1
vote
2answers
21 views

Modern Linux commands that parallel uuencode/uudecode functionality

I need to get binary files into text format. Years ago, I used uuencode/uudecode, and it was easy: uuencode file.xls > file.txt # Delete file.xls # Do whatever with file.txt # Now I need file.xls ...
0
votes
1answer
18 views

Can a filled up swap partition cause file locking issues on linux

I have a machine at home running elementary OS 0.2 with very little RAM, the swap is always allmost full (I'll upgrade the RAM as soon as I can.) It has an OpenSSH server set up with public key ...
0
votes
0answers
8 views

psmouse serio1: DualPoint TouchPad at isa0060/serio1/input0 lost synchronization, throwing 2 bytes

Recently I have had issue with my DELL Vostro 3750 laptop, the touchpad has eratic behavior. Looking at the dmesg output I can see: [175874.428170] psmouse serio1: DualPoint TouchPad at ...
0
votes
0answers
4 views

cups: Disable Compression on 1.7.5 for remote queues

I have a print server with Cups 1.5 on a Raspberry Pi. That print server announces the printers to my local network. My desktop runs Cups 1.7.5 and nicely sees the remote printer. However, when I ...
0
votes
0answers
14 views

Ubuntu problems

I bought a hp pavilion p210tx laptop recently.I installed Ubuntu 14.04 LTS on my laptop.But its not working properly.I am facing many problems in my Ubuntu.First I got Wifi problem(to be ...
0
votes
0answers
13 views

Why does my Java test suite hang the entire system

When I'm running my test suite for a new java application it hangs, which by itself isn't that unusual considering it's under development. The problem is that that causes the entire system to almost ...