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
8 views

tar: How to remove files after packing but keep directory

I want tar to pack a complete directory tar cvjf dir.tbz dir But make it delete all files tar cvjf dir.tbz dir --remove-files However this removes ./dir too. So I tried to cd into directory ...
0
votes
0answers
3 views

Redundant Wine Icons in Many Programs under Wine on Debian (KDE)

I have a wine problem as shown in the image below. All the wine icons (all 3) are due to the launch of the OriginLab (the most left one icon). When you switch to these wine icons, they generally do ...
0
votes
0answers
12 views

Unknown format file is downloaded when url is accessed

I have migrated my website to a linux server. Before it was working fine but now when ever I try to access my website an unknown format file is downloaded every time. I tried to change permissions ...
0
votes
1answer
3 views

Moving a partition without gparted

I need to move (shift) an ext4 partition on my disk in a headless Linux machine, like this: Before: [######### Partition #########][- Free space -] After: [- Free space -][######### Partition ...
0
votes
0answers
10 views

Why is my computer lagging and can't return from suspended mode?

I have a Sony Vaio that sometime is lagging and it won't return from suspended mode. If it goes into suspended mode then I must restart Unity with sudo service lightdm restart. It does not crash but ...
1
vote
2answers
22 views

Can Gnome act as thin client?

I'm wondering if Gnome can be used like VNC. Can the window manager be run on linux box A to work with linux box B? I'm editing some videos, and the system I'd like to use is headless. So if I could ...
7
votes
3answers
458 views

What ports are used by an application

I'm testing an application which opens its own ports (acts as a server for these ports, hence listens at that ports) and where the same application connects to ports bound by other applications (acts ...
0
votes
0answers
4 views

Debian XFCE “Session and Startup” doesn't see all applications

XFCE Session Manager doesn't "see" some of the applications I use regularly. Namely: google-chrome-stable (installed through apt-get, from http://dl.google.com/linux/chrome/deb/) A bunch of ...
0
votes
0answers
14 views

In what state is an external hard drive if it is seen by OS but content is unreachable?

I have an USB external hard drive. If I connect it to my computer which is run under Ubuntu, I can see a new folder corresponding to the hard drive (in both terminal and in the directories browser). ...
0
votes
0answers
19 views

Multiple IP source on single interface in Linux [on hold]

We could set multiple IP addressses on single interface, for example using NetworkManager: How to make any connection to outside of this PC to use different IP? for example if I have 8 IP ...
0
votes
2answers
13 views

Recover Partitions deleted by rm

In my PC I have 3 NTFS partitions 1 for Windows Boot Loader, next one is windows installation directory and the last one is for storing my whole data. They were mounted like this /dev/sda1 => ...
1
vote
1answer
20 views

Does VT-x really need bios support?

I have an old laptop with Core Duo (not Core 2). The CPU supports VT-x but the bios doesn't. (And never, no more BIOS update) Does VT-x really need BIOS support? Can we do it with a Linux kernel ...
0
votes
1answer
7 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
10 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 ...
2
votes
1answer
34 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
5 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
11 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
4 views

Mimetype --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
12 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
23 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
18 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
22 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
12 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
9 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
10 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
3 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
16 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
14 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
17 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
10 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
26 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
34 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
22 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
19 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
18 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
10 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
20 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
11 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
21 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
15 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
19 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 ...