Search Results

Search: Posts Made By: simonsimon
42,443
Posted By simonsimon
wc -w is used to get total number of files. ...
wc -w

is used to get total number of files.

The tricky part I did not understand and I am waiting for Scrutinizer is the code

| xargs -n $setsize |

How does this divide the file set and...
42,443
Posted By simonsimon
Scrutinizer, You are simply...
Scrutinizer,
You are simply great. Thanx for you suggestions. Ah I wish me as a DBA , to learn more about shell scripting and Unix admisnistration.

Ok Few Questions.

I traced...
42,443
Posted By simonsimon
Guys, I do not want 500 threads. ...
Guys,
I do not want 500 threads.

My requirement is very simple.
If out of box command is not available
I need some kind of shell script which copies files in a directory in say 4...
42,443
Posted By simonsimon
Copy files in Parallel
Is there any out of box Command in Unix
or is it possible through shell scripting to
copy all the files in a directory in Parallel.

Example. I am doing a COLD database backup. I have the...
4,390
Posted By simonsimon
Thank you all Scrutiniser and Rubin for your...
Thank you all Scrutiniser and Rubin for your wonderful responses. It is incredible what can be done with shell scripting though it is very crytic.

Just a quick one.

How to get the above ouput...
4,390
Posted By simonsimon
Extract Unique Values from file
Hello all,

I have a file with following sample data

2009-08-26 05:32:01.65 spid5 Process ID 86:214 owns resources that are blocking processes on Scheduler 0.
2009-08-26 05:32:01.65 spid5 ...
13,273
Posted By simonsimon
Thanx all. Unfortunately this is 3rd party...
Thanx all.

Unfortunately this is 3rd party vendor program written in . I just have the war file.

Do you know teh reason why it does not work. Is that the expected behaviour ?
13,273
Posted By simonsimon
The problem is the Java application runs the...
The problem is the Java application runs the shell and then the ls command

So in the application it ask for the shell interpretor which I give /bin/sh

then it uses this to run the ls command...
13,273
Posted By simonsimon
I have a Java application which goes to the OS...
I have a Java application which goes to the OS and runs unix utlities.
So its not running any shell scripts.
I needs to know the shell command line which I give it as /bin/sh as you mentioned

It...
13,273
Posted By simonsimon
That was a quick response. Thanx. Just...
That was a quick response. Thanx.

Just curious why would

/bin/sh ls command fail with Execute permission denied

but $ls works
13,273
Posted By simonsimon
Windows command shell equivalent in Unix
In Windows we use cmd.exe \c as the command SHell

What is its equivalent in UNIX ?


Thanx for all your help.
1,588
Posted By simonsimon
sh with Oracle utilities fails
I log into HPUX as oracle user.

I use sh shell.

Oracle utilities imp ,exp sqlplus has rwxr-x--x privilege

From $ prompt If i type imp it works fine.

But the following fails

$sh imp
...
9,713
Posted By simonsimon
Fpmurphy, Thank you . You...
Fpmurphy,
Thank you . You mentioned about ACLS and SELINUX .Can you please point me to some Documentation. So that I can lean how to fish.
I am a DBA by profession, So I have some...
9,713
Posted By simonsimon
GSalisbury, Thanx again for...
GSalisbury,
Thanx again for your valuable inputs.
I will try the .bin_trap method which you suggested.
I wish unix was a bit flexible.


robsonde,
I hear you...
9,713
Posted By simonsimon
Thanx GSalisbury. I am still wondering is there...
Thanx GSalisbury. I am still wondering is there no simple straighforward way to do this.

I am new to UNIX. I am sure there must be a way thru some os permission setting.

I see this is such a...
9,713
Posted By simonsimon
Thanx for you response piper28. But how to...
Thanx for you response piper28.

But how to revoke execute from /bin/ps only from "a" specific user ?

Thats all I have been asking for. Say user TESTUSER should not be able to use ps command...
9,713
Posted By simonsimon
Sorry I am new to this forum. What does bump up...
Sorry I am new to this forum. What does bump up posts mean ?

BTW Radoulov Thanx for your response. But my questions was

""
Is there a way to revoke access from "ps" command so that the user...
9,713
Posted By simonsimon
Please anyone any answers. Thanx
Please anyone any answers.
Thanx
9,713
Posted By simonsimon
New Approach Hiding login password from ps -ef
Hello all ,
I looked up this site for solutions to hide login info from ps -ef | grep like using a seperate file and store the password in that especially for oracle sqlplus scripts.

I just got...
4,413
Posted By simonsimon
Thanx everyone for you help I found this on...
Thanx everyone for you help
I found this on the web
setfacl (http://www.linuxcommand.org/man_pages/setfacl1.html)

How to use this to make the group to which testuser belongs , unable to get...
4,413
Posted By simonsimon
How to create/restrict a user with to have no privilege from other group
Hello experts I am new to Unix.

Env : HPUX
I need to create a user say testuser such that it does not have access to file/directories from the other group i.e the last 3 digits .

How do I...
Showing results 1 to 21 of 21

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