Search Results

Search: Posts Made By: tjmannonline
2
1,509
Posted By tjmannonline
SAMA
can i map network drive without using username/password via windows?

can i map (net use ) network drive in unix (aix6.10) ?

net use x: \\servername\folder - worked fine in windows, can i use...
1,918
Posted By tjmannonline
re-direct to log file
#!/bin/ksh -x

cd /tmp/tj

ftp -n servername.com << DONE
user username password
as
put test.log
quit
close
DONE

echo "testing..."

sh -x scriptname, and it shows all, but username, as,...
1,963
Posted By tjmannonline
let me rephrase my need: content looks like...
let me rephrase my need:

content looks like this:

2079951061790 SCK0000903092000000000000021300
2079951061790 SCK0000903090000000000000021300
...
1,963
Posted By tjmannonline
originally, all have SCK, i replaced LCK bc it...
originally, all have SCK, i replaced LCK bc it has 2079951074758 and =>420000.
1,963
Posted By tjmannonline
all said and done, my output should look like...
all said and done, my output should look like this:

2079951061790 SCK0000891539000000000000021600R
2079951061790 SCK0000901487000000000000028900R...
1,963
Posted By tjmannonline
look at my column two, 3rd line, it contains ck#...
look at my column two, 3rd line, it contains ck# such as 920000 and 870000, for example, if i see 2079951061790 in column 1, and check 920000 in column 2, i would replace LCK with SCK.

if you look...
1,963
Posted By tjmannonline
replacement
my filename.txt looks like this:
2079951061790 SCK0000891539000000000000021600R
2079951061790 SCK0000901487000000000000028900R
2079951061790 ...
11,880
Posted By tjmannonline
Using grep to check for character at fixed position
i have a file (test.txt) that contains:

20799510617900000928000000005403020110315V
20799510617900000928000000005403020110316
20799510617900000928000000005403020110317...
10
4,548
Posted By tjmannonline
fuser -f worked, but now i ran into another...
fuser -f worked, but now i ran into another issue. my script:

fuser -f file1 > /tmp/active.log

if [ -s /tmp/active.log ] && [ -s /tmp/file2 ]
then
echo "exiting"
exit
else
...
10
4,548
Posted By tjmannonline
vi, cat.
vi, cat.
10
4,548
Posted By tjmannonline
fuser
if filename.txt is in used, exit, else continue.

i tried to use fuser -c filename.txt, but returned bunch out PIDs eventhough filename.txt is not in used.

any idea ?
1,590
Posted By tjmannonline
yes, a few PCs are working, most not. ok, i will...
yes, a few PCs are working, most not. ok, i will give it a try. thanks.
1,590
Posted By tjmannonline
Samba 3.0.24
i installed/configured Samba 3.0.24 on aix5.3. all worked fine, after switching from local accounts to AD accounts, most of windows PCs are not working.

in my smb.conf:

[global]

...
8,946
Posted By tjmannonline
thanks. this syntax worked as well: find...
thanks. this syntax worked as well:

find /home/user/name -type d -exec ls -ld {} \; | wc -lc
8,946
Posted By tjmannonline
ok, lets take /tmp out of equation. lets use...
ok, lets take /tmp out of equation. lets use /home/username instead. i'd like to see total files under /home/username/* we use a program that allows you to see only 10K records or less only. if it...
8,946
Posted By tjmannonline
ls or find files under /tmp/*
what is proper syntax to ls all files under /tmp/*, and wc -c ?
2,258
Posted By tjmannonline
thank you much, that's what i thought. again,...
thank you much, that's what i thought. again, thanks.
2,258
Posted By tjmannonline
Scrutinizer, thank you much. worked...
Scrutinizer,

thank you much. worked perfectly.

what does <$3 mean ?

<file1.txt 3<file2.txt - read from file1 and file2

3<file2.txt ties up to <$3 ?
2,258
Posted By tjmannonline
while loop
file1.txt contains:
mann
mcdevitt
kirkland

file2.txt contains:
mannt
mcdevittd
kirklandv

i want to copy /mann/* /mannt

cat /tmp/file1.txt | while read file1
do

cat...
Forum: AIX 08-18-2010
3,905
Posted By tjmannonline
sync samba pwd with aix5.3 pwd
currently, my samba login works just fine. i want my clients to use aix5.3 account to login to samba so they don't have to change samba pwd and aix pwd. i googled, and vi /usr/lib/smb.conf per some...
5
sed
2,023
Posted By tjmannonline
thank you much. worked perfectly.
thank you much. worked perfectly.
5
sed
2,023
Posted By tjmannonline
exactly, what i needed. thank you very much. ...
exactly, what i needed. thank you very much.

---------- Post updated at 10:16 AM ---------- Previous update was at 09:57 AM ----------

with in my shell script, i do:

echo "please enter db...
5
sed
2,023
Posted By tjmannonline
sed
i have a file that contains:

xxxx
xxxxxx
xxxxxxx
## database.password=OBF:qpdauyrnavsl
database.password=OBF:qpdauyrnavsl
## app.password=OBF:1lte1jmv1yfc1xtv1xtn1yeu1jkn1lqk...
3,033
Posted By tjmannonline
ls -ltr | grep "Aug 5" or you can use find with...
ls -ltr | grep "Aug 5" or you can use find with -mtime.
1,301
Posted By tjmannonline
Thank you much; exactly what i wanted.
Thank you much; exactly what i wanted.
Showing results 1 to 25 of 131

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