Search Results

Search: Posts Made By: Smiling Dragon
4,840
Posted By Smiling Dragon
In two of your examples you have a typo...
In two of your examples you have a typo 'sudo/usr/bin/connectproc.

You can leave the ssh session connected by calling ssh with a -f flag to background as soon as it's finished authentication.
...
Forum: Programming 08-03-2015
3,538
Posted By Smiling Dragon
Your config looks pretty good to me... Are you...
Your config looks pretty good to me... Are you certain that it's actually reading that scriptalias? Check by first trying to go to /ibmcognos/cgi-bin-foo/test.cgi (should get a 404) then update the...
3,655
Posted By Smiling Dragon
Under most Unixes, PID 0 is used to indicate "no...
Under most Unixes, PID 0 is used to indicate "no process" or the kernel. It's most commonly seen in the parent process column when a process has no known parent.
Forum: Solaris 07-06-2015
8,467
Posted By Smiling Dragon
Keep the users on their toes eh? ;) ...
Keep the users on their toes eh? ;)



Unless I'm missing it (and I might be, that sudoers has a lot of comments) you don't seem to be defining any of these aliases earlier in the file. I can't...
11,039
Posted By Smiling Dragon
I think this is a fair question, although I risk...
I think this is a fair question, although I risk taking us a long way off topic here ;)

The thing to remember is that most Unix is still not Linux and that many Unixes that are not Linux do not...
11,039
Posted By Smiling Dragon
I'm choosing to assume the month mismatch is an...
I'm choosing to assume the month mismatch is an error on OPs part (dangerous I know but they've only talked about format in the text).
I've deliberately written the snippet to expect a date string...
7,699
Posted By Smiling Dragon
Hi there, you'll want something like this: ...
Hi there,

you'll want something like this:
while true
do
if [ -s "rep_exception.log]
then
mail -s "Exception found for replication on `hostname`" $targetemailaddress <...
3,493
Posted By Smiling Dragon
At a (very) high level, you want: while true ...
At a (very) high level, you want:
while true
do
for processname in $ListOfProcessesToLookFor
do
if processnotrunning $processname
then
echo "Oh dear! The process...
11,039
Posted By Smiling Dragon
I'm going to assume this is some sort of *nix...
I'm going to assume this is some sort of *nix environment due to the requirement for it to be in shell.
The date command can do this for you:
date -d "$yourolddateformat" +"%d/%b/%Y %H:%M:%S"
If...
2,212
Posted By Smiling Dragon
Ah, bugger... That was quite a substantial number...
Ah, bugger... That was quite a substantial number too :( Oh well, I guess that teaches me a lesson about keeping in touch :)
2,212
Posted By Smiling Dragon
Where have all my Bits gone?
Hi there admins/moderators,

I've just found that all my bits have vanished... both Savings and Checking accounts are showing '0' as the balance. I initially thought it was nefarious carry-on to...
3,952
Posted By Smiling Dragon
It's not immediately obvious from the script what...
It's not immediately obvious from the script what the directory and file structure you are working with looks like. Based on the first line, it looks like you have a number of directories in...
6,829
Posted By Smiling Dragon
cygwin for windows will allow you to scp to...
cygwin for windows will allow you to scp to windows.
Other options could be to look into ftp daemons for windows or use an smb (aka Samba aka CIFS) client on unix to push the files to a windows...
Forum: Proxy Server 11-30-2014
7,905
Posted By Smiling Dragon
One thing I note in your friend's script is that...
One thing I note in your friend's script is that it sets the firewall to drop all incoming connections before allowing port 22 (ssh) connections. If something goes wrong along the way on this,...
Forum: IP Networking 11-28-2014
2,613
Posted By Smiling Dragon
You dont need to explicitly declare ORIGIN. In...
You dont need to explicitly declare ORIGIN. In your case the @ symbol is just saying "this zone".

For the unix.com zone file for example, you'd read it as unix.com. IN SOA...
5,505
Posted By Smiling Dragon
Before you start juggling filesystems, perhaps...
Before you start juggling filesystems, perhaps verify that the data on that filesystem is where it belongs...

Check for dangling filehandles - compare the output of du -sk /usr and df -k /usr, if...
4,874
Posted By Smiling Dragon
You can't easily truss a java process as you are...
You can't easily truss a java process as you are seeing the JVM's system calls, not the java code within.

That said, the message you are seeing is saying that the HANGUP (HUP) signal was received...
10,880
Posted By Smiling Dragon
#!/bin/sh while read line do ...
#!/bin/sh
while read line
do
firstword=`echo "$line" | awk '{ print $1 }'`
if egrep "^$firstword\$" filterfile.txt
then
echo "$line"
fi
done
Depending on your OS, you might need...
Forum: Solaris 07-27-2014
2,504
Posted By Smiling Dragon
If the position of "Report" is always the same,...
If the position of "Report" is always the same, try something like:
echo "jjjjj^M" | yct
ie, pipe a bunch of down arrow keystrokes followed by an enter into the command.
Forum: Solaris 07-27-2014
4,242
Posted By Smiling Dragon
Which identity file do you want to use here,...
Which identity file do you want to use here, you've got three in play which is making it harder to diagnose. Try either removing the ones you don't need, or explicitly selecting (ssh config or -i...
42,785
Posted By Smiling Dragon
You are *really* close: #!/bin/csh set...
You are *really* close:
#!/bin/csh
set dirs=`*/*/*/*/`
foreach dir ($dirs)
cd $dir
/scratch/scratchdirs/sol/Scripts/QMcalc/GEN_POSCAR
end
3,986
Posted By Smiling Dragon
Are you saying that you have a new VPS and DNS...
Are you saying that you have a new VPS and DNS isn't working on it? If so, the first thing to do is to check that you can connect to the DNS servers you wish to use:
dig www.google.com...
2,463
Posted By Smiling Dragon
Your default policy on your INPUT chain is "DROP"...
Your default policy on your INPUT chain is "DROP" but you end with a global REJECT (meaning the DROP will never happen), I'd recommend removing that last line, or changing your default policy to...
1,496
Posted By Smiling Dragon
Try this: rsync -ravz -e ssh */00...
Try this:
rsync -ravz -e ssh */00 remote_host:/tmp
Forum: Web Development 06-18-2014
2,498
Posted By Smiling Dragon
You'll need something to run server-side to...
You'll need something to run server-side to identify the requestor IP address so it knows where to send the X11 session (or you'd need to accept an ip address entered on the web portal).

You'll...
Showing results 1 to 25 of 500

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