Search Results

Search: Posts Made By: praveen_indramo
3,656
Posted By praveen_indramo
how to change permissions in a certain directory?
Hi ,

I have a situation where plenty of users log in to the same directory and put in files. When they put in the files, I need those files to become group writable (chmod g+w) automatically. I...
29,346
Posted By praveen_indramo
thanks jim
That helped. thanks jim
29,346
Posted By praveen_indramo
rm: cannot remove `test1.txt': Permission denied
This issue is on RedHat 4AS, and I am pretty sure this is a very basic permission issue.
I need to give permission for everyone to move/delete the file that is created by me. How do i do that?
Here...
13,699
Posted By praveen_indramo
that was fast!thank you
That was really fast! You rock man!

Thanks,
Praveen
13,699
Posted By praveen_indramo
Thanks a lot guys!But..
guys,

thats really awesome..I got so many responses so fast.But I need to do this recursively in directories and subdirectories.. so i was hoping to use a find command..like find . -name blah* ....
13,699
Posted By praveen_indramo
how to remove files with only numbers as file names?
Hi all,

I have a bunch of files that are named like 12543, 467249877, etc all over some directories.These files are named only with numbers, they dont have any letters or special characters in...
6,036
Posted By praveen_indramo
yeah, may be, but he said : "I just need the...
yeah, may be,

but he said : "I just need the code for determing a folder size."

and he said : i know how to send email?( :confused: why the question mark?)

Anyway, hope it works for him.
...
6,036
Posted By praveen_indramo
Hi, Try this: #!/bin/sh SIZE=`ls...
Hi,

Try this:

#!/bin/sh

SIZE=`ls -ltr FILENAME|awk '{print $5}'`

if [ $SIZE -ge 700 ] ##say..size exceeds 700

then

echo "FILE SIZE EXCEEDED!!"

else

echo "FILE SIZE OK"

fi
4,812
Posted By praveen_indramo
Try this: head -514455 FILENAME|tail -1...
Try this:

head -514455 FILENAME|tail -1 >line.txt

then vi line.txt

Hope this helps,

Praveen Indramohan
15,045
Posted By praveen_indramo
to locate ssh
Try these commands:

1. type ssh (type in the word type )
2. whereis ssh

Should give you the installation location.

Hope this helps,

Praveen Indramohan
Showing results 1 to 10 of 10

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