Can anyone tell me how/where to get the source code for the unix commands like "ls ,finger,cp....etc" commands . I
have tried very hard but failed so far.
Thanks
JAGDISH MACHHI (4 Replies)
I want to log into a remote server transfer over a new config and then backup the existing config, replace with the new config.
I am not sure if I can do this with BASH scripting.
I have set up password less login by adding my public key to authorized_keys file, it works.
I am a little... (1 Reply)
just curious -- I was wondering if it's possible to open the file for a command and look at the code (say for the command more). I've just read about the PATH variable and the type command to find out where the file is, but when I tried to open the file, the terminal exited and logged me out.
... (3 Replies)
Hi:
I have a requirement as below:
I have some standard Unix commands modified and kept them in a directory say /usr/clsh/bin. For example I have a script named "ls" kept here which is modified version of "ls" (say it always gives long listing i.e. ls -l).
When any user logs on and types... (2 Replies)
hi Folks!!
Just got a question in mind....
Is it possible for us to read the c code of the commands in the bin directory? I work on a LINUX server and i only see executables in the bin directory which i obviously can't read. Please help me regarding this.
Thanks in advance and wishing you a very... (2 Replies)
Hello All. I suspect that this will be a clear noob question, but I haven't been able to figure it out using the usual methods, so I turn to you.
I've written a script to create input files for the quantum chemistry program NWCHEM. Generally you create an input file and then execute it by... (12 Replies)
I need an if code in shell script where it should continue to further commands after succesfully installing the executable file.
i.e. /run installer is continuing but in the middle it executes further commands like "cp /root/user which were given after /run installer.
I want /runinstaller... (16 Replies)
Hi all,
I'm new in this forum.
I'm looking for the difference between the HACMP commands with the prefix "cl" and "cli".
The first type are under /usr/es/sbin/cluster/sbin directory and the second are under /usr/es/sbin/cluster/cspoc directory.
I know that the first are called HACMP for AIX... (0 Replies)
I have a korn shell script that executes a function which is stored in a common library. In the function there is obviously some code. Here is the line of code in the function in question:
temp=`echo $status_cnt|tr -d `
When the shell script executes with set -x, I'm seeing that on most... (2 Replies)
I am not able to run basic commands on my centos 7 server. The PATH variable looks correct I think. I have not seen this before and not sure what to do next. Thank you :).
# cd /usr/bin
# ls
bash: ls: command not found...
Similar command is: 'lz'
nano ~/.bashrc
bash: nano: command not... (6 Replies)
Discussion started by: cmccabe
6 Replies
LEARN ABOUT DEBIAN
sotransender
SoTranSender(3IV)() SoTranSender(3IV)()
NAME
SoTranSender -- sends database changes for transcription
INHERITS FROM
SoTranSender
SYNOPSIS
#include <Inventor/misc/SoTranscribe.h>
Methods from class SoTranSender:
SoTranSender(SoOutput *output)
~SoTranSender()
SoOutput * getOutput() const
void insert(SoNode *node)
void insert(SoNode *node, SoNode *parent, int n)
void remove(SoNode *parent, int n)
void replace(SoNode *parent, int n, SoNode *newNode)
void modify(SoNode *node)
void prepareToSend()
DESCRIPTION
This class is used for transcribing Inventor data. Transcription is the process of packaging changes to a database and sending them over a
"wire" to another database.
The SoTranSender class is used on the sending side of transcription. It packages up changes to a Inventor database into a file or memory
area defined by an SoOutput instance. It supports a limited set of changes to a database; each change is stored as a command in the tran-
scription area. The SoTranReceiver class can be used at the other end to interpret the transcribed commands.
METHODS
SoTranSender(SoOutput *output)
The constructor takes a pointer to an SoOutput instance that determines what the transcription area is (file or memory).
~SoTranSender()
Destructor.
SoOutput * getOutput() const
Returns pointer to current SoOutput instance.
void insert(SoNode *node)
Adds an INSERT command to the transcription area. The given node will be added as the last child of the root node on the receiving end.
void insert(SoNode *node, SoNode *parent, int n)
Adds an INSERT command to the transcription area. The given node will be added as the nth child of the given parent node on the receiv-
ing end. A NULL parent node causes the node to be added to the receiving end's root node.
void remove(SoNode *parent, int n)
Adds a REMOVE command to the transcription area. The nth child of the given (non-NULL) parent node on the receiving end will be removed.
void replace(SoNode *parent, int n, SoNode *newNode)
Adds a REPLACE command to the transcription area. The nth child of the given (non-NULL) parent node on the receiving end will be
replaced with newNode.
void modify(SoNode *node)
Adds a MODIFY command to the transcription area. Updates the field data for the given node to the new contents. Note that this changes
only field data; children of groups are not affected, nor is any non-field instance data.
void prepareToSend()
Prepares a SoTranSender instance for transcription, making sure the transcription area is complete and all packaged to go. This must be
called before the transcription can be performed.
SEE ALSO
SoOutput, SoTranReceiver
SoTranSender(3IV)()