Search Results

Search: Posts Made By: systemsb
4,196
Posted By systemsb
it works
Sean

Thanks
S
4,196
Posted By systemsb
renaming xls file
I am trying to move and rename an excel file by appending date to it but i am not getting the desired result

mv SrcFiles/Sales.xls SrcFiles/SG_Archive/Sales_`date +%Y%m%d%H%M%S`.xls


result:- ...
4,947
Posted By systemsb
sqlldr help
1.The below script works perfectly fine in dev. However, i have been told that i cannot hardcode the password into the file during production impementation. Is their way i could ask the user to enter...
3,931
Posted By systemsb
getting list of directories on windows using ftp
is this possible ?

i want to get the complete path of current working directory and folders under that directory ( ignore the files in them ) on windows usingn ftp from a unix box

The reason i...
339,993
Posted By systemsb
windows to unix folder replication
Perdebro

How do i do it the other way round

eg. Let say, i have a main folder called abc on windows and similar folder on unix.

If i creat any subfolders to abc on windows, how do i...
3,311
Posted By systemsb
folder replication between windows and unix
1. How do i replicate folders between windows and unix.

if i create a subfolder under NDC in windows, it should automatically create a
subfolder in unix as well.

windows nt

/NDC/SUBFOLDERS...
3,062
Posted By systemsb
pls be more specific
pls be more specific
69,022
Posted By systemsb
What if number of fields are not known and they...
What if number of fields are not known and they vary among the lines
how do we capture and print them as shown above

while IFS=, read site space number . . . . . ( n number of fields )
85,599
Posted By systemsb
% scp /home/parthum1/* ...
% scp /home/parthum1/* user2@machine:/home/parthum2

/home/parthum1/ - Source Directory
user2 - user name of the destination machine
machine - machine name or ip address of the machine...
1,923
Posted By systemsb
mikie I think its trying to expand the...
mikie

I think its trying to expand the variable and since that variable is not intialized it is
replacing it with a BLANK.
see below

dam@athena:~$ echo '{ print $6 }'
{ print $6 }...
55,525
Posted By systemsb
If stdin opens a file and redirects the content...
If stdin opens a file and redirects the content of the file to a command
then echo should work

I know this works

dam@athena:~$ more < abc.txt
sssss

Why then doesnt it work with echo ?
2,896
Posted By systemsb
See below .... $vi a.sh ab=$(pwd) echo "...
See below ....

$vi a.sh
ab=$(pwd)
echo " "
echo "Current working directory is $ab"
FILE=$(basename $ab)
echo "FILE returns $FILE "
echo " "
ab=$(pwd)
echo "Current working directory is...
55,525
Posted By systemsb
echo with stdin
Why doesnt echo output the contents of the file abc.txt as shown below ?

chid@athena:~$ cat abc.txt
sssss
chid@athena:~$ echo < abc.txt

chid@athena:~$
3,569
Posted By systemsb
Plain Unix Certification for oracle developers
Hi

I have read every possible thread here on unix certification.

I was looking for a suggestion as to which is a reasonable certification in terms of price and familiarity in the market.

All...
4,631
Posted By systemsb
at the prompt and if you are in the current...
at the prompt and if you are in the current directory do the following

./filename
3,292
Posted By systemsb
Thanks for the reply could you please...
Thanks for the reply

could you please explain to me what this means

. \( ! -name . -prune \)
3,292
Posted By systemsb
renaming files
directory name = /usr/tom/1997

files -
ABC_1997_ST1_BCD.SQL
BCD_1997_ST1_EFG_SAB.SQL
TTT_EBC_1997_ST1_A.SQL

sub directory - /usr/tom/1997/jan

a) I want to just rename the all files...
5,854
Posted By systemsb
Try this
Are you spooling the file like this below..?

>>spool c:\SOMETHING_SOMETHING&&filedate.csv

then

Try

c:\SOMETHING_SOMETHING&&filedate..csv

You need to use two dots.
8,378
Posted By systemsb
double dashes
function date_diff
{
integer _dt1=$(date_to_num ${1:?})
integer _dt2=$(date_to_num ${2:?})
integer _ndt=0
if [[ $_dt2 -gt $_dt1 ]]
then
((_ndt=_dt2-_dt1))
fi
print -- $_ndt
}

...
13,195
Posted By systemsb
typeset and export command difference
Can anyone please explain what the difference is between these two commands

typeset - ?

export - i know with this even child process can read the variable

Declare - ?

i use bash shell
...
16,009
Posted By systemsb
It works
Thanks Everyone for your suggestions and tips
16,009
Posted By systemsb
Can you show me how to do using awk or sed ...
Can you show me how to do using awk or sed

Yes all the lines are of the same pattern
16,009
Posted By systemsb
string concatenation
my input file contains thousands of lines like below

234A dept of education
9788 dept of commerce
8677 dept of engineering

How do i add a delimeter ':' after FIRST 4 CHARACTERS in a line...
Showing results 1 to 23 of 23

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