3
votes
3answers
2k views

Undo iptables modification

I ran the following iptables commands to create a blacklist rule but used the wrong port: iptables -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --set --name SSH iptables -A INPUT -p tcp ...
1
vote
2answers
184 views

What's the mechanism that a process listening to localhost refuses to process a request to its LAN IP address?

The private IP address of my machine is 192.168.44.182. If I started a process using nc -l localhost 20000 Then this process won't handle requests sent to 192.168.44.182. Since the process ...
1
vote
0answers
174 views

Kensington orbital scroll wheel two consecutive button press 5 when scrolling

Using the scrolling function on my kensington orbital scroll wheel mouse in xev I see that two ButtonPress and ButtonRelease events of button 5 are triggered during a very small movement, followed by ...
1
vote
1answer
650 views

How to stop g++ linking/including old system headers/libs from /usr/*?

The server I want to run some code on has older versions of gcc (gmp,mpc,mpfr too) installed in the standard locations like /usr* the admin is unwilling to update but has allowed me to install a newer ...
11
votes
1answer
7k views

How can I override the /etc/hosts file at user level? [duplicate]

Possible Duplicate: Can I create a user-specific hosts file to complement /etc/hosts? In short: I would like to know if it is possible to get a ~/hosts file that could override the ...
1
vote
3answers
3k views

Possible missing firmware

I've just installed Backtrack 5 r3 (Gnome, 64bits) on my new machine but I am kind of facing a problem. I tried installing ATI driver, gparted, and libc for 32-bit support and I always seem to be ...
5
votes
1answer
1k views

SQUASHFS 3 vs 4

I'm trying to modify a firmware file by unsquashing it, editing my files and squash it again. But I got problems with the device which does not accept the file because of different squashfs types (as ...
4
votes
4answers
2k views

How to visualize directory tree structures?

I know I can use tree to show the nested content of a directory. Alas, its output is hardly beautiful as I want to include it in a documentation. So eye-candy is a requirement. So I was wondering if ...
2
votes
2answers
99 views

Filtering the Xth element in a row?

For example, I want to get only the 3rd element in each row when I call: xinput --list --short|grep "slave pointer" I get the output: ⎜ ↳ Virtual core XTEST pointer id=4 ...
0
votes
0answers
2k views

How to bypass WD MyBook Essential external HDD hardware lock?

I have a Western Digital Mybook Essential external HDD 2TB which is password locked. Well with my old OS it showed me that is unlocked, but as I changed the OS it's showing that is locked, I've ...
7
votes
2answers
4k views

cp -f cannot overwrite cp -i alias

In my /home/user/.bashrc file, I have those aliases to prevent mistakes: alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' If I'm really sure of what I'm doing, I can overwrite rm and mv aliases ...
2
votes
2answers
17k views

how to view php and server error logs?

I am getting the WSOD now since editing settings.php; php.ini and .htaccess trying to update my site and I need to see error logs to find out what is happening. Also how do you clear cache in command ...
1
vote
2answers
517 views

Can't remount local file systems for read-write (RAID1)

I assembled a new machine on Asus P9X79 motherboard, using its RAID controller to create a RAID1 array of two 500Gb drives. When booting Arch from an external drive I am able to work fine with ...
3
votes
4answers
6k views

Slow start of Midnight Commander on CentOS

Is there any way to prevent mc from taking 10-30 seconds to open? Never seen this with Debian.
0
votes
2answers
140 views

Change/Create permissions for a folder

How can I create (if the folder is new) or change (if the folder was already existent) permissions for a folder? In particular, I want to create a subdirectory in /etc/bind/ where I can put the ...
1
vote
1answer
2k views

Installing Fedora on VMWare error: CPU disabled by guest operating system

When I try to install Fedora 16 on VMWare I'm getting the error CPU has been disabled by guest operating system. Any clues?
1
vote
3answers
456 views

Official Description UNC (Universal Naming Convention)

Can anybody point to a man page or specification that defines the Universal Naming Convention (UNC)? I'm looking for the original source of the idea
5
votes
1answer
7k views

How to understand why the packet was considered INVALID by the `iptables`?

I set up some iptables rules so it logs and drops the packets that are INVALID (--state INVALID). Reading the logs how can I understand why the packet was considered invalid? For example, the ...
6
votes
1answer
192 views

How can I have different Emacs sessions loaded on different Emacs windows while using Emacs on daemon mode?

I'm currently using Emacs on daemon mode. I save my sessions using the desktop package. I also combine that with this in order to have several named sessions saved. If I have several Emacs windows ...
2
votes
2answers
301 views

What's the easiest way to move from Linux Mint 13 to 14?

I want to switch to 14 as easily as possible. What's the best way? Do I have to remove 13 and install 14 from scratch, or is there another way?
4
votes
3answers
1k views

Port fowarding and load balancer in ubuntu server 12.04

I am looking to create a load balancing server. Essentially here is what I want to do: I have a public IP address, lets say 1.1.1.1 I have a second public IP address, lets say 2.2.2.2. I have a ...
2
votes
2answers
841 views

How to copy a partition over network

I want to copy a Windows 7 partition that came installed on my laptop to my desktop computer. I've tried: # bzip2 -c /dev/sda5 | nc 192.168.1.1 2222 # on laptop # nc -l 2222 | bzip2 -d > ...
8
votes
2answers
13k views

How can I resize my root partition in Debian?

I am trying to add space to my root partition and am really not sure the safest way to go about it. I have read this thread, Can I resize the root partition without uninstalling and reinstalling ...
2
votes
1answer
145 views

Dangers of shopt

In another question it was suggest that I use shopt -s extglob To fix a problem. I get the impression that these type commands are to be used sparingly, perhaps because they can have ill effects ...
5
votes
1answer
2k views

Why is zsh (oh-my-zsh) completing directories that don't exist?

UPDATE 3 I've worked out that these annoying autocomplete options are actually usernames. I.e. they exist in /etc/passwd I have users such as _kadmin_admin and _kadmin_changepw and many others ...
4
votes
1answer
1k views

Trouble sending command to detached Screen session

I would like to send a command to a screen session and if possible get the output. My attempt at sending a command to a screen session is as I found on this website and lots of others, but it doesn't ...
5
votes
2answers
1k views

Perform commands on selected items in Midnight Commander

How can I perform a command on the selected items ? for example calling vim, or gimp for the 5 text or image files selected. I tried to make use of the inlined command line at the bottom, but it ...
1
vote
1answer
1k views

Gigabit network connection in Ubuntu issue with new hardware

Probably its typical issue, but I couldn’t found the answer. Sometime ago I had mini-ITX server worked on ZOTAC IONITX-G-E. It was managed by Ubuntu 10.10. I setuped Gigabit network with this server. ...
1
vote
0answers
401 views

Why does this pipeline get SIGTTIN?

When I run the command for i in *.log; do cat "$i" | sort; done | more, the pipeline gets a SIGTTIN signal and is stopped. bash$ for i in *.log; do cat "$i" | sort; done | more ### (one screenful of ...
5
votes
1answer
508 views

How to block glyph fallback on Linux?

I want to block font substitution in specific apps on Linux, but my research indicates that it might be controlled only at the system level, probably with fontconfig. I have found some discussion of ...
1
vote
1answer
473 views

tar -c Error Messages and Source Files?

During a tar archiving operation with tar -cvf archive.tar source does the resulting tar archive that reports a file changed as we read it error still contain "some version" of the source file that it ...
4
votes
1answer
2k views

Does tar -x Extract to Current Directory or Does it Extract to the Source of the Archive?

Does tar -x by default just extract to the current directory or does it try to reproduce the original directory structure including overwriting the original source? I know I can specify a folder to ...
5
votes
2answers
3k views

Network interface preference

How does Linux determine which network interface to use, when both are connected to the same network? Note that this isn't a question on routing. I'm familiar with how that works. This is if, say, I ...
3
votes
1answer
647 views

How to add gtk2 theme to KDE?

I'm trying to find a good GTK theme that I like for certain applications. Trouble is, I don't use Gnome-- I have OpenSUSE 12.2 x64 with KDE 4.9 only. So if I've downloaded a theme tarball, what can I ...
0
votes
2answers
656 views

Debian install fails on USB-HDD

After my internal HDD broke in my laptop, I've tried to install Debian 6.0.6 on my external HDD. Please note that everything runs great when installing Ubuntu, but for some reason while the Grub stage ...
8
votes
3answers
4k views

mounting dropbox (for exploring the files)

I want to simply be able to explore a dropbox filesystem, without much additional load on CPU, memory, storage (i.e., without saving copies of the remote files locally). It seems that the official ...
2
votes
1answer
748 views

After restarting Chromium, fonts are malformed

As I mention in the title, everything works great until I restart Chromium. Then the fonts appear as in the screenshot. The weird is that only the tab title and the link is malformed. And it wont fix ...
7
votes
2answers
2k views

1:1 NAT with several identical LANs

I want to connect several LANs located on remote buildings. The "central" site have a Linux computer running OpenVPN. Each remote site also run OpenVPN. the central site has a LAN numbered ...
3
votes
1answer
2k views

Allow any user in the fuse group to unmount

I'm currently trying to write a couple of systemd/udev configuration files that will allow me to automount/unmount MTP Android devices on my Arch Linux laptop. It took me some time, but so far it ...
2
votes
1answer
114 views

Adding repositories with “./” [closed]

I'm trying to add this unoficcial repository to my Ubuntu 12.04 machine (32 bits), in order to install a software called SLTV. According to the official site, the following lines should be used: deb ...
0
votes
1answer
425 views

pwd resolving symbolic links [duplicate]

Possible Duplicate: pwd without symlinks Imagine I have a directory /home/me/dir and a symbolic link to it called /home/me/dirlink now if I enter dirlink and use pwd, it of course ...
2
votes
1answer
730 views

Error mounting drive with fstab

I have an small server in my house with an external usb 2TB hard drive: /dev/sdb1: LABEL="Data" UUID="eedc3098-221d-4800-b8b4-efa4fef23f5f" TYPE="ext4" I have the next line in /etc/fstab: ...
2
votes
2answers
988 views

What tools can I use to recover files from an old harddrive?

I found an old hard drive of mine yesterday and found that it fits into my current laptop. When I started it up, however, it got to the Win XP loading screen and then restarted. Then I thought, if I ...
2
votes
2answers
113 views

Can I change the shell used to run GUI applications from a Desktop Manager?

A bit of background I'm a developer and I install most of my tools in my home folder. So my shell's rc file is full of JAVA_HOME, GROOVY_HOME, MAVEN_HOME, ... variables. To expose all these ...
1
vote
1answer
89 views

Understanding aptitude's behavior on a machine with multiple archives enabled

I'm having to deal with a Debian server, which initially was Squeeze, I believe, but where administrator enabled several distributions: deb http://mirror.yandex.ru/debian/ stable main contrib ...
4
votes
2answers
5k views

Displaying the last N modified files?

How can I list the 10 most recently modified files of a certain extension, not all files, or the files modified during the last 2 days for example?
1
vote
0answers
245 views

How to create mandos server-client pair?

I needed something like this post and found a post by Mandos developer. I read all literature and also tried to post, but it seems they have negligible activity in their mailinglist. So I am asking ...
2
votes
1answer
175 views

How does a package run without all the dependencies being installed on the target system?

I am trying to build the latest version of subversion on ubuntu 12.10 and was having some trouble completing ./configure as I seemed to be getting a never ending stream of configure: error: x not ...
2
votes
1answer
543 views

ubuntu/debian: using bluetile with GNOME2-like environment?

The installation of debian wheezy defaulted to the KDE desktop environment. How do I remove it and switch to GNOME 2 (the version that is used in stable)? I fear that if I just install gnome-core, it ...
9
votes
2answers
4k views

Why can an unpriviliged user execute the `sync` command?

Currently on Ubuntu Linux, but I noticed this on other OS's too. Apparently any user can execute the sync command, but why is this? I can only see the disadvantage: system slow down due to unnecessary ...

15 30 50 per page