Search Results

Search: Posts Made By: kamalkishore
2,646
Posted By kamalkishore
You can use find command as below find...
You can use find command as below

find /subsystem/prod/ -type f -mtime +28 -exec rm -rf {} \;

This will delete all the files more than 28 days old. I am afraid there is no option available for...
2,855
Posted By kamalkishore
If you really dont want the data why are you...
If you really dont want the data why are you using 'awk' command.

If you still want to send output to nowhere
try

your awk command > /dev/null
4,456
Posted By kamalkishore
Unfortunately Unix doesnt have this facility to...
Unfortunately Unix doesnt have this facility to calculate dates using a command. But I have came across a script which might be useful.
...
32,810
Posted By kamalkishore
When a ftp is done, it may not be possible to...
When a ftp is done, it may not be possible to list the files based on time (creation).

In my opinion best bet is if you can create the file name by appending the date and then ftp(pull) the...
4,078
Posted By kamalkishore
There will always be a process which is using the...
There will always be a process which is using the maximum of the CPU at a given time.

I think it might be a good idea to first find out the processes which are taking a lot of CPU space and can...
6,527
Posted By kamalkishore
Mate, try echo $SHELL this will give...
Mate, try

echo $SHELL

this will give which shell you are in.

Also Try

which bash

this will give the address for bash like "/usr/bin/bash"

add this to the first line of your...
1,086
Posted By kamalkishore
Yep.. putting in a for loop will help... Also...
Yep.. putting in a for loop will help...
Also for good coding standards try some variable like MYDIR="/var/opt/logs".

And then check like

if [ -f ${MYDIR}/${MYFILE} ]
then
print...
Forum: Solaris 02-28-2011
1,865
Posted By kamalkishore
If you are a Solaris Certified System...
If you are a Solaris Certified System Administrator, you are supposed to know each and every In and Out of the Solaris machine. It will include lots of concepts like User Administration, Network...
Forum: Solaris 02-27-2011
3,569
Posted By kamalkishore
This is very common in unix that you dont see...
This is very common in unix that you dont see anything for what you have typed when you enter the password in solaris. One reason can be that your account is locked. One reason can be you are not...
38,657
Posted By kamalkishore
ok then could you plz tell me what permission...
ok then could you plz tell me what permission your sftp user has. because its not like that any user can start transmitting files across servers by just creating and sharing keys. The user should...
38,657
Posted By kamalkishore
sftp asks for a password only if there is an...
sftp asks for a password only if there is an issue with keys being placed at correct locations and permissions(file or directory). Could you make sure that

1. The keys should be shared between...
38,657
Posted By kamalkishore
there seems to be something wrong with the sftp...
there seems to be something wrong with the sftp configuration. might be the keys are not placed at correct locations, may be the permission for the user on the directories where keys are placed.
2,169
Posted By kamalkishore
For you are qualify as a Solaris Admin, you need...
For you are qualify as a Solaris Admin, you need to take two exams. One for the first part and another for second. You can check the syallubus online for the different parts.

Nothing is that...
Forum: Solaris 02-24-2011
1,806
Posted By kamalkishore
There is one command known as "disown" in...
There is one command known as "disown" in solaris. That is used to detach the process from its parent id.

like if there is any job %1

then

disown %1

will detach the job from parent...
Showing results 1 to 14 of 14

 

Featured Tech Videos

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