So I'm working to hide the password from the ps -aux list, or w list in linux.
I'm using rlwrap and sqlplus, connecting thusly:
rlwrap sqlplus user/pass@connect_identifier
And it shows my pass in plaintext in the who list.
Anyone know how I can make it so that it does not show the password?
...
VMS has an ANALYZE command that examines an item such as an executable image or an object file displaying information about its contents. Is there such a command for examining the output of msginit which is a binary message catalog file? Something equivalent to ANALYZE/CATALOG?
...
I want to be able to distribute a program in Linux without distributing the source with it. The current solution is distributing a tar.gz with a precompiled binary. What is the easiest way to have this binary be placed in the Applications Menu? Is there a way to do this that is common across most linux distributions, but Ubuntu, Fedora, ...
Background: I'm planning on using the JW FLV Media Player for streaming some videos:
http://www.longtailvideo.com/players/jw-flv-player/
Question: What settings, both PHP globals and php.ini, would I need to change in order to handle the uploading of large video files?
Sub-question: Is there anyway, through maybe the .htaccess file, th...
Are there any libraries for connecting as a client via Remote Desktop Protocol (RDP) in Linux? The language used is secondary to the issue of existence. Any mainstream language would do (e.g. C++, Perl, Java, Ruby, PHP, Python), and even less popular ones like OCaml or Scheme.
Is there any option available other than taking the rdeskt...
I'm working on a memory tracking library where we use mprotect to remove access to most of a program's memory and a SIGSEGV handler to restore access to individual pages as the program touches them. This works great most of the time.
My problem is that when the program invokes a system call (say read) with memory that my library has mar...
I'm having a problem with a UDPSocket wrapper I've written. I have a high bandwidth low latency local network over which I'm sending UDP packets back and forth. I don't have a concern too much for reliability of packet arrival, but it is incredibly important that the packets that do arrive do so quickly. Here's the relevant code for s...
Probably a simple question but...
How does piping work? If I run a program via CLI and redirect output to a file will I be able to pipe that file into another program as it is being written?
Basically when one line is written to the file I would like it to be piped immediately to my second application (I am trying to dynamically dra...
We have an architecture with a couple hundred of servers with about 200
processes (all developed in-house) spread over them, some controlled
by crontab and some that run as daemons. Some servers are in 'groups'
where all servers are configured identically, and other servers have
custom configurations. I've been tasked with centralizin...
Hi,
I have to parse a very large file and I want to use the command grep (or any other tool).
I have to check in a log line the word "FAILED", print the line above and below.
For example:
id : 15
Satus : SUCESS
Message : no problem
id : 15
Satus : FAILED
Message : connection error
And I need to print only
id : 15
Satus : FAI...
I want to learn to program in a UNIX/Linux environment. I'll be using the C, C++, and Perl programming languages (as well as learning bash, of course). I just keep getting fascinated over POSIX and other differences between Windows and *nix libraries (and also just bought the Perl Llama book), and I want to try programming for a differen...
Can you have tar travel to a certain direct and then tar files relative to that directory? All while using one command (tar)?
For example instead of doing
cd /home/test/backups; tar zvPcf backup.tar.gz ../data/
I could do something like
tar -g '/home/test/backups/' zvPcf backup.tar.gz ../data/
...
How to migrate to *nix platform after spending more than 10 years on windows? Which flavor will be easy to handle to make me more comfortable and then maybe I can switch over to more stadard *nix flavors?
I have been postponing for a while now. Help me with the extra push.
...
As part of my Ruby on Rails application, I need to perform several (a few dozen) web requests to a foreign web server -- all on the same domain. I am aware of the two requests per domain throttle on Windows and know how to adjust that, but this application is running on CentOS and I was not expecting to run into this same issue, but I se...
I'm looking for a copy/IP protection system for 64-bit Linux platforms. I'm particularly interested in hardware dongles.
I am aware of HASP which makes 32-bit Linux compatible dongles, but I need 32-bit and 64-bit support.
Anyone have hands on experience with such a system? A good answer will detail which system and how it worked out...
I have a (partial) qmake project file like this:
TEMPLATE=lib
TARGET=whatever
SOURCES=whatever.cpp
HEADERS=whatever.h
This will - atleast by default - create a library and few symbolic links like this:
libwhatever.so -> libwhatever.so.0.1.0
libwhatever.so.0 -> libwhatever.so.0.1.0
libwhatever.so.0.1 -> libwhatever.so.0.1.0
libwhateve...
Hello all.
This is my first question here, so please don't shoot.
I've been playing with Linux recently (Ubuntu 9.04 and openSUSE 11.1) with focus on web services. The simple Hello World web service (as described on mono-project.com) works fine. Now I need to step into the wonderful world of WCF (I'm familiar with the concept). And I'm...
I want to use grep to find all of the headers in a corpus, I want to find every thing up to the : and ignore every thing after that. Does anyone know how to do that? (Could I get a complete line of code)
...
I have files served like so:
AJAX request handler -> Include file
I would like to retrieve the name of the include file within the include itself. Neither $_SERVER['PHP_SELF'] or $_SERVER['SCRIPT_NAME'] is suitable for this, as they return the "parent" script name.
Thanks.
...
In a sort of try/catch form I want to execute a bash that doesn't stop if an error occurs.
The specific bash is:
#!/bin/sh
invoke-rc.d tomcat stop
rm -fr /var/webapps/
cp -R $WEBAPP /var/webapps/
invoke-rc.d tomcat start
I want to exec "invoke-rc.d tomcat stop" and even if Tomcat is not running, continue to execute the other bash c...