Search Results

Search: Posts Made By: sophos
1,513
Posted By sophos
Delete lines from a file where data is continously appended
Hello ,

Is there a way to delete lines from a file where data is continously appended to the file. I can use normal vi command ndd to remove n number of lines from the file, as the data is...
17,523
Posted By sophos
Try learning with this example. Shell script...
Try learning with this example.

Shell script to watch the disk space (http://www.cyberciti.biz/tips/shell-script-to-watch-the-disk-space.html)

or check the RSCT Administration Guide -...
6,052
Posted By sophos
tar cvf - filenames | gzip > file.tar.gz
tar cvf - filenames | gzip > file.tar.gz
4,909
Posted By sophos
Sudo command
Hello,

What does the below sudo command provide access to, does it allow a user to su to any other user except root.

sudo !/usr/bin/su [!-]*
3,994
Posted By sophos
Use logrotate if it is Linux. You can rotate,...
Use logrotate if it is Linux. You can rotate, remove, compress and mail huge logs.
Forum: Solaris 06-20-2009
13,982
Posted By sophos
Thanks for the commands and the note,but i would...
Thanks for the commands and the note,but i would like to know how much ram is allocated per zone and how much is being consumed for a particular zone say zone3.
Forum: Solaris 06-19-2009
13,982
Posted By sophos
Memory usuage per zone in solaris
Hello all,

How can i find the memory usuage per zone in solaris.
5,757
Posted By sophos
i have tried a bit as follows but wondering if...
i have tried a bit as follows but wondering if there is a easier way:

#!/usr/bin/perl


#Clears Screen
$CLEAR=`clearscreen`;
print $CLEAR;

#Set LDAPDomain...
5,757
Posted By sophos
pdadmin script
Hello all,

I would need a scirpt to perform the following operation:


I would like to give a spreadsheet as input with 3 columns with firstname,lastname,userid in order
The script should...
4,384
Posted By sophos
Thanks a bunch giannicello. It works perfectly...
Thanks a bunch giannicello. It works perfectly fine.
4,384
Posted By sophos
get output in each cell from shell script
Hi,

I have a code which gives me different values all in a same line. what do i change to make the output have each value in each cell.

code:
echo $user $firstname $lastname $address

done |...
1,647
Posted By sophos
whats wrong in my code
Code:
#!/usr/bin/perl -w
use strict;
use warnings;

#Clears Screen
$CLEAR=`clear`;
print $CLEAR;

i get the below error:
Global symbol "$CLEAR" requires explicit package name at ./mutmg.pl...
7,616
Posted By sophos
It works now thanks a lot.
It works now thanks a lot.
7,616
Posted By sophos
i tried to run this got the below error: ...
i tried to run this got the below error:

Error Code:
./audit.sh[3]: syntax error at line 4 : `|' unexpected
7,616
Posted By sophos
i changed it to .sh extension but get this error ...
i changed it to .sh extension but get this error

Code Output:
./audit.sh: syntax error at line 6: `groups=$' unexpected
7,616
Posted By sophos
getting this error when i run it Unrecognized...
getting this error when i run it
Unrecognized file test: -a at ./audit.pl line 5.
7,616
Posted By sophos
thanks a lot i will try it out
thanks a lot i will try it out
7,616
Posted By sophos
1)pdadmin -a sec_master -p <passwd> group...
1)pdadmin -a sec_master -p <passwd> group show-members <groupname>

output: user1
user2
user3 ....
2a)pdadmin -a sec_master -p <passwd> user show-groups <user1>
group1...
7,616
Posted By sophos
pdadmin script help needed
Hello all,

I need to create a report for the list of users and related groups present in my ldap directory.

I need a script which does the following and give out a final script as...
8,556
Posted By sophos
move all the files to a folder and then use the...
move all the files to a folder and then use the below command
tar cvf - <foldername> |gzip > foldername.tar.gz
2,919
Posted By sophos
Soap Server error
Hi all jobs on a particular autosys box are failing with the below error. Any ideas

Start Login
Preparing to Submit Job......
Error Submitting Report Again Soap Server error.
Showing results 1 to 21 of 21

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