Search Results

Search: Posts Made By: monkfan
Forum: Programming 02-05-2009
3,650
Posted By monkfan
Simple Makefile Problem (with a dependency)
Hi all,

I have 4 '.cpp' files and 1 header files:



Tools.cpp
Code1.cpp
Code2.cpp
Code3.cpp

and Tools.hh


Now all Code1.cpp, Code2.cpp, Code3.cpp
use functions stored in Tools.cpp....
15,297
Posted By monkfan
Difference between plain "uniq" and "uniq -u"
Dear all,

It's not entirely clear to me from manpage the difference between them.
Why we still need "-u" flag?

- monkfan
4,304
Posted By monkfan
Unrecognized Path in .bash_profile
Dear experts,

I have installed Ruby in the following directory:


[ewijaya@defiant .ruby]$ pwd
/home/ewijaya/.ruby
[ewijaya@defiant .ruby]$ ls
bin lib share



And I have also stated...
18,877
Posted By monkfan
Howto Archive Including Hidden Files?
Hi

I want to archive the following all the files and directory like listed below:


[monkfan@defiant ~]$ ls -a
. .. .bash_history .bash_logout .bash_profile .bashrc .emacs ...
3,456
Posted By monkfan
Deleted
deleted messages for duplicate.
3,456
Posted By monkfan
Any idea how to configure that in Solaris 10 Zone...
Any idea how to configure that in Solaris 10 Zone account?
93,443
Posted By monkfan
How do you do that? Sorry I'm new to Unix/Solaris...
How do you do that? Sorry I'm new to Unix/Solaris 10.
3,456
Posted By monkfan
Howto make an URL world readable
Currently this url:


http://bioinfo-z.comp.nus.edu.sg/Test/


Is only accessible through my local network (for external user need VPN).

My question is how can I make that URL accessible for...
93,443
Posted By monkfan
After running the mailx, looking at syslog shows...
After running the mailx, looking at syslog shows this:

root@bioinfo-z:/# tail -f var/log/syslog
Apr 11 10:53:53 bioinfo-z.comp.nus.edu.sg postfix/pickup[21761]: [ID 197553 mail.info] 6C8B8BA1E:...
93,443
Posted By monkfan
After executing the mailx, I tried "mailq" it...
After executing the mailx, I tried "mailq" it gives me this:


sadm@bioinfo-z:~$ mailq
Mail queue is empty


How can I fix this issue?
93,443
Posted By monkfan
Problem with mailx - Can execute but email not received
Hi,

I tried running mailx command like this:


sadm@bioinfo-z:~$ mailx foobar@gmail.com
Subject: testgmail
Some content.
.
EOT


As you can see although it is successfuly executed.
But...
6,932
Posted By monkfan
Postfix Problem under mailx/sendmail command
Update: Problem solved with this command: /opt/soc/bin/postfix-setup

================================
Hi,

I am trying the following mailx command:


sadm@edwardwi-z:/etc$ mailx...
15,196
Posted By monkfan
Changing Creation Date to a Prespecified Date of a File In Unix
Dear Expert,

Is there a command to do that in Unix?
In such a way that we don't need to actually "write" or
modified the content.

-- monkfan
15,800
Posted By monkfan
Howto install RPM package for non-Root user directory?
Dear expert,

Suppose I have an application that comes in rpm format.
Let's call it:


my_downloaded_package.rpm


How can I install it in my particular home directory (since I'm not
a...
4,977
Posted By monkfan
Howto locate locally installed Perl module for a CGI script in APACHE .htaccess
Hi,

I have the following simple CGI script, just containg header:


#!/usr/bin/perl -w
use CGI ':standard';
use lib "/home/myname/lib/perl5/site_perl/5.8.5/";
use Mail::Sendmail;

...
38,911
Posted By monkfan
Howto Attach File with Sendmail
Hi,

How can I attach a file using sendmail?
I tried /A option like this:


$ /usr/bin/sendmail toaddress@gmail.com /A afile.txt


but doesn't seem to work.

- Monkfan
2,397
Posted By monkfan
Howto Simplify/Factorize Exports in .bash_profile
Dear expert,

My .bash_profile contain the following lines:


# User specific environment and startup programs
export CFLAGS="-I $HOME/.libstree/include";
export LDFLAGS="-L...
17,958
Posted By monkfan
Howto Simplify/Factorize Multiple Exports in .bash_profile
Dear expert,

My .bash_profile contain the following lines:


# User specific environment and startup programs
export CFLAGS="-I $HOME/.libstree/include";
export LDFLAGS="-L...
5,884
Posted By monkfan
Hi, Thanks for the reply. I already...
Hi,

Thanks for the reply. I already scrolled down the pages
still couldn't find the process.

I'm using Linux Redhat Enterprise


$ uname --all
$ Linux voyager.com.sg 2.6.9-22.0.2.ELsmp #1...
5,884
Posted By monkfan
Process seen in "ps aux" but not "top"
Hi,

I have a process that can be seen after "ps aux" command.
However when I do "top" command. This process
cannot be seen.

How can this happen? Is there anything wrong
with my code?
6,902
Posted By monkfan
Thanks. One more thing, how about copying file...
Thanks. One more thing, how about copying file before opening it?

$cp outfile.txt newname.txt

$vi newname.txt

Will it kill the process?
6,902
Posted By monkfan
Opening output file while still in process
Dear guru,

Say I have a long process that is executed in this way:

$ nohup perl mycode.pl > output.txt &

Now if I want to view the output file with vi, while process
still running:

$ vi...
Showing results 1 to 22 of 22

 
All times are GMT -4. The time now is 02:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy