Search Results

Search: Posts Made By: adderek
17,120
Posted By adderek
Thanks, That is what I was looking for! ...
Thanks,
That is what I was looking for!


Like I wrote:


FYI:
I wanted to get this:
PS4="\\c\\r\
${foregroundYellow}\
\$([[ \"\${0}\" != 'bash' ]] && echo \"\${0}\")\
:\
\${LINENO}\...
17,120
Posted By adderek
I am afraid that the answers given are not...
I am afraid that the answers given are not correct. There is a major difference between
conditional content in the prompt
and
conditional logic in the script that sets that prompt

The answer...
2,901
Posted By adderek
Several warnings for you: 1. Never run a job in...
Several warnings for you:
1. Never run a job in the background without storing its PID or waiting for it to end
2. Never run a process in the background and quit
3. If your shell script gets too...
5,497
Posted By adderek
Read the 2 steps described bellow: 1. To run...
Read the 2 steps described bellow:

1. To run on every Sunday at 7 a.m. you need something like:
Month=* Day=* DayOfWeek=Sunday Hour=7am Minute=0 command
which become
* * Sunday 7am 0 command
...
17,120
Posted By adderek
Bash conditional prompt?
Hi,

Does anyone know any way of making bash prompt extended with conditional content?

Example:

export PS1="[[ ${USER} = 'root' ]] && echo '#' || echo '\$'" # This won't work - prompt is not...
10,514
Posted By adderek
How are you connecting to the server? I hope that...
How are you connecting to the server? I hope that it is SSH or something like this. Check /var/log/auth.log. If your admin did something (I mean the thing that blocks your connections) then your...
10,514
Posted By adderek
It might be difficult to solve your problem here...
Hello,
I am afraid that it might be difficult to solve your problem here.
Your administrator did something - let him work on it... it might be a problem on his side - if not then he should be able...
3,840
Posted By adderek
1. Check your local mail account - errors from...
1. Check your local mail account - errors from cron are sent there.

2. Check your perl scripts. Dumps, logs... anything.

3. Reconsider your application's architecture. Why you are using cron?...
22,367
Posted By adderek
What is "system date format" in the application...
What is "system date format" in the application context? You should always use formatting when parsing/displaying the date.
date +%Y%M%D
Use "--help" to get list of the available format patterns....
1,975
Posted By adderek
You can do this in several ways (sudo, su, suid,...
You can do this in several ways (sudo, su, suid, ...) but it is always a SECURITY ISSUE. You have been warned.
4,215
Posted By adderek
What is the problem? I still don't know...
Hello,

Please, post some example data and detailed test case for the issue you are experiencing.
Don't explain - that is just a wast of time (your time and the reader's time). Show it.

Unicode...
3,996
Posted By adderek
I am not sure what is the purpose of this...
I am not sure what is the purpose of this question, nor if you are going to use it in a legal way.
To change a local port to be coming from another IP - this is called tunelling. It is quite simple....
9,961
Posted By adderek
Check "expect" utility. It should fit you. This...
Check "expect" utility. It should fit you.
This application XXXX seems to be something not designed for your purpose - since it lacks propper interface. Check if you can replace XXXX with something...
7,738
Posted By adderek
There are no good or bad things. You just need to...
There are no good or bad things. You just need to understand that some things might be better than the others for some purposes. Like spoon might be better to eat soup but knife might be better to...
9,961
Posted By adderek
StdOut, StdErr - you can catch them. Return...
StdOut, StdErr - you can catch them.
Return code - a value which is 0 or !0. 0=SUCCESS, !0=FAILURE (according to POSIX). There are exceptions like diff. Return code should be between 0 and 127 but...
2,492
Posted By adderek
How do you load the data? You have provided no...
How do you load the data? You have provided no information expect that you have a DB2, csv with UTF-8 and possibly an undefined problem.
2,697
Posted By adderek
Suggested direction: man ps; man fork # Possibly...
Suggested direction: man ps; man fork # Possibly for might return no results - use google then
Suggested improvement: man sh; man ksh; man bash

Extra description:
SIGHUP = SIGnal HangUP. AFAIK...
8,426
Posted By adderek
1. man sftp 2. sftp hostname... but you should...
1. man sftp
2. sftp hostname... but you should not use it from automated mode
3. man scp
4. man ssh
5. mkdir ~/.ssh ; man ssh|grep authorized_keys
6. If you have used ftp then it seems that you...
9,893
Posted By adderek
Wow... So there was Oracle 2? :eek: I would add...
Wow... So there was Oracle 2? :eek:
I would add Oracle SQL Developer (which has superb functionality but is an unstable memory hog... which is free where way better Toad-non-freeware costs a lot)....
8,312
Posted By adderek
You might want to use `find`. You might want to...
You might want to use `find`.
You might want to use file creation time.
You might want to use file modification time.
You might assume that the files have some pre-defined name and then guess what...
9,893
Posted By adderek
In that case here are your answers: Yes, I did....
In that case here are your answers:
Yes, I did.

Yes, there are multiple ways of doing that - you got most of them listed above.

Yes, we have.

Good :)

If you restrict your question to...
8,312
Posted By adderek
I do not agree with the statement above - since...
I do not agree with the statement above - since it is always a bad thing to hard-code something.
Instead you might create variables holding the name of your executable or update the path. Example:...
9,893
Posted By adderek
Something that I didn't mentioned before (because...
Something that I didn't mentioned before (because it is of a little value to the original question asked):
When you use sql*loader in direct mode then it would create the table by itself - without...
9,893
Posted By adderek
Dude, You are concerned about Oracle DB...
Dude,

You are concerned about Oracle DB connection performance.... and it shows that you lack some basic understanding of it. I'm not a god-of-Oracle but I will try to explain some things here so...
4,869
Posted By adderek
What is here to understand? He needs an...
What is here to understand? He needs an interaction with the database - and it might be better way to do it within a single transaction (or several related transactions if DDL is performed). Since it...
Showing results 1 to 25 of 119

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