Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: steiner
1,484
Posted By steiner
Convert
Hello,

the istat command didn't work the result is the same rwx.......

Also the Solaris script didn't work on my AIX sh script (with changes to AIX)

Thanks
1,484
Posted By steiner
Convert
Hello,

thanks for your feedback.

I'm working on Unix on AIX on an sh script.

Thanks
1,484
Posted By steiner
Convert
Hello,

thanks . I tried the command stat -c "%a %n" but it didn't work.

So i'm checking

Thanks
1,484
Posted By steiner
Convert UNIX rights in a number in a sh script
Hello,

i'm trying to write a script sh to convert the rights of a folder or file in a number.
Explain:

ls -l = rwxrwxrwx
so i must display 777.

Do you known where i can find so convert...
998
Posted By steiner
Check directory exists
Hello,

Thanks

it works nice
998
Posted By steiner
Check directory exist
Hello

thanks for your reply,

My Problem now is that all my paths are in a virtual list.

I need just the command like :

echo "$params"|while read param
do
{
echo $params
#if [ -d...
998
Posted By steiner
Find if a directory exist from a list of the path
Hello,

i want to script on sh to check from a path if the directory exist and isn't empty.

I explain:

path is : /aaa/bbb/ccc/ccc_name/ddd/
Where the cccc_name is in a list, so i think it's...
1,298
Posted By steiner
Compare two directories on two lpars
Hello,
thanks for your help.

I put the two pub keys on the two serveurs. So now when i try to connect it ask me first to tape the parhphrase. It's correct.

Please could you help me for that...
1,298
Posted By steiner
Hello, the command ssh root@lpar ask the...
Hello,

the command ssh root@lpar ask the password and after entering it it connects.

So i think i must put an rsa key to authentication ???

Thanks for your help
1,298
Posted By steiner
Compare directories
Hello,

thanks;

I'm on aix Server : AIX lpar14 1 6 00F91FE94C00

How could you check on another lpar. I only know the ssh root@lpar command

Thanks
1,298
Posted By steiner
Compare Directories and folders on two remote lpar
Hello,

i'm trying to script to compare the same directory on the lpar.
The problem is i'm using the command : find /etc -type d -ls but i cannot reach the remote lpar.

I have another solution...
5,941
Posted By steiner
Hello, yes i have an output of lot of...
Hello,


yes i have an output of lot of files.

but i need also to delete dire tories that are older than one day.
That is no optimize the inodes for the disk

Thanks
5,941
Posted By steiner
Hello, thanks but no the two command...
Hello,

thanks

but no the two command didn't work .

The first one give an error : rm: missing operand

The second command didn't nothing but no error

Ok thanks
5,941
Posted By steiner
Hello, thanks for your replies. So i need to...
Hello,

thanks for your replies. So i need to give more explications sorry.

the command : find /usr/IBM/HTTPServer/apache_cache/ -type f -mtime +1 -exec rm {} \; is ok i used it before but our...
5,941
Posted By steiner
How to delete directories and files with xargs?
Hello,

i have an dynamical apache_cache that I need to clean all days (older tant one day) with an unix command :

find /usr/IBM/HTTPServer/apache_cache/ -name '*' -mtime +1 -print0|xargs -0 rm...
7,745
Posted By steiner
Hello, thanks but the same result with...
Hello,

thanks but the same result with simple quote ..Sorry also without quote

Thanks for your help
7,745
Posted By steiner
Bad status in UNIX Script
Hello,

sorry for my questions about that below script but i have an error that i don't understand.
It seems that my find command is not working fine but for me the command is ok

Thanks for...
4,091
Posted By steiner
JVM Memory used on AIX
Hello,

i need just a Unix command line (AIX 6) that gives me the memory/CPU used by a WebSphere JVM from it's PID such as ps -ef | grep 'jvm name'.

I know jstat -gc PID but it didn't work...
12,830
Posted By steiner
Split a big file into two others files
Hello,

i have a very big file that has more then 80 MBytes (100MBytes). So with my CVS Application I cannot commit this file (too Big) because it must have < 80 MBytes.

How can I split this...
3,787
Posted By steiner
Change Rights Recursive with chmod
Hello,

i want just to change Rights for a few direcories anf files, but some directories must be exclude.

How can i put the command chmod as

chmod -R 755 * exclude toto tata

where toto...
44,268
Posted By steiner
How to trace an AIX Process?
Hello,

I execute an application on my Unix AIX Server and that one crashes after reading some files. These files are very big (80 Mbytes), the application is a CVS Repository.

I have found with...
Forum: Solaris 01-19-2010
5,154
Posted By steiner
File...
Hello,

ok it works fine

Many, many Thanks
Forum: Solaris 01-19-2010
5,154
Posted By steiner
File...
Hello,

it's ok it's like seems to work, just like adaptations and it runs.

Many thanks, i will reply when it works right as I want it

Thanks bye

---------- Post updated at 10:57 AM...
Forum: Solaris 01-19-2010
5,154
Posted By steiner
file ....
HEllo,

i'm trying with nawk because i work on Solaris 10, i will inform you

have a lot of thanks, bye

---------- Post updated at 09:30 AM ---------- Previous update was at 09:26 AM...
Forum: Solaris 01-19-2010
5,154
Posted By steiner
Split a file in two others files
Hello,

thanks for your answers, it's very nice.

The errors are syntax errors but i'm beginner on awk:

i put the command as so:
awk '/NameVirtualHost/ {f=1} {print > f?...
Showing results 1 to 25 of 56

 

Featured Tech Videos

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