10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I would like to use shc on SUN 5.10 SPARC and HP UX Itanium 11.31 so that I could do some encrypting on my shell scripts.
But on these machines I don"t have cc or gcc.
I find a man who can download shc.c and send me the binary files.
You can download it here :
www datsi fi upm es... (3 Replies)
Discussion started by: peg
3 Replies
2. Shell Programming and Scripting
Hello, I have some shellscripts internal company more by the need to conceal the code to protect passwords and others, we are using the SHC.
the shellscripts always worked without error, including cron.
after the SHC, if I run manually (. / shellscript) it works
if I put the same command... (3 Replies)
Discussion started by: c0i0t3
3 Replies
3. Shell Programming and Scripting
I am using the shc shell compiler, it works fine, just that when i execute it, it displays the code at the terminal. Is there any way to hide this as well? otherwise it beats the purpose of hiding the code.
Thanks ! (7 Replies)
Discussion started by: ysvsr1
7 Replies
4. Shell Programming and Scripting
I have two scripts test1.sh and test2.sh. test1.sh is calling test2.sh.
test2.sh is having some functions and password which we are using in test1.sh
test1.sh
#!/bin/sh
. test2.sh
echo "$test"test2.sh
#!/bin/sh
test=pravinO/P
pravin
Now use shc to protect my test2.sh and i modified... (5 Replies)
Discussion started by: pravin27
5 Replies
5. Shell Programming and Scripting
Hi all,
I'm trying to install shc on my clean solaris 10 so that I could do some encrypting on my shell scripts.
I've tried several ways but it gave me these error messages
# make
cc -Wall -O6 shc.c -o shc
cc: illegal option -Wall
*** Error code 1
make: Fatal error: Command failed... (6 Replies)
Discussion started by: solarisnoob
6 Replies
6. Shell Programming and Scripting
Hi all!
First of all, sorry for my poor english :-S
Well, I have some scripts in a SuSe server to encrypt... but all them must still working when I encrypt it, ok?
About the server, I have root access:
# id
uid=0(root) gid=0(root) groups=0(root)
# uname -a
Linux servername... (4 Replies)
Discussion started by: Magius
4 Replies
7. Programming
I have written a shell script called square, which prints the square of the input number, eg.
> square 4
16
There is a program called shc which compiles the shell scirpt and create a executable file and a c library file, namely square.x and square.x.c repectively.
If I would like to... (1 Reply)
Discussion started by: alfredo
1 Replies
8. UNIX for Advanced & Expert Users
Hi,
Ho do I differentiate system call from library call?
for example if I am using chmod , how do I find out if it is a system call or library call?
Thanks
Muru (2 Replies)
Discussion started by: muru
2 Replies
9. Shell Programming and Scripting
Hi folks,
I'm trying to organize functions in my ksh program into libraries.
If I run my program as any ksh user it will succeed.
Only when I run my program as tcsh user (i.e oracle) I failed.
Example
=======
The ksh code:
tornado:/tmp # cat nir.ksh
#! /bin/ksh
cdromPath=`pwd`... (1 Reply)
Discussion started by: nir_s
1 Replies
10. Shell Programming and Scripting
Has anyone ever gotten shc compiler program to work. I am trying to encrypt
a bash script on centos. When I run the command "shc -f test.sh", the binary actually gets created; however, when I try to run the binary I get the following the error:
# ./test.sh.x
./test.sh.x: No such file or... (1 Reply)
Discussion started by: cstovall
1 Replies
platform::shell(n) Tcl Bundled Packages platform::shell(n)
__________________________________________________________________________________________________________________________________________________
NAME
platform::shell - System identification support code and utilities
SYNOPSIS
package require platform::shell ?1.1.4?
platform::shell::generic shell
platform::shell::identify shell
platform::shell::platform shell
_________________________________________________________________
DESCRIPTION
The platform::shell package provides several utility commands useful for the identification of the architecture of a specific Tcl shell.
This package allows the identification of the architecture of a specific Tcl shell different from the shell running the package. The only
requirement is that the other shell (identified by its path), is actually executable on the current machine.
While for most platform this means that the architecture of the interrogated shell is identical to the architecture of the running shell
this is not generally true. A counter example are all platforms which have 32 and 64 bit variants and where a 64bit system is able to run
32bit code. For these running and interrogated shell may have different 32/64 bit settings and thus different identifiers.
For applications like a code repository it is important to identify the architecture of the shell which will actually run the installed
packages, versus the architecture of the shell running the repository software.
COMMANDS
platform::shell::identify shell
This command does the same identification as platform::identify, for the specified Tcl shell, in contrast to the running shell.
platform::shell::generic shell
This command does the same identification as platform::generic, for the specified Tcl shell, in contrast to the running shell.
platform::shell::platform shell
This command returns the contents of tcl_platform(platform) for the specified Tcl shell.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform::shell 1.1.4 platform::shell(n)