06-06-2007
cp command issue.
All,
I have files in directory,when i try to overwrite those files it gave operation not permitted error. I am using same group user (ina2) while overwritng this file.
Sample file :
-rw-rw-r-- 1 ina1 indev 316 Jun 06 13:44 ONCTEST.dat
Error:
cp: /proj/out/ONCTEST.dat: Operation not permitted.
Thx,
Sai
10 More Discussions You Might Find Interesting
1. HP-UX
I made tar file having file names more character( up to 50).
When i extract file in Linux it extracts fine.. but in HPUX all file name which are more than 24 are trimed to 24 characters.
i m using "tar -xvf xx.tar"
i read some O and N option for New posix and Old but didnt got. :confused:
... (2 Replies)
Discussion started by: ajayyadavmca
2 Replies
2. UNIX for Dummies Questions & Answers
Hello Guys...
I am a newbie to Unix. I am having a requirement, Like in a file, I want to count the number of characters,
I used wc -c and wc -m, But both are giving the byte count instead of character count.
Please help me guys... Its very very urgent.
Really appreciate ur help..
... (5 Replies)
Discussion started by: mraghunandanan
5 Replies
3. Shell Programming and Scripting
dd if=/dev/zero of=/var/images/abc.img bs=1M count=0 seek=2097152
dd: truncating at 2199023255552 bytes in output file `/var/images/abc.img': File too large
The dd commad fails here saying its truncating if I try same command with less value for seek it works
dd if=/dev/zero... (3 Replies)
Discussion started by: amol28kulkarni
3 Replies
4. Shell Programming and Scripting
I am trying to show out the character count of a file if greater than 500 characters. When I do the -m its show the size of the file and not the characters in the file. Where am I getting confused? Or is -c and -m the same thing? Code is below
if ;
then
echo "Char... (3 Replies)
Discussion started by: tvb2727
3 Replies
5. Shell Programming and Scripting
Hi,
I am using tr command like below:
cat file_name | tr -c "" "" > output_file
When i run my script from command mode, it is working fine. I scheduled my job in autosys. When the job runs at specified I am getting below Error:
tr: when translating with complemented character... (5 Replies)
Discussion started by: Karteek
5 Replies
6. Shell Programming and Scripting
I have used the mail command from the command line for sending mail from one machine to anther machine.
Example:
mail -s "Test" thillaselvan@xxx.co.in
Testing
But the mail is not getting received.
I have checked the logs in the following file.
tail -f /var/log/exim4/mainlog
It is... (0 Replies)
Discussion started by: thillai_selvan
0 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Getting the below error.
rm *.txt
bash: /usr/bin/rm: Arg list too long
I understand the error is because there are lakhs of .txt file.
Any fix ? (16 Replies)
Discussion started by: mohtashims
16 Replies
8. Shell Programming and Scripting
Hi All,
I am using the below script which has awk command, but it is not returing the expected result. can some pls help me to correct the command.
The below script sample.ksh should give the result if the value of last 4 digits in the variable NM matches with the variable value DAT. The... (7 Replies)
Discussion started by: G.K.K
7 Replies
9. Shell Programming and Scripting
I am on Linux LXLE.
I been trying to change directories and opens folders and files.
1. I cd /home file
2. then user (/home/teak/)
Then I try to open the Document file, wouldn't it be /home/teak/doument? . It responds not a directory. So how would I open the document file, or not... (3 Replies)
Discussion started by: teak
3 Replies
10. UNIX for Beginners Questions & Answers
I am new to unix.I have a requirement to get few fields from the log file as below.
Log
app9/cc-gr_base.log.2017-07-19.gz: hostname 1500523166993 NA:NA:NA http-nio-8080-exec-56 INFO Points balance from MIS for user with userId: 19651069, first name: DEREK RICHARD and last name: BOUDREAU is... (3 Replies)
Discussion started by: nextStep
3 Replies
LEARN ABOUT SUNOS
dat.conf
dat.conf(4) File Formats dat.conf(4)
NAME
dat.conf - DAT static registry
SYNOPSIS
/etc/dat/dat.conf
DESCRIPTION
The DAT static registry, /etc/dat/dat.conf is a system-wide data resource maintained by the system administrative command datadm(1M).
/etc/dat/dat.conf contains a list of interface adapters supported by uDAPL service providers. An interface adapter on Infiniband (IB) cor-
responds to an IPoIB device instance, for example, ibd0. An IPoIB device name represents an IP interface plumbed by ifconfig(1M) on an IB
partition/Host Channel Adapter port combination.
Each entry in the DAT static registry is a single line that contains eight fields. Fields are separated by a <SPACE>. Lines that begin with
a pound sign (#) are considered comments. All characters that follow the # are ignored. Enclose Solaris specific strings (Solaris_spe-
cific_string) and service provider's instance data (service _provider_instance_data) in quotes.
The following shows the order of the fields in a dat.conf entry:
"interface_adapter_name" "API_version" "threadsafe | nonthreadsafe"
"default | nondefault" "service_provider_library_pathname"
"service_provider_version" "service _provider_instance_data"
"Solaris_specific_string"
The fields are defined as follows:
interface_adapter_name
Specifies the Interface Adapter (IA) name. In IB, this is the IPoIB device instance name, for example, ibd0. This represents an IP
interface plumbed on an IB partition/port combination of the HCA.
API_version
Specifies the API version of the service provide library: For example, "u"major.minor is u1.2.
threadsafe | nonthreadsafe
Specifies a threadsafe or non-threadsafe library.
default | nondefault
Specifies a default or non-default version of library. A service provider can offer several versions of the library. If so, one version
is designated as default with the rest as nondefault.
service_provider_library_pathname
Specifies the pathname of the library image.
service_provider_version
Specifies the version of the service provider. By convention, specify the company stock symbol as the service provider, followed by
major and minor version numbers, for example, SUNW1.0.
service _provider_instance_data
Specifies the service provider instance data.
Solaris_specific_string
Specifies a platform specific string, for example, the device name in the service_provider.conf file.
EXAMPLES
Example 1: Sample dat.conf File
The following dat.conf file shows a uDAPL 1.2 service provider for tavor, udapl_tavor.so.1 supporting two interfaces, ibd0 and ibd1:
#
# dat.conf for uDAPL 1.2
#
ibd0 u1.2 nonthreadsafe default udapl_tavor.so.1 SUNW.1.0 ""
"driver_name=tavor"
ibd1 u1.2 nonthreadsafe default udapl_tavor.so.1 SUNW.1.0 ""
"driver_name=tavor"
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWudaplr |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO
datadm(1M), ifconfig(1M), libdat(3LIB), service_provider.conf(4), attributes(5)
NOTES
An empty dat.conf is created during the package SUNWudaplr installation if no file is present beforehand. Entries in the file are added or
removed by running datadm(1M).
The content of the platform specific string does not constitute an API. It is generated by datadm(1M) and might have a different content or
interpretation in a future release.
SunOS 5.10 18 Jun 2004 dat.conf(4)