Sponsored Content
Operating Systems OS X (Apple) Don't understand the practical difference between command aliases and environmental variables Post 302964095 by scrutinizerix on Sunday 10th of January 2016 06:29:24 AM
Old 01-10-2016
Wow, thanks for such an extended and prompt reply, sir. Definitely my set of questions considering this not exhausted so will return here frequently.
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

i don't understand the "sort" command

i have been trying to understand this chapter titled "Searching for Files and Text" for a few weeks now. unfortunately, this chapter is one of those things, that no matter how hard you try and how long you try for, you are incapable of understanding (at least in my case) this entire chapter,... (2 Replies)
Discussion started by: xyyz
2 Replies

2. UNIX for Advanced & Expert Users

Environmental Variables - where stored ?

Hi all ! Yesterday I defined an environmental variable PATH, but today when I restarted machine, I could not see that it was stored any place. Is there any file where I could save the settings ? I have quite a few env.variables defined, so I need a smarter way to define. regards D (5 Replies)
Discussion started by: DGoubine
5 Replies

3. Shell Programming and Scripting

don't understand a command "."

Hi all, I have a script with those two lines : test -f $PWD/mysetup.txt . $PWD/mysetup.txt I understand the first one, but could anyone explain me the role of the second one? All the thing I find is the usage : Thx in advance (3 Replies)
Discussion started by: Moumou
3 Replies

4. Shell Programming and Scripting

[bash] command line substitution with environmental variables

Hi, I'm using an array that contains compiler FLAGS that need to be executed either before ./configure or after the main 'make' command. example of array containing compiler flags. ------------------------------------------------- FLAGS="CFLAGS=\"-arch x86_64 -g -Os -pipe... (7 Replies)
Discussion started by: ASGR
7 Replies

5. AIX

Best way to setup my own environmental variables ?

I am writing a few korn scripts to be used by all our operators on several 4.1/4.2 AIX servers. I want to create environmental variables that once set, can be read/modified by my scripts (ex: specific folders, file names, conventions, general values, ...). I thought this would be better then... (4 Replies)
Discussion started by: Browser_ice
4 Replies

6. Homework & Coursework Questions

I don't understand some basics..

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: 1)find all lines in file ,myf that contain all the words cat dog and mouse in any order and start with the letter... (1 Reply)
Discussion started by: cudders
1 Replies

7. UNIX for Dummies Questions & Answers

Another Simple BASH command I don't understand. Help?

I have a text file called file1 which contains the text: "ls -l" When I enter this command: bash < file1 > file1 file1 gets erased. However if I enter this command: bash < file1 > newfile the output from "ls -l" is stored in newfile. My question is why doesn't file1's text ("ls -l") get... (3 Replies)
Discussion started by: phunkypants
3 Replies

8. UNIX for Dummies Questions & Answers

I don't understand conditions :(

Hi there, I have a very general question. I'm rather new to (bash) shell scripting and I don't understand how conditions work... I've read numerous tutorials but I don't get it. I really don't. Sometime what I do works, sometime it doesn't and that's frustating. So what's the actual difference... (0 Replies)
Discussion started by: hypsis
0 Replies
LOG_REPLY(3)								 1							      LOG_REPLY(3)

log_reply - Callback When Reading the MongoDB reply

SYNOPSIS
log_reply (array $server, array $messageHeaders, array $operationHeaders) DESCRIPTION
A callable function, used by the log_reply context option, when reading a reply from MongoDB. Note This is not a real function, only a prototype of how the function should be. PARAMETERS
o $server - An array containing the basic information about the server that was picked. +-----------------+---------------------------------------------------+ | key | | | | | | | value | | | | +-----------------+---------------------------------------------------+ | hash | | | | | | | server hash, example: localhost:27017;-;X;56052 | | | | | type | | | | | | | Node type (primary/secondary/mongos/arbiter): 2 | | | | | max_bson_size | | | | | | | The maximum BSON Size over the wire this node | | | accepts: 16777216 | | | | |max_message_size | | | | | | | The maximum Message Size over the wire this node | | | accepts: 48000000 | | | | | request_id | | | | | | | The request identifier for this message: 42 | | | | +-----------------+---------------------------------------------------+ o $messageHeaders - +------------+---------------------------------------------------+ | key | | | | | | | value | | | | +------------+---------------------------------------------------+ | length | | | | | | | integer, bytes, message reply length | | | | |request_id | | | | | | | integer, the server request identifier | | | | |response_id | | | | | | | integer, the driver request identifier this mes- | | | sage is a response of | | | | | opcode | | | | | | | integer, the opcode id | | | | +------------+---------------------------------------------------+ o $operationHeaders - +----------+---------------------------------------------------+ | key | | | | | | | value | | | | +----------+---------------------------------------------------+ | flags | | | | | | | integer, bitmask of protocol flags | | | | |cursor_id | | | | | | | integer, ID of the cursor created on the server | | | (0 if none created, or its been exhausted) | | | | | start | | | | | | | The starting offset of this cursor | | | | |returned | | | | | | | integer, how many documents are returned in this | | | trip | | | | +----------+---------------------------------------------------+ SEE ALSO The OP_REPLY definition in the Wire Protocol. PHP Documentation Group LOG_REPLY(3)
All times are GMT -4. The time now is 02:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy