1
vote
1answer
425 views

Setting up a minimal apt-get environment

I would like to set up a minimal environment with apt-get then selectively install packages one at a time. My understanding is that this is basically what the Debian installer does. Is this ...
5
votes
2answers
272 views

Any other distro offer like Ubuntu Software Centre?

I want to know does any other linux disto offer anything close to Ubuntu Software Centre? Some of the features I like about it is A) Sandboxing B) Ability to search any of the libs/apps with ...
1
vote
2answers
1k views

Fast and Small C++ https proxy

I'm looking for a small, fast, and reliable https proxy that I can extend to do the following: Look for https handshake requests. Run a regular expression against the host name being requested. If ...
4
votes
1answer
137 views

Get process list with logical intersection of selectors?

The Linux ps command allows multiple selectors, such as user and command name, but always returns the logical OR of those selectors (more than I want). Does anyone know of a method or tool already ...
4
votes
1answer
2k views

Which Linux distro supports GNOME 3 by default?

I was planning on installing a new Linux distribution and I am thinking of trying GNOME 3 interface. Other than Fedora 16 (which has GNOME 3 as default) which other distro supports it? I know it can ...
2
votes
2answers
665 views

Is xinetd still the best method to let non root daemons listen on privileged ports?

When I need to use SNMP monitoring for java applications, there is the need to that application (usually ran as daemon user) to listen on snmp port. If there is no other alternative, of course I can ...
4
votes
1answer
1k views

Why did adding the Debian testing repository create so many package dependencies?

I have Debian 6.0.4, and I'm running an outdated Geany text editor package. There's no newer version available in the current stable repository, so I added testing packages to sources.list: #debian ...
1
vote
1answer
221 views

iptable rule to redirect only https handshake?

I was reading this interesting article today: http://www.moserware.com/2009/06/first-few-milliseconds-of-https.html A crazy thought came to mind...Is it possible to write an iptable rule that only ...
8
votes
3answers
4k views

Reading passwords without showing on screen in Bash Scripts

How to read passwords in bash scripts in a way like tools which are not showing it on terminal ? (Changing font to black on black might be tricky by easy to copy&paste - so it's not solution)
3
votes
2answers
693 views

Can not use mail command

error like this: [user1@fedora ~]$ mail No mail for user1 but that is appear Maildir(mailbox) in /home/user1.
4
votes
1answer
4k views

What is the difference between a symlink and binding with fstab?

In Eric Hammond's article Running MySQL on Amazon EC2 with EBS he shows how to add a second drive (/vol/) and then progresses to move mysql's config and data there. /sdh gets mounted as /vol by ...
1
vote
1answer
451 views

Process Migration Scripting

I want to write some shell script which can perform the process migration from one node to another. Is it possible ? Can somebody please help me scripting this. What all should I know before coding ...
4
votes
1answer
193 views

How can I act on the results of the “locate” command?

I'm trying to find where check_dns is defined in nagios' commands.cfg file, although there are quite a few files. I know I could run something like find / -name "command.cfg" -exec grep check_dns {} ...
5
votes
2answers
3k views

Preventing program from using internet

Is there a way to block certain programs from being able to connect to the internet in Debian (a firewall blocking outgoing connections), so for example, to block a windows program running in wine ...
3
votes
2answers
1k views

Is it possible to transfer files in a date range via FTP

I need to transfer a large number of files from an FTP server to a new server. There could be thousands of files so I would like to limit it to files that were uploaded in the last three months - is ...
3
votes
1answer
200 views

How can I pipe a path to pushd?

This seems like it should be easy enough to do, but I'm clearly not understanding something fundamental about piping output back and forth. I'm trying to do something like this: bundle show ...
3
votes
2answers
1k views

simple script rotating table

I'm trying to write a simple script, that just rotates csv table. I mean I have some file: head1;head2;head3 field11;field12;field13 and so on. All I want, just to make my file ...
2
votes
2answers
674 views

Partitioning Ubuntu and Windows 7 once and for all

I am dual-booting Windows 7 and Ubuntu (installed with wubi). So far there have been no problems, but now it says the disk is out of space all the time (I think that is because /dev/loop0 is used 100% ...
4
votes
4answers
1k views

script for logging all the stats for a particular process

I want to monitor CPU usage, disk read/write usage for a particular process, say ./myprocess. To monitor CPU top command seems to be a nice option and for read and write iotop seems to be a handy ...
2
votes
1answer
2k views

how to troubleshoot a network adapter on an AIX 4.3.3 machine

I'm trying to brush up my skills on AIX. I have an ancient RS/6000 43P-133 which I'm trying to resurrect before investing in anything more sophisticated. I used to do automation and scripting on AIX ...
4
votes
2answers
1k views

Arch: Is “SigLevel = Never” the only convenient way?

The only way I can install majority of packages without rejection from signature database is to put SigLevel = Never in pacman.conf. Its not supposed to be the right way, but I don't seem to be able ...
4
votes
5answers
4k views

How big should the rootfs partition should be on Arch Linux?

I've installed ArchLinux yesterday and set up a 10 GB partition for the root file system, 256 MB for swap, and the rest (456 GB) for my /home. However I still have 4.0 GB left on my root file system ...
1
vote
1answer
172 views

Centos apache virtual hosts definition

Please excuse me if my logic is flawed as I am really new to Centos. I know I can define multiple virtual hosts in my httpd.conf file. But what I would like is to define virtual hosts in individual ...
1
vote
0answers
98 views

Some of the users login screen do not display colors

In my lab I have Redhat Enterprise Linux 5 server. Users log in through telnet for C programming Some of the users' login screens display colors, while some other users login screen do not ...
4
votes
1answer
603 views

Libreoffice Writer, how to get read-only a document part

I am writing a document with Libreoffice Writer. I would like to set a part of it as read-only, while the rest of the document as non-read-only. Is it possible to do it? How?
2
votes
3answers
30k views

How can I copy/paste data to and from the Windows clipboard to an OpenSuse clipboard using VNC?

I am connecting to a remote OpenSuse computer using VNC from Windows. On other Linuces that I've used over VNC, I can copy text between the remote machine and the local Windows machine using the ...
2
votes
2answers
3k views

How can I make the backspace key delete one character backwards in tcsh?

I have a clean installation of openSuse. This automatically sets up bash as the default shell. For historic reasons, all of the aliases and shortcuts I want to port from an old computer are in tcsh, ...
1
vote
1answer
187 views

Is it possible to have a screen macro for this?

Here's my .screenrc: defscrollback 5000 vbell on vbell_msg " dierre!!! ---- Wuff!! " screen -t GRINDER ssh dierre@grinder.dierre.lan screen -t TRUNK attrcolor b ".I" termcap xterm ...
5
votes
1answer
344 views

How to replace a symbolic link with an equivalent hard link?

Having a (single, no batch filesystem processing needed) symlink, what a command line to use to turn it into a hard link to the same file?
10
votes
2answers
2k views

How to replace a symbolic link with a copy of a file it links to?

Having a (single, no batch filesystem processing needed) symlink, what a command line to use to replace it with a copy of the file it links to?
3
votes
1answer
1k views

How to configure the terminal so that a mouse click will move the cursor to the current mouse position

What I'm looking for is how to configure the terminal so that it behaves like nano -m. I know that xterm inside fvwm2 running on slackware does this but neither gnome or kde does it. I have tested ...
4
votes
0answers
489 views

How to enable `sudo` with custom functions?

Recently I learned you can enable sudo for custom aliases as follows: alias sudo='sudo ' # note: the space is required! The reason this works is the following: If the last character of the ...
1
vote
0answers
636 views

How do I create more /dev/tty entries and /dev/ptmx on boot up?

After building kernel 3.2.13 and installing via RPM on my system, I have this problem: There is no /dev/ptmx which the rest of my system is expecting. There is actually a /dev/tty/ptmx device ...
1
vote
1answer
2k views

ldconfig not finding libprotobuf.so

I am attempting to install the protobuf library on a Redhat system (Amazon EC2's Linux build). I ran configure, make, and make install without a problem, and the .so libraries were copied over to ...
2
votes
0answers
601 views

Iptables - modprobe: FATAL - Fail2ban random restarts

I have been running fail2ban on my server for a while without any problems but have recently seen fail2ban restart randomly. After some looking in my logs I noticed that the restarts occur when ever ...
1
vote
1answer
142 views

Are the SSH manual pages wrong?

The ssh manual pages states the following: -L [bind_address:]port:host:hostport Specifies that the given port on the local (client) host is to be forwarded to the given host and ...
4
votes
1answer
1k views

Monit daemon interval setting…global or service-level?

I'm configuring monit on Ubuntu 11.04. In monitrc, the following setting controls the interval at which the monit daemon monitors services... set daemon 120 Is this a global setting? If I want to ...
6
votes
5answers
14k views

How to change Firefox icon shown on panel and menus?

I installed Firefox on Linux Mint Debian Edition with the Cinnamon desktop. This Firefox package doesn't use the regular Firefox icon, with the fox curled around the world ; it has what I call the ...
-1
votes
2answers
1k views

Why can't I create a directory by full relative path argument?

Why can't I create a directory by full relative path argument? Here is what I try: #!/bin/bash args=("$@") # Print the command and run it. Exit the script on failure. run() { if $VERBOSE; ...
4
votes
4answers
2k views

Partitioning a 2tb drive

Im new to linux Im planning to install Squeeze on a 2tb hard drive a follows: / - 10gb swap remaining space will contain /home, around 1.9tb i hope, i will try to use as lvm to add my old 1tb drive ...
3
votes
2answers
1k views

How much RAM can an application allocate on 64-bit x86 Linux systems?

Is it true that a single application can not allocate more than 2 GiBs even if the system has GiBs more free memory when using a 32-bit x86 PAE Linux kernel? Is this limit loosened by 64-bit x86 Linux ...
1
vote
1answer
2k views

How can I check mnt location?

On RedHat I'm able to do this: $ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/xvda1 8256952 1820752 6352340 23% / tmpfs 305624 ...
6
votes
3answers
2k views

Run a vim macro from inside a bash script

In a bash script I want to edit a file. Is there a way to write a macro in vim, save it and then call it in bash script?
0
votes
2answers
842 views

Do I have duplicate packages?

I'm on linux mint 12, when i run sudo apt-get update i see: W: Duplicate sources.list entry http://www.duinsoft.nl/pkg/ debs/all i386 Packages ...
2
votes
3answers
2k views

Decreasing hard drive sync time with Unison

I'm using Unison to synchronize my music collection to a few different sources, namely a couple computers over SSH and a hard drive. One thing I've noticed is that SSH updates are incredibly fast in ...
2
votes
2answers
241 views

bash script with network request in pure lsb environment

From what I can understand of LSB documentation, neither wget or netcat are standard tools always available in an LSB environment. Is there some other way to make a http request without being ...
3
votes
2answers
2k views

UNIX move file name with sysdate

I want to make a script in Unix in which I have to move a file daily to a specific path. In order to avoid overlapping of the file, I want the file name along with the date. e.g. mv filename ...
0
votes
2answers
114 views

Way to determine where certain global parameter is configured [duplicate]

Possible Duplicate: How to determine where an environment variable came from I wonder if there is a way to determine the location of the file where certain configuration exists. For example ...
0
votes
0answers
1k views

Multiple subnets on multiple virtual interfaces with one physical interface

I have a Ubuntu pc with one interface -- eth0 -- which is connected to an unmanaged switch which is linked to two subnets: 192.168.0.0/24 and 192.168.1.0/24. I want to have two virtual interfaces with ...
2
votes
1answer
11k views

How to change Firefox language?

I have a Scientific Linux on my notebook (installed with German language). I installed Firefox with a simple "yum install firefox". But I need Firefox with Hungarian language. How can I configure ...

15 30 50 per page