03-07-2020
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Good day
Does anyone have an idea on how I can rcp a file together with its attributes. owner,group, permissions ?
Regards
J (2 Replies)
Discussion started by: jhansrod
2 Replies
2. Shell Programming and Scripting
how do we set file attributes at shell prompt (2 Replies)
Discussion started by: hytechpro
2 Replies
3. UNIX for Dummies Questions & Answers
hi,
i am very- very new to unix
i have os - sun solaris 5.9 and i want to learn more about system attributes for example, the make - model of machine , operating system & patch versions
can somebody tell me a usefull command to learn these?
any help would be apreciated,
regards to all,... (3 Replies)
Discussion started by: merope
3 Replies
4. Shell Programming and Scripting
How to retrieve file attributes in a sh/bash script (modification time, access time, size, etc.)? (1 Reply)
Discussion started by: Hitori
1 Replies
5. UNIX Desktop Questions & Answers
hi,
I want to know the date the file was created or modified. I can do this using ls, ll -ltr etc...
I want to do this in a function (so If the file date is older then a week I can report it), is there a way?
another thing...
In sql function, I can catch exceptions, is there a way to do this... (1 Reply)
Discussion started by: krem
1 Replies
6. UNIX for Dummies Questions & Answers
I got a server (test server) that hangs anytime we run a ls attribute like ls -ltr or ls -al. We can run ls | more command with no problem. But getting back to the ls attribute problem, it just sits and hangs, I did a ps -ef | grep ls, and a user had 15 sessions of ls -al running, I killed those,... (3 Replies)
Discussion started by: Sarccastik Dude
3 Replies
7. UNIX for Advanced & Expert Users
Hi Gurus,
I am trying to create a FS using SVM but system is throwing the following error.
newfs /dev/md/rdsk/d1002
newfs: construct a new file system /dev/md/rdsk/d1002: (y/n)? y
/usr/sbin/clri: can't get execution attributes (1 Reply)
Discussion started by: rama krishna
1 Replies
8. AIX
SOS Guys...
Is there any way to determine the user attributes, mainly if that userid is set as never expire?
I do not have admin rights, and I'm working on AIX 5.3
I've tried :
lsuser -f <username>
but no luck on that (2 Replies)
Discussion started by: freakygs
2 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I opened a file by accident (with a java program, which has been uninstalled!) and from then on, all the file with .fasta extension has been changed with an icon (So annoying!!) and the file attributes has been changed with the property:
Type: application/x-wine-extension-fasta type... (6 Replies)
Discussion started by: yifangt
6 Replies
10. UNIX for Beginners Questions & Answers
I'm trying to sort out the charing of a problem folder, in the 'ls -l' list is shows as:
d???????????? ? ? ? ? ? Pi-Share
PiShare is the name of the directory, all the ??s make no sense to me at all, and no user (there are only two, pi and root) can make any changes to it.... (4 Replies)
Discussion started by: MuntyScrunt
4 Replies
LEARN ABOUT HPUX
getdomainna
getdomainname(2) System Calls Manual getdomainname(2)
NAME
getdomainname, setdomainname - get or set name of current Network Information Service domain
SYNOPSIS
DESCRIPTION
returns the name of the Network Information Service (NIS) domain for the current processor, as previously set by The parameter namelen
specifies the size of the name array. The returned value is null-terminated unless the area pointed to by name is not large enough to hold
the domain name plus the null byte. In this case, only the namelen number of bytes is returned.
sets the domain of the host machine to name, which has a length of namelen. This call is restricted to the superuser and is normally used
only when the system is booted.
These Network Information Service domains enable two distinct networks with common host names to merge. Each network is distinguished by
having a different domain name. Currently, only the Network Information Service uses these domains.
RETURN VALUE
If the call succeeds, a value of 0 is returned. If the call fails, a value of -1 is returned and is set to indicate the error.
ERRORS
If or fail, is set to one of the following values:
name points outside the accessible address space.
The caller is not superuser.
This error only applies to
WARNINGS
The length of the name array should be at least 65; NIS domain names can be up to 64 characters long.
NIS servers use the NIS domain name as the name of a subdirectory of Since the NIS domain name can be as long as 64 characters, the domain
name set with can exceed the maximum file name length allowed on the local file system. If that length is exceeded, the name of the subdi-
rectory is the truncated NIS domain name.
AUTHOR
getdomainname was developed by Sun Microsystems, Inc.
SEE ALSO
domainname(1), ypserv(1M), ypfiles(4).
getdomainname(2)