10 More Discussions You Might Find Interesting
1. Solaris
Hi,
I installed some packages required by an app built with python.
But when I try python setup.py install, I get the following error:
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32'
Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies
2. Shell Programming and Scripting
Hi,
I'm new to shell scripting and I'm trying to read some code I need to use. Could you help me out on what it's doing? I read this as.... if the directory has files then rm all the files in that directory. I'm not sure....
if ; then
run "rm -rf ${TSP_FILEPATH_PLUGIN_DIR}";
fi
run... (8 Replies)
Discussion started by: jdilts
8 Replies
3. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
4. Shell Programming and Scripting
Hello,
I am still in the process of learning Shell Programming. The online manual, that I am referring to had following question:
I made a script as follows:
df --block-size=1GB | tr -s ' '| cut -d' ' -f2,5 | grep -v 1GB* | sort -k1,2n | tail -1 | cut -d' ' -f2 | cut -d '%' -f1 and it... (2 Replies)
Discussion started by: shahdharmit
2 Replies
5. Shell Programming and Scripting
Hi all,
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
do
case "$opt" in
-h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies
6. Shell Programming and Scripting
Hi,
I need one help for choosing best option among sed, perl and awk.
I need to search and replace thousand files for a text and need to replace it. I am in confusion for choosing the option for best results.
Because by using sed option its taking too much time for searching and replacing... (3 Replies)
Discussion started by: dbsurf
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Is there a no to all option when copying a bunch of files? instead of pressing enter endlessly.
Thanks (6 Replies)
Discussion started by: td_kuoj3
6 Replies
8. Programming
my yacc output file y.tab.c is not compiling using cc y.tab.c -ly command
.possibily option flag -ly is not correct.i m using red hat linux 9.please give solutions. (4 Replies)
Discussion started by: kuldeep_bora
4 Replies
9. UNIX for Advanced & Expert Users
We have started to us the su option on our production server. We log in with our own id and then su into a special id to perform various tasks. This allows our actions to be monitored.
I need to know how to use the su option when doing an ftp between two servers. I noticed that when I log into... (1 Reply)
Discussion started by: lesstjm
1 Replies
10. UNIX for Advanced & Expert Users
Hi
what does the following mean in shell scripts (-h option)
val contains a string.
while (-h "$val") (1 Reply)
Discussion started by: Raom
1 Replies
deallocate(1) deallocate(1)
NAME
deallocate - device deallocation
SYNOPSIS
deallocate [-s] device
deallocate [-s] [-F] device
deallocate [-s] -I
The deallocate utility deallocates a device allocated to the evoking user. device can be a device defined in device_allocate(4) or one of
the device special files associated with the device. It resets the ownership and the permission on all device special files associated with
device, disabling the user's access to that device. This option can be used by an authorized user to remove access to the device by another
user. The required authorization is solaris.device.allocate.
When deallocation or forced deallocation is performed, the appropriate device cleaning program is executed, based on the contents of
device_allocate(4). These cleaning programs are normally stored in /etc/security/lib.
The following options are supported:
device Deallocate the device associated with the device special file specified by device.
-s Silent. Suppresses any diagnostic output.
-F device Forces deallocation of the device associated with the file specified by device. Only a user with the solaris.device.revoke
authorization is permitted to use this option.
-I Forces deallocation of all allocatable devices. Only a user with the solaris.device.revoke authorization is permitted to
use this option. This option should only be used at system initialization.
The following exit values are returned:
non--zero An error occurred.
/etc/security/device_allocate
/etc/security/device_maps
/etc/security/dev/*
/etc/security/lib/*
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
allocate(1), list_devices(1), bsmconv(1M), dminfo(1M), mkdevalloc(1M), mkdevmaps(1M), device_allocate(4), device_maps(4), attributes(5)
The functionality described in this man page is available only if the Basic Security Module (BSM) has been enabled. See bsmconv(1M) for
more information.
/etc/security/dev, mkdevalloc(1M), and mkdevmaps(1M) might not be supported in a future release of the Solaris Operating Environment.
28 Mar 2005 deallocate(1)