02-24-2011
standardizing shell script
hi...
I want some tips for standardizing shell script code...
Last edited by xerox; 02-24-2011 at 09:41 AM..
Reason: missed title
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm running a small FreeBSD 5.1 system @ home. Whenever you log in with a normal account (not root) the system displays a random tip (commands, etc.) after the MOTD. I'd like to turn this feature off so that my custom MOTD fits on one screen. Is this posible at all? (3 Replies)
Discussion started by: McFlashbang
3 Replies
2. Tips and Tutorials
Tips and Tutorials was created partially as an overflow from our Answers to Frequently Asked Questions. We noticed that some of the info in that forum did not really answer a question that is frequently asked. We want to keep the FAQ forum small so that it is easily browsed. Also, a few users... (0 Replies)
Discussion started by: Perderabo
0 Replies
3. Solaris
hi all...
I need to know, how I can create a log when the user loggin and logout...day and hour....any person help me.....
thank you (7 Replies)
Discussion started by: chanfle
7 Replies
4. Red Hat
Hi,
I am working on a linux install to a desktop pc and will configure this onto our main server once happy with the functions etc.
I am actually a HP and AIX sys admin and was looking for the best ways to:
create a bootable file that can be copied to dvd-rw / cd-rw or to dds
be able to... (8 Replies)
Discussion started by: chlawren
8 Replies
5. Solaris
I am wanting to use pca to update my solaris 10 server.
I have figured out how to give it my SOA credentials, set it to auto update the pca tool and ignore a few patches I don't want to do. I have also ran:
pca -l missingrs
to list all available patches I need in the recommended and... (2 Replies)
Discussion started by: NewSolarisAdmin
2 Replies
6. Post Here to Contact Site Administrators and Moderators
What do you think could we open new top topic with tips and tricks and to show to other users some tricks what do we know like dtrace , new virtual server , how to add new users etc.
This is only suggestion (1 Reply)
Discussion started by: solaris_user
1 Replies
7. UNIX for Dummies Questions & Answers
Hi all,
Just writing to ask if any one can advise on what tools to use best for maintaining your scripts ... preferably free/open source and portable if there is one, that is, one that can be placed and run on a USB stick ...
At the moment, am having them in directories and files and no... (2 Replies)
Discussion started by: newbie_01
2 Replies
8. UNIX for Beginners Questions & Answers
Vim Tips and Tricks
Save and quit
:w => Save
:q => Exit as long as there have been no changes
:q! => Exit and ignore any changes
:wq => Save and Exit.
:x => Exit, saving changes
ZZ => Exit and save changes if any have been made
:10,20w filename => writes the... (34 Replies)
Discussion started by: ungalnanban
34 Replies
LEARN ABOUT MOJAVE
platform::shell
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)