10-13-2009
Help w/ save and executing terminal actions
Hey everyone,
Being new to the deeper levels of OS X and UNIX I am hoping the bright minds on the board could push me in the right direction.
On a daily basis I work as a CG Generalist (creating 3D for film) and I am using a 3th party render engine with my main 3D program (Autodesk Maya) which in order to render needs a license issued.
Normally I would have to go thru the finder to the directory of the render engine and then open the terminal and drag two files into it -
the first file being a UNIX exe (Called licserver "License Server") and the other a .dat file (license.bat) and after pressing return it would issue my license and I can render.
This was okay to do the first 2 times until it got rather teadious and knowing that there is always a smarter way of doing it I looked into issuing the license from within Maya.
The way I imagined doing it would be as following:
In maya I would use it's native language (MEL) to execute a apple script which contained a "do shell script" command that would do what I did manually.
My questions is - is this a feasible way or could I do a "recording" of some sort of what I've been doing in there terminal and save it as a executable file ??
Again as I am new to the unix / Terminal element of os x I am not sure what I am looking for so any help would be greatly appreciated.
If I am not clear about some aspect or you need more information on it just let me know and I will post what you need.
Thanks in advance.
Sofus
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I would like to know if there is a way to see what a user is doing from another terminal.
I want to be able to see exactly what they see on their terminal.
Is that possible ? (4 Replies)
Discussion started by: silver40
4 Replies
2. Shell Programming and Scripting
Hi,
I am a beginner in unix shell scripting.
I wanted simple information like
1- How to know what are the number of command line options given for the script file?
2- How to check if a variable value is interger or string?
3- How to use awk to replace value of a variable
For example I... (5 Replies)
Discussion started by: Nads
5 Replies
3. Solaris
I have a window open on my ultra 10 - a terminal window connecting to a server.
Is there any way I can log all output to this window to a log file on my ultra 10 ? (2 Replies)
Discussion started by: frustrated1
2 Replies
4. HP-UX
Hi all
I hope to find what i'm looking for in this forum
as said in the topic i want to track user's actions on the system. i mean also the action of moving or removing files. I have an HP 9000 with HP UX 11i. the users log on the HP from a terminal window under WIndows XP
Thx (3 Replies)
Discussion started by: Timberland
3 Replies
5. Shell Programming and Scripting
hi there !
i have exactly the same problem like this guy here
https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Discussion started by: crabmeat
0 Replies
6. Shell Programming and Scripting
Hi have a script which transferers from Microsoft server to Linux box.
The scripts(ksh) is on Linux box.
If I run script from terminal, it transfers files to directory. Where as If
I run script from CRON. It does not.
Here is the log of both:
Terminal execution log:... (2 Replies)
Discussion started by: dipeshvshah
2 Replies
7. Shell Programming and Scripting
the problem statement is
Write a shell script, which gets executed the moment the user opens a terminal. It should display the message "Hello your_name, welcome to 172.16.4.120 server”
How to get around this? (2 Replies)
Discussion started by: arindamlive
2 Replies
8. Shell Programming and Scripting
I frequently use some commands, which I want to save in some file say myregularshell.shthese are the commands I use, I tried saving and executing, but couldn't get the preview of execution, and result is also not coming if I copy same commands and paste it on terminal result is coming
cd go... (2 Replies)
Discussion started by: Akshay Hegde
2 Replies
9. Shell Programming and Scripting
I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below:
Core Utilization
CoreId %Usr %Sys %Total
------ ----- ----- ------
5 4.91 0.01 4.92
6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies
LEARN ABOUT XFREE86
engine
ENGINE(1SSL) OpenSSL ENGINE(1SSL)
NAME
openssl-engine, engine - load and query engines
SYNOPSIS
openssl engine [ engine... ] [-v] [-vv] [-vvv] [-vvv] [-vvv] [-c] [-t] [-tt] [-pre command] [-post command] [ engine... ]
DESCRIPTION
The engine command is used to query the status and capabilities of the specified engine's. Engines may be specified before and after all
other command-line flags. Only those specified are queried.
OPTIONS
-v -vv -vvv -vvvv
Provides information about each specified engine. The first flag lists all the possible run-time control commands; the second adds a
description of each command; the third adds the input flags, and the final option adds the internal input flags.
-c Lists the capabilities of each engine.
-t Tests if each specified engine is available, and displays the answer.
-tt Displays an error trace for any unavailable engine.
-pre command
-post command
Command-line configuration of engines. The -pre command is given to the engine before it is loaded and the -post command is given
after the engine is loaded. The command is of the form cmd:val where cmd is the command, and val is the value for the command. See
the example below.
EXAMPLE
To list all the commands available to a dynamic engine:
$ openssl engine -t -tt -vvvv dynamic
(dynamic) Dynamic engine loading support
[ unavailable ]
SO_PATH: Specifies the path to the new ENGINE shared library
(input flags): STRING
NO_VCHECK: Specifies to continue even if version checking fails (boolean)
(input flags): NUMERIC
ID: Specifies an ENGINE id name for loading
(input flags): STRING
LIST_ADD: Whether to add a loaded ENGINE to the internal list (0=no,1=yes,2=mandatory)
(input flags): NUMERIC
DIR_LOAD: Specifies whether to load from 'DIR_ADD' directories (0=no,1=yes,2=mandatory)
(input flags): NUMERIC
DIR_ADD: Adds a directory from which ENGINEs can be loaded
(input flags): STRING
LOAD: Load up the ENGINE specified by other settings
(input flags): NO_INPUT
To list the capabilities of the rsax engine:
$ openssl engine -c
(rsax) RSAX engine support
[RSA]
(dynamic) Dynamic engine loading support
ENVIRONMENT
OPENSSL_ENGINES
The path to the engines directory.
SEE ALSO
config(5)
COPYRIGHT
Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.
Licensed under the OpenSSL license (the "License"). You may not use this file except in compliance with the License. You can obtain a
copy in the file LICENSE in the source distribution or at <https://www.openssl.org/source/license.html>.
1.1.1a 2018-12-18 ENGINE(1SSL)