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

Linux: Slow browsers when using http proxy

Thanks for reading this. So basically there's a http proxy I'm trying to use. Proxy performance is pretty good, things like curl or apt work really fast. However, when I try to use the same proxy ...
0
votes
0answers
382 views

CIFS only share owner may delete files in share root

gI was installing myself samba on a minimalist fork of ubuntu (linux-lite). At first I installed it without any user managment, and only a guest account, here is my smb.conf [global] workgroup=...
0
votes
1answer
325 views

OpenSSH vs PuTTY… - native support for proxy?

I am wonder a bit. I use openssh-clients-6.2p2-4.fc19.x86_64 on my Fedora 19. I set the environment variable through the console: "export http_proxy=http://someproxy.officenetwork" and in the same ...
1
vote
2answers
5k views

Bash script to delete files older than x days within a subdirectory tree

I have a folder /data and inside there I have many folders.. I want to remove the contents of these directories after 30 days of creation, but not the directory itself. So my path would be /data/...
15
votes
6answers
47k views

How to make Alsa pick a preferred sound device automatically?

I bought an USB sound card. I'd like to set up my Linux desktop so that it prefers the USB device, if it is plugged in and automatically switches as the device is (un)plugged. Is it possible, and how?
3
votes
1answer
4k views

Fedora 19 and PPTP

I'm having problems setting up VPN PPTP on Fedora 19. When I try to add new VPN I have only possibility to add openconnect or L2TP protocols. After some googling I found out that you have to install ...
0
votes
1answer
107 views

Linux virtual memory consumption after parsing log file

I wrote a parser to read the auth.log. For some reason while parsing auth.log I get that VSZ is larger than the total physical memory, which is 2GB. Depending on the size of auth.log and how long ...
0
votes
1answer
785 views

How do I auto-mount a network share from a Linux Samba server on Windows 7?

So I started working for a company that has a Windows Small Business Server 2003 as the domain controller with the workstations being Windows 7. We have a Linux server with Samba installed, which ...
0
votes
1answer
2k views

How do I program the Sparkfun Arduino Pro Micro with Linux?

Sparkfun's Arduino Pro Micro was the ideal choice for me (in size and price), but I cannot figure out how to program it on anything other than Windows. Sparkfun doesn't provide any resources on how to ...
0
votes
1answer
567 views

alternative to bcmwl-kernel-source package

I am looking for a good and stable alternative to the bcmwl-kernel-source package in linux. I've been using a very unreliable and basically crappy ndiswrapper setup, and it's not working for me ...
2
votes
3answers
7k views

Permanently disable second screen

My laptop's monitor does not work any more and thus I've attached an external monitor. On boot, GDM still recognizes the primary laptop screen and displays it's login window on it. Which I then can't ...
0
votes
1answer
315 views

rsync - resume broken transfer (idea of rsync)

I have remote stations that collect data from sensors (ARM Debian) and transfers sets of data (about 1.1 MB) every 15 minutes (server is full Debian). On one station GSM reception is poor and standard ...
3
votes
1answer
1k views

VMWare Player doesn't grab focus on alt-tab

(running Windows) When alt-tabbing to the VMWare window, subsequent alt-tabs are to the host. To obtain focus to VMWare, you need to click inside the window (removing your hand from the keyboard). ...
0
votes
3answers
3k views

Fix hard disk errors using Fedora live cd

My hard disk is having some errors. When it runs the pre boot scan I get: Error Code 0142 Msg : Error Code 2000-0142 Msg : Hard Drive 0 - self test unsuccessful. Status : 79 The given error code ...
0
votes
1answer
1k views

Debian 7 and chromium - java not working

Using debian 7, with chromium as my browser, I got jdk6-64 bit installed on my debian But my chromium won't run java applets, it's saying it's missing on each website that try to run java. How do I ...
0
votes
1answer
457 views

How to use easy_install on linux terminal?

I am installing py2exe using easy_install. here is what I typed: easy_install py2exe I am using linux mint cinnamon 15. This is what I get, though: [Errno 13] Permission denied: '/usr/local/lib/...
2
votes
1answer
2k views

Forcing Deluge traffic down ppp0 adapter?

Basically i have a PPTP VPN connection on my linux box (Raspberry Pi on Raspian) and I have Deluge installed with the WebUI. The client is fantastic, really love it and the functionality that comes ...
10
votes
1answer
8k views

Sendmail very slow - /etc/hosts configuration

It takes ~15 seconds to send single e-mail using sendmail. /var/log/mail.log: Jul 31 09:52:42 piotr-probook sendmail[2912]: My unqualified host name (piotr-probook) unknown; sleeping for retry /...
1
vote
3answers
6k views

How to get the commands issued in a ssh session

I need to list out all the commands executed in a "ssh session". I use multiple ssh session to login to remote servers. So, when I logout from one session, I need to get the commands executed in that ...
0
votes
2answers
2k views

Debian GNU parted

I have an internal SATA hard drive which is 4TB. When installing Debian Wheezy, the installer saw it as a 2.2TB drive. I was told to use GNU parted to set up GPT on the partition I wanted, so I set up ...
6
votes
1answer
3k views

rsync recursive on same mount only

Hopefully, this simple question has a simple answer. I want to run rsync recursively using the -r option, but without descending into a different mount point (file system). i.e. like the -mount ...
1
vote
1answer
1k views

Ubuntu 13.04 Server DNS Persistence

I have what was a perfectly functioning Ubuntu 13.04 server running a LAMP stack using NAT. A change to the host configuration required that I use bridged networking and a static IP. I've set up a ...
0
votes
1answer
31 views

authorized_key permission check

I came across something I have never seen. Please remeber this is a new server. Normally when logging in with public/private key, I need to have the ~/.ssh/authorized as 0600 and i normal set the ...
1
vote
1answer
1k views

Using Thunderbird, how can one attach from command line a file containing commas (,) in its name?

thunderbird -compose "attachment='$HOME/test test.txt'" works. thunderbird -compose "attachment='$HOME/test, test.txt'" does not work and gives a file does not exist error message. This must be ...
0
votes
3answers
103 views

How to use sed print the required content from each line?

The original file format: Nov 12 19:56:52 libra kernel: [ 1353.27355] WarningIN=em0 OUT=eth0 MAC=c8:1b:3c:fd:5D:e9:90:a9:8F:43:83:E3:15:0e SRC=222.171.89.16 DST=49.137.111.136 LEN=222 TOS=0x8C PREC=...
4
votes
1answer
631 views

Count elements in bash wildcard expansion?

I have a simple loop in one of my data processing scripts that looks something like this ... for f in *.dat; do process ${f} done I'd like to build in a status indicator, so I'd like to be able ...
0
votes
1answer
544 views

Exlude IP from Ettercap Hosts

I am messing around with Ettercap and performing some MITM on my own home network. I have Ettercap performing the MITM fine. I have my iPhone on the network and it autoadds the iPhone. I then run ...
2
votes
2answers
235 views

How can I review updates before actually upgrading with apt-get in Debian

Before acutally doing #apt-get upgrade on a Debian server, I'd like to get an overview of the package names about to be updated and what the changes are in those packages. Recently my root account ...
0
votes
2answers
110 views

Different Ports on Server and Client?

We are setting up a backup system for our webserver with rsync through ssh. On the client side (i.e. the webserver): We have a shared hosting plan which gives us shell access. However, it restricts ...
0
votes
0answers
869 views

pvdisplay/pvscan not seeing old disks physical volumes

Today I upgraded my FC18 system to FC19 by installing to a new disk. Once booted I expected to be able to mount the previous boot disk logical volumes but the physical volumes are not visible to ...
2
votes
1answer
501 views

getting “No such file or directory” for a nonexistent command

I uninstalled manually mpi from my machine, but now when I make the command mpirun I get "-bash: /usr/local/bin/mpirun: No such file or directory" rather than "-bash: mpirun: command not found". ps. ...
-1
votes
1answer
126 views

Backup - Windows, Linux, Encrypted, Network [closed]

I currently have 2 computers, one with Windows 8 and another with a dual-boot Ubuntu/Windows 7. I also have a Synology NAS in a remote location. I want to be able to backup my data in a homogeneous ...
0
votes
1answer
4k views

Zypper on Ubuntu

I'm trying to install packages using zypper but Amazon server that runs Ubuntu seems not to have zypper installed. How can I install zypper? code: zypper install git gcc gcc-c++ error: > ...
1
vote
2answers
9k views

How to fix X11 error: Can't open display

I installed libreoffice.x86_64 using yum from the CentOS repository on my CentOS basic server. When running the following command from the shell, I get the following X11 error. xhost is installed on ...
0
votes
2answers
1k views

DNS-Block All Websites Except for Whitelisted Sites

echo 0.0.0.0 facebook.com >> /etc/hosts is a pretty simple solution to prevent facebook.com and its subsites from resolving to an IP address. (This is also how Linux Mint's Mint Nanny works). I ...
0
votes
1answer
3k views

Are there any Linux distros that are specially made for laptops? [closed]

I have tried and tested Ubuntu, Linux Mint, Arch Linux and Windows. Recently I have come across Open SUSE. I was wondering what are some Linux distros that are specially designed for laptops. I am ...
0
votes
2answers
3k views

sftp to ec2 instance using FileZilla/Putty

I can only login to my ec2 instance via Putty/FileZilla if I use the username ubuntu. This is fine for putty as i can then su but in filezilla I am not able to add any files as I am not able to su. ...
0
votes
1answer
85 views

How to delete files carved by Scalpel?

Scalpel is a Linux utility which is traditionally used to recover files on the basis of file signatures, that is in a manner that is unaware of the file system. Can we also use it for doing the ...
0
votes
1answer
192 views

how do I influence the compose rules in gnome?

this is a partial duplicate of the question Linux 'compose' key sequence extensions: I am using ubuntu 13.04 with unity and I would like to have a specific composition sequence to work as ...
2
votes
2answers
499 views

How to make a terminal freeze if its idle fr 15 minutes

I want to make my terminal freeze, if it is not used for more than 15 minutes. I do have the option to edit the .ssh/sshd_config. But I want a script instead of this..
12
votes
5answers
3k views

How do we pronounce “/etc” folder? [closed]

Can't find similar question in SU. Anyone knows? Is it only 3 letter e,t and c? I can't find similar things in google. It would be good if someone provide this answer
0
votes
2answers
5k views

Wifi not working after using ethernet cable and virtualized linux

Okay, so I installed l-ubuntu on virtual box (which is installed on windows 7-64 bit) and then on vmware player successfully to learn some bash programming. Then, I connected my computer to the ...
5
votes
3answers
10k views

How to copy text from less

How might one copy the entire buffer being displayed by less? No need to select specific text, I want it all. Copying to the clipboard is preferable but if we can output it to a file that works too. ...
1
vote
2answers
5k views

How to keep alive the VPN connection?

I'm using NetworkManager and OpenVPN on linux. The problem is I get random disconnections, especially when idle. So I was thinking maybe there was an option to keep it alive. I have seen examples ...
0
votes
3answers
491 views

Automatically Create text file of folder contents

I have a set of directories that have files in them for use with LiquidSoap for use with IceCast2 Currently, every time I remove a file or add a file, I have to edit the txt file listing the mp3s to ...
0
votes
1answer
751 views

Installing Multitail on RHEL 5.3

I'm trying to install Multitail on a RHEL 5.3 machine, but get the following error as the root user. Should this be accessible from one of the default RPM repositories or do I need to add a new ...
0
votes
1answer
865 views

Fedora 19 - USB networking - connected and can ping / https / look up IP of any site but cannot http

I have finally got rid of win 7 and installed Fedora 19 on my laptop. Everything works except for the usb-networking... Details follow: #uname -r 3.9.9-302.fc19.x86_64 #NetworkManager Tool State: ...
2
votes
1answer
158 views

What this command :(){ :|: & };: does? [duplicate]

What does this shell command do in Linux :(){ :|: & };: How can it be used in Denial of Service attacks?
17
votes
3answers
2k views

How can I remove a file or directory called “\”?

I'm using terminal on a Ubuntu machine and there is a file that I would like to delete. The file's name is \ (just a backslash). Now usually I would just do rm filename However if I do rm \ then ...
0
votes
2answers
3k views

Changing AuthorizedKeysFile to anything other than default does not work

I am trying to perform paswordless key based authentication. In ssh_config on the server to which I am trying to upload the files, when AuthorizedKeysFile .ssh/authorized_keys I am able to sftp ...