10 More Discussions You Might Find Interesting
1. OS X (Apple)
I am a beginner, trying to get basic background utilities like at and cron to work on mac os x.
I am typing the following at the prompt:
at now + 1 minute
open -a textedit
^D
nothing happens at the appointed time.
What to change? (7 Replies)
Discussion started by: sakurashinken
7 Replies
2. UNIX for Dummies Questions & Answers
Can someone give me an example how to use bru command line with the -T option?
Thanks, (1 Reply)
Discussion started by: mojoman
1 Replies
3. Shell Programming and Scripting
Hi,
I need to zip/compress a data file and send to a vendor. The vendor does have only unzip utility and can accept only .ZIP files. I do not have zip utility in my server.
How do I zip/compress the file so that it can be deflated using unzip command ? I tried gzip & compress commands, but... (1 Reply)
Discussion started by: Sabari Nath S
1 Replies
4. Shell Programming and Scripting
hi experts,
Can you please help me out in removing delimiters with in double quotes from a CSV file.
input:
=====
a,"bnn,",dgd, "sagfh,dj",ad
output
=====
a,"bnn",dgd, "sagfhdj",ad
there are so mnay fileds in a row and there are millions of rows.
Thanks in an advance.... (6 Replies)
Discussion started by: subhendu81
6 Replies
5. Solaris
hello sir,
can anyone tell about untility in Solaris similiar untility as SMITY in AIX and SAM in HP (2 Replies)
Discussion started by: amarnathbasis8
2 Replies
6. Filesystems, Disks and Memory
Hello,
I need to restore a file that was backed up using BRU. For starters I need to know how to list the archive on my tape.
I tried the following which is what the man page for BRU sugegsts: bru -xvf /dev/nst1 /violatio.sh
I get the following error
bru: warning - read error on first... (1 Reply)
Discussion started by: mojoman
1 Replies
7. Shell Programming and Scripting
I need some help.. I would like to make a script that uses the tr utility to "encrypt" a selected file. I need to know how to set up the script so that if i type encrypt(script name) the letter that i want to start the encryption and then the file name, that it starts with the entered letter, and... (1 Reply)
Discussion started by: frankthetank115
1 Replies
8. Programming
I wrote a makefile, every thing is working fine,
But One of the C header files which is created by me is kept in a different folder other than the current directory,
I have given this PATH to VPATH Variable
Example :- VPATH = /home/user1/projects/victor.h
It gives an error as : file... (4 Replies)
Discussion started by: victorvvk
4 Replies
9. Filesystems, Disks and Memory
I'm having trouble extracting files from a bru tape. The following are commands that I've tried and the respective outputs.
will.rlee 224> bru -vgf /dev/nrtape
label:
created: Mon Nov 7 18:21:41 1994
device: freedom:/dev/mt/tps0d6
user: root
group: ... (1 Reply)
Discussion started by: sherbet808
1 Replies
10. UNIX for Dummies Questions & Answers
I want to pull out the 3rd column of information and stick in a file. What is the Utility I use to do this? (8 Replies)
Discussion started by: James
8 Replies
RFIO_CHOWN(3) Rfio Library Functions RFIO_CHOWN(3)
NAME
rfio_chown - change owner and group of a directory/file
SYNOPSIS
#include <sys/types.h>
#include "rfio_api.h"
int rfio_chown (const char *path, uid_t new_uid, gid_t new_gid)
DESCRIPTION
rfio_chown sets the owner and the group of a directory/file to the numeric values in owner and group respectively. If owner or group is
specified as -1, rfio_chown() does not change the corresponding ID of the file.
path specifies the logical pathname relative to the current directory or the full pathname.
The effective user ID of the process must match the owner of the file or be super-user.
RETURN VALUE
This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.
ERRORS
EPERM The effective user ID does not match the owner of the file and is not super-user.
ENOENT The named file/directory does not exist or is a null pathname.
EACCES Search permission is denied on a component of the path prefix or write permission on the file itself is denied.
EFAULT path is a NULL pointer.
ENOTDIR A component of path prefix is not a directory.
EINVAL new_uid or new_gid is invalid.
ENAMETOOLONG The length of path exceeds CA_MAXPATHLEN or the length of a path component exceeds CA_MAXNAMELEN.
SENOSHOST Host unknown.
SENOSSERV Service unknown.
SETIMEDOUT Timed out.
SECONNDROP Connection closed by remote end.
SECOMERR Communication error.
SEE ALSO
Castor_limits(4)
AUTHOR
LCG Grid Deployment Team
LCG
$Date: 2005/03/31 13:13:02 $ RFIO_CHOWN(3)