03-07-2020
Posix Attributes
I can somebody help me find list of posix attributes for object class, for exemple posixGroup, posixUser etc.
Thanks,
In Advance
Last edited by vbe; 03-07-2020 at 05:27 AM..
Reason: typos
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 LINUX
gen_udp
gen_udp(3erl) Erlang Module Definition gen_udp(3erl)
NAME
gen_udp - Interface to UDP sockets
DESCRIPTION
The gen_udp module provides functions for communicating with sockets using the UDP protocol.
DATA TYPES
ip_address()
see inet(3erl)
posix()
see inet(3erl)
socket()
as returned by open/1,2
EXPORTS
open(Port) -> {ok, Socket} | {error, Reason}
open(Port, Options) -> {ok, Socket} | {error, Reason}
Types Port = 0..65535
Options = [Opt]
Opt -- see below
Socket = socket()
Reason = posix()
Associates a UDP port number ( Port ) with the calling process.
The available options are:
list :
Received Packet is delivered as a list.
binary :
Received Packet is delivered as a binary.
{ip, ip_address()} :
If the host has several network interfaces, this option specifies which one to use.
{fd, int()} :
If a socket has somehow been opened without using gen_udp , use this option to pass the file descriptor for it.
inet6 :
Set up the socket for IPv6.
inet :
Set up the socket for IPv4.
Opt :
See inet:setopts/2 .
The returned socket Socket is used to send packets from this port with send/4 . When UDP packets arrive at the opened port, they are
delivered as messages:
{udp, Socket, IP, InPortNo, Packet}
Note that arriving UDP packets that are longer than the receive buffer option specifies, might be truncated without warning.
IP and InPortNo define the address from which Packet came. Packet is a list of bytes if the option list was specified. Packet is a
binary if the option binary was specified.
Default value for the receive buffer option is {recbuf, 8192} .
If Port == 0 , the underlying OS assigns a free UDP port, use inet:port/1 to retrieve it.
send(Socket, Address, Port, Packet) -> ok | {error, Reason}
Types Socket = socket()
Address = string() | atom() | ip_address()
Port = 0..65535
Packet = [char()] | binary()
Reason = not_owner | posix()
Sends a packet to the specified address and port. The Address argument can be either a hostname, or an IP address.
recv(Socket, Length) -> {ok, {Address, Port, Packet}} | {error, Reason}
recv(Socket, Length, Timeout) -> {ok, {Address, Port, Packet}} | {error, Reason}
Types Socket = socket()
Length = int()
Address = ip_address()
Port = 0..65535
Packet = [char()] | binary()
Timeout = int() | infinity
Reason = not_owner | posix()
This function receives a packet from a socket in passive mode.
The optional Timeout parameter specifies a timeout in milliseconds. The default value is infinity .
controlling_process(Socket, Pid) -> ok
Types Socket = socket()
Pid = pid()
Assigns a new controlling process Pid to Socket . The controlling process is the process which receives messages from the socket.
close(Socket) -> ok | {error, Reason}
Types Socket = socket()
Reason = not_owner | posix()
Closes a UDP socket.
Ericsson AB kernel 2.14.3 gen_udp(3erl)