Sponsored Content
Full Discussion: Basic help
Top Forums UNIX for Dummies Questions & Answers Basic help Post 302953035 by RudiC on Tuesday 25th of August 2015 04:52:38 AM
Old 08-25-2015
@bakunin: Sorry to disagree, but above is called "command substitution". man bash:
Quote:
Command substitution allows the output of a command to replace the command name. There are two forms:

$(command)
or
`command`
Process substitution takes a different form:
Quote:
Process substitution is supported on systems that support named pipes (FIFOs) or the /dev/fd method of naming open files. It takes the form of <(list) or >(list).
This User Gave Thanks to RudiC For This Post:
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Basic

hi, I am pretty new both to unix and this forum, can anyone help me to give shortcuts to my commands... eg:- instead of "cd /usr/bin" i want to to give " bin " and get to that path. I'm using HP-UX 11.0 abey (2 Replies)
Discussion started by: abey
2 Replies

2. What is on Your Mind?

Basic...

hi, I am pretty new both to unix and this forum, can anyone help me to give shortcuts to my commands... eg:- instead of "cd /usr/bin" i want to to give " bin " and get to that path. I'm using HP-UX 11.0 abey (2 Replies)
Discussion started by: abey
2 Replies

3. HP-UX

Bt-basic

Hi Guys, I very new to bt-basic even I got 8 years experience on UNIX. I searched through google about bt-basic but nothing really give me solid documentation. Anybody have documentation or manual for this bt-basic? Pls help me (2 Replies)
Discussion started by: shahru
2 Replies

4. UNIX for Dummies Questions & Answers

Need some basic help

Hi everyone, I need some help! I know that this is a very simple little problem but I seem to be stuck. I was just wondering if you could show me the right way. I basicly have to write a single line of commands (using piping) to do the following: From the file data.txt, select all of the... (2 Replies)
Discussion started by: itk
2 Replies

5. HP-UX

to know the basic

Hi, Good morning I want to install HP-Unix in my PC. I already have windows XP home edition in my PC. I do not want remove XP,But I need HP-Unix in the same system. Is it posssible? If it is what is the name and version of HP-Unix cd? Where can I get the CD to install. I have... (4 Replies)
Discussion started by: nandhini
4 Replies

6. UNIX for Dummies Questions & Answers

basic if else

I know this is pretty basic, but i cant figure it out to save my life. i want it to ask for a variable, as long as that variable isnt -/0 i want it to print out the area. else if the variable is -/0, i want it to print out invalid entry. the only problem is it will still try to print out the... (1 Reply)
Discussion started by: cookiebooy
1 Replies

7. Solaris

Basic - how do I?

How do I use ls and grep together to count a certain number of files in a directory? -Thanks (1 Reply)
Discussion started by: secno
1 Replies

8. What is on Your Mind?

Vs basic

There isn't much of a relation between 80's BASIC and today's BASIC. A lot of languages seem similar. The BASIC I worked with was Dartmouth or VSBASIC. Now existing as ATARI BASIC. PERL and JULIA look appealing, it would be nice if there where a program like VSBASIC. 80's... (7 Replies)
Discussion started by: teak
7 Replies
AU_BSM_TO_FCNTL_CMD(3)					   BSD Library Functions Manual 				    AU_BSM_TO_FCNTL_CMD(3)

NAME
au_bsm_to_fcntl_cmd, au_fcntl_cmd_to_bsm -- convert between BSM and local fcntl(2) command values LIBRARY
Basic Security Module Library (libbsm, -lbsm) SYNOPSIS
#include <bsm/libbsm.h> int au_bsm_to_fcntl_cmd(u_short bsm_fcntl_cmd, int *local_fcntl_cmdp); u_short au_fcntl_cmd_to_bsm(int local_fcntl_cmd); DESCRIPTION
These interfaces may be used to convert between the local and BSM fcntl(2) command values. The au_bsm_to_fcntl_cmd() function accepts a BSM command value, bsm_fcntl_cmd, and converts it to a local command value passed to fcntl(2), that will be stored in the integer pointed to by local_fcntl_cmdp if successful. This call will fail if the BSM command value cannot be mapped into a local fcntl(2) command value which may occur if the command token was generated on another operating system. The au_fcntl_cmd_to_bsm() function accepts a local fcntl(2) command value, and returns the BSM fcntl(2) command value for it. This call can- not fail, and instead returns a BSM command value indicating to a later decoder that the command value could not be encoded. RETURN VALULES
On success, au_bsm_to_fcntl_cmd() returns 0 and a converted command value; on failure, it returns -1 but does not set errno(2). SEE ALSO
fcntl(2), au_bsm_to_domain(3), au_domain_to_bsm(3), au_bsm_to_socket_type(3), au_socket_type_to_bsm(3), libbsm(3) HISTORY
au_bsm_to_domain() and au_domain_to_bsm() were introduced in OpenBSM 1.1. AUTHORS
These functions were implemented by Stacey Son under contract to Apple Inc. The Basic Security Module (BSM) interface to audit records and audit event stream format were defined by Sun Microsystems. BSD
March 5, 2009 BSD
All times are GMT -4. The time now is 03:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy