2
votes
1answer
2k views

Is there a tomcat 64 bit version

Is there a tomcat 64 bit version for Linux, I am using Red Hat Linux?.
1
vote
3answers
660 views

How to determine which executable on my path will be run?

I run which and get the following, brendan$ which python /opt/local/bin/python brendan$ which -a python /opt/local/bin/python /usr/bin/python brendan$ ls -l /opt/local/bin/python lrwxr-xr-x ...
3
votes
3answers
508 views

Open another file with split windows, and switch between them

If I open vim with: $ vim -o a.ext b.ext I get a window that looks like this +----------------------+ | a | | | | a.ext ---------------+ | b ...
5
votes
2answers
2k views

Pattern Matching Exclude Duplicate Characters

Is there a regular expression for the following that matches characters in a character set but only once? In other words, once a character is found, remove it from the set. If grep cannot do this, ...
0
votes
1answer
498 views

Any LiveCD or LiveDVD Distro whith multi session burning onto LiveMedia

I'm looking for any Distro or LiveLinux for CD/DVD (NOT usb/SD card usage) which does the following: 1) All changes to the filesystem are written to the RAM disk with an overlaid filesystem. 2) Upon ...
15
votes
4answers
649 views

What is new in Kernel 3.0?

I understand this is somewhat less Ubuntu related, but it affects it. So,what is so new about it that Linus decided to name it 3.0? I'm not trying to get information about the drivers that got into ...
19
votes
8answers
6k views

Disable Keyboard & Mouse input on unix (under X)

How can one programmatically "freeze" the Keyboard & Mouse temporarily, so that no one could mess with the system? There are several possibilities where this is useful. For instance, I have a ...
0
votes
1answer
136 views

Biostar GF7050V-M7 working with linux?

Do you know if Biostar GF7050V-M7 motherboard works completely with linux?
12
votes
6answers
10k views

How to make a process invisible to other users?

How could you launch a process and make it invisible to the top command? The process is started by a normal user (not root), and should not be visible to other normal users.
2
votes
3answers
265 views

Running Linux virtual machine guest on Linux Host

I have a machine running Debian Linux (stable), but I'd also like a Debian unstable box to use as a sandbox to test and develop. Is there an easy way to create a virtualized Debian unstable machine on ...
3
votes
3answers
163 views

can i modify an .rpm-based system to use .deb files, apt-get and debian/ubuntu repositories?

I recently ran into trouble when installing Debian on a netbook. There were three major hardware/kernel issues that I didn't feel like fixing, and since every single forum/wiki writeup reported the ...
5
votes
1answer
2k views

Silent booting Linux from u-boot

For security reasons I have to boot Linux from u-boot with all output hidden (silently) until a password is entered. I've configured uBoot to do this correctly using the CONFIG_AUTOBOOT_KEYED macro ...
4
votes
3answers
3k views

Delete files based on year

I need to delete all files in a directory that were created in 2009. What command can I use to do that?
2
votes
3answers
450 views

When does the order of arguments matter?

In bash, I am not sure if my observation is correct. For most commands, option-like arguments, i.e. arguments that begin with --abc or -a, can be anywhere in the list of arguments to the command, ...
0
votes
3answers
2k views

Need minimal linux distro, with install size less atmost 250 - 300 mb

I need a distro of Linux which occupies 250-300 MB of hard drive space. It should be able to run C programs (NOT COMPILE!! just execute)... and must be compatible with grub2 (NEED TO USE ...
3
votes
1answer
1k views

Paritioning Scheme: Arch Linux server & laptop

What would be a good partitioning scheme for an Arch Linux installation, on a server and on a laptop? My current basic scheme: / [root] ext4 /home ext4 swap I know ...
14
votes
5answers
11k views

Is it possible to install the linux kernel alone?

I'm just curious if it's possible to install the linux kernel alone, or if you need to use one of the flavours. If it were possible, how would you do it? I don't need a detailed tutorial. I just want ...
11
votes
2answers
3k views

Prevent pane/window from closing when command completes - tmux

In my tmux.conf file I have it configured to open windows, name them, setup panes etc.. etc.. However one issue I have is that if one of the panes launches a command, let's say ls, then the pane ...
11
votes
6answers
2k views

Disable Keyboard & Mouse Temporarily

I would like to know how one can disable the keyboard & mouse temporarily in OS X.
3
votes
2answers
297 views

How to sort updates based on release date on debian testing?

I'm a user of linux mint debian linux distro which is based on debian testing. Debian testing is a rolling release distro. The testing nature of this distro cause some package updates to be buggy. I'm ...
1
vote
1answer
318 views

Multicast on local box

I have an application I need to interface with that listens to a multicast address. I'd like to be able to run a program I've written and have it interface with the other application by multicast ...
4
votes
0answers
275 views

Why is there a '.d' in 'init.d'? [duplicate]

Possible Duplicate: What does the .d stand for in directory names? Consider that we have (on many sytems) init.d that contains executable scripts and symbolic links for run levels, sysctl.d ...
0
votes
3answers
247 views

Bash programing. The difference between double-clicking a program and running the program under console

I wrote a script named vpn.sh.The contents is as follows: #!/bin/sh cd /etc/openvpn sudo openvpn client.ovpn & when I am in konsole, ./vpn.sh runs well. But when I double click the vpn.sh ...
20
votes
4answers
3k views

Process substitution and pipe

I was wondering how to understand the following: Piping the stdout of a command into the stdin of another is a powerful technique. But, what if you need to pipe the stdout of multiple ...
10
votes
2answers
11k views

How do I make my USB Bluetooth dongle work? (Can't init device hci0: Connection timed out (110))

I have a USB bluetooth dongle: root@maiko-cce-lin:~# lsusb | grep Bluetooth Bus 001 Device 007: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) It rarely works, and when I do ...
2
votes
2answers
2k views

How do you force Linux to detect a PS/2 device (e.g. mouse) on demand?

I plugged in a PS/2 mouse while inside my Gnome desktop, but Linux doesn't recognize it. Linux will only recognize the PS/2 mouse if it is plugged in before booting the machine (like a normal ...
6
votes
3answers
283 views

Shell and applications

Is it true that all commands that can run in bash are not actually part of bash? I'm gradually realizing I have been confusing the shell and the applications that can run in it.
1
vote
0answers
144 views

Make kernel detect garmin device

I'm trying to connect a usb garmin forerunner device to my system, but the usb device is not detected. I have loaded the following mods: garmin_gps 11544 0 usbserial 25449 ...
2
votes
2answers
2k views

How can I get a list of long running processes that match a particular pattern?

I know that I can do ps aux | grep cgi to get a list of all cgi scripts currently running, and ps -p [pid] -o etime= can get me the run time for each pid; is there a way to combine the two, or better ...
4
votes
1answer
401 views

If I close the laptop lid the next boot fails

I never shutdown my laptop. I use hibernate instead. Hibernate and suspend are working, but if I close the lid after clicking "Hibernate" the next boot will crash. I see a black screen that never goes ...
19
votes
4answers
7k views

Clone whole partition or hard drive to a sparse file

I like to clone a whole partition or a whole hard drive onto a larger external disk but like to create a sparse file. I often use dd for cloning, but it doesn't support sparse files. As a workaround I ...
7
votes
3answers
2k views

Mounting multiple img files as single loop device

Is there a way to take a disk img file that is broken up into parts and mount it as a single loop device?
2
votes
0answers
881 views

Security of xhost (local) and sudo xauthority forwarding

Context: launch a GUI application as a linux service. I considered making a headless daemon with a GUI front-end but there is too much code involved to do it now. This service must start on user ...
-4
votes
1answer
335 views

HTML5 on OpenBSD?

What do I need to install/configure to make an HTML5 such as Youtube's alternate player page work? Install a browser that's supporting it by default, or I have to do other things to?
1
vote
4answers
3k views

FlashPlayer on OpenBSD?

What are my choices in 2011? Or it's better to download the flash videos? (but there aren't any solutions to download every type of videos, only youtube..). Or are there any "linux-emulations" for ...
2
votes
2answers
1k views

Virtualization solutions under OpenBSD

I use "OpenBSD as my Desktop OS". What are my choices to run a Linux Distribution, or a Windows (XP/7) in a Virtual Machine? I know that the following apps are not available for OBSD: VirtualBox ...
4
votes
8answers
272 views

“which” with a little “grep”-like solution?

# which mkdir /bin/mkdir # which mkdi # How can I get the path of the e.g.: mkdir's binary without knowing the name of the binary file? (command). So that which mkdi would output the /bin/mkdir ...
12
votes
5answers
9k views

Add and edit bookmarks to pdf

By getting metadata from some pdf files with bookmarks by pdftk, I observe the format of bookmarks in pdf metadata. So I am guessing that with pdftk, it is possible to add and edit bookmarks of a pdf ...
6
votes
7answers
18k views

How to print only last column?

echo -e 'one two three\nfour five six\nseven eight nine' one two three four five six seven eight nine how can I do some "MAGIC" do get this output?: three six nine UPDATE: I don't need it in this ...
1
vote
2answers
2k views

Check the Existence of a Network Interface Card Redhat

I'm aware that I can use ethtool eth0|eth1|eth2 to check the existence of a NIC. But I wonder where the files are on the machine that contain information of an existing interface, as I need to use ...
0
votes
2answers
996 views

Multiple concurrent SSH sessions from different clients but with the same user/password

Opening multiple concurrent ssh sessions from different clients but with the same user/password. Is that possible?
2
votes
2answers
10k views

How to change timezone to UTC without rebooting AIX

# oslevel 6.1.0.0 From smitty it say's it needs a reboot, but I don't want to reboot. How can I change the TimeZone to UTC without rebooting?
1
vote
2answers
525 views

Text processing: convert text of table of content into djvu bookmark format?

Usually in the table of content of a book, each line is for a chapter or section and ended with its page number, for example, 1 first chapter 10 1.1 first section 11 1.1.1 first subsection 12 1.2 ...
7
votes
3answers
2k views

How to preserve bookmarks when rearranging pages of a PDF file with tools like pdftk?

I am using pdftk to rearrange pages of a pdf file with bookmarks/outlines, but after that, the output file lost the bookmarks of the original. My command is pdftk in.pdf cat 1-22 43 23-42 44-end ...
21
votes
4answers
16k views

How to diff files ignoring comments (lines starting with #)?

I've two configuration files, the original from the package manager and a customized one modified by myself. I've added some comments to describe behavior. How can I run diff on the configuration ...
10
votes
6answers
2k views

CronJob every 25 minutes

I want to know whether there is any easier way to run a job every 25 minutes. In cronjob, if you specify the minute parameter as */25, it'll run only on 25th and 50th minute of every hour
1
vote
1answer
263 views

how to find the server key [closed]

When I run openssl s_client -connect 0.0.0.0:8006 I get the Server certificate as: -----BEGIN CERTIFICATE----- MIICSTCCAbKgAwIBAgIESfnb7zANBgkqhkiG9w0BAQUFADBpMQswCQYDVQQGEwJJ …. From which ...
1
vote
2answers
268 views

Can I create a new partition from the free space inside my reiserfs-formatted /home partition?

Ok, I have Ubuntu installed but I want to install Windows also (dual-boot). Problem is, I don't have a free partition. I have my root partition (15 GB), and my /home partition (300 GB). The home ...
10
votes
1answer
39k views

How to set the resolution in text consoles (troubleshoot when any `vga=…` fails)

It is a common way to set the resolution of a text consoles (that are usually available by Ctrl-Alt-F1 thru Ctrl-Alt-F6) by using a vga=... kernel parameter. I'm using Ubuntu 10.04 Lucid, output of ...
17
votes
3answers
3k views

Standard and/or common directories on Unix/Linux OSes

Coming from the Windows world, I have found the majority of the folder directory names to be quite intuitive: \Program Files contains files used by programs (surprise!) \Program Files (x86) contains ...

15 30 50 per page