11-28-2000
Syntax does vary slightly so make sure you do a <B>man</B> on the command first when on a new platform (very important if you are the superuser). Also, don't forget that aliases in the shell that may be found in <B>/etc/profile</B> and other similar files/places may dramatically change command line behavior.
Many folks routinely create aliases for their favorite shell commands "cross-platform" so that commands will be uniform when they login across many different platforms or hop from one terminal to the next.
Also, make sure that you include the name of the platform in the login prompt shell variable so that you will easily remember what platform you are on when remotely logging in across many systems.
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
UNIX comes in the most widest and broadest of functionalities and versions. Might be a good idea to:
1. introduce some vendor specific forums: e.g. HP-UX, Linux, AIX etc.
2. create more forums directed at core functionalities: e.g.: networking (already there), LVM, 3rd party applications... (1 Reply)
Discussion started by: patvdv
1 Replies
2. Programming
:) Hello, i have been given the following code to help me learn how to use signals, it won't compile. The problem maybe because this was written for use in Unix and i am trying to compile in Linux.
The error i get says that SIGPIPE and SIG_IGN are undeclared.
I think that these are defined... (2 Replies)
Discussion started by: theultimatechuf
2 Replies
3. Shell Programming and Scripting
Hi,
I've been charged with the task of finding out whether the scripts which we use on our current DYNIX (Sequent) UNIX box will continue to run happily on our soon-to-be-installed Sun Solaris box.
I'm fairly certain that they'll be OK, but I've heard mutterings about awk running differently... (2 Replies)
Discussion started by: pbritta
2 Replies
4. UNIX for Dummies Questions & Answers
I wanna to install a COBOL on the AIX unix server. Would u like to tell me the disk usage of COBOL installation?
Thanks in advance. (2 Replies)
Discussion started by: GCTEII
2 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
I would like to know why is there so many different kind of unix systems like IBM AIX, SUN Solaris and so on..
What are the issues that we would considering choosing a Unix system?
Newbie to Unix, thus this question (2 Replies)
Discussion started by: vincente
2 Replies
6. HP-UX
hi, just starting to learn about unix in school. got stuck on shell script chapter and need some help i completed task one but the other four is byond me.
Task 1) Write a shell script/program called dow that takes no arguments and displays just the current day of the week in lower case (i.e.... (2 Replies)
Discussion started by: wesleywu
2 Replies
7. UNIX for Advanced & Expert Users
I checked unix.org but did not find any link where i can download basic unix flavour. any idea from where i can download unix.
thanks in advance.
- nilesh (14 Replies)
Discussion started by: ynilesh
14 Replies
8. UNIX for Dummies Questions & Answers
Hello everyone,
Just started UNIX today! In our school we use solaris. I just want to know how do I setup Solaris 10 not the GUI one, the one where you have to type the commands like ECHO, ls, pwd, etc... I have windows xp and I also have vmware.
I hope I am not missing anything! :p (4 Replies)
Discussion started by: Hanamachi
4 Replies
9. Shell Programming and Scripting
Hello everyone,
I am having to do a lot of perl scripting these days and I am learning a lot.
I have this problem
I want to move files from a folder and all its sub folders to one parent folder, they are all .gz files..
there is folder1\folder2\*.gz
and there are about 50 folders... (1 Reply)
Discussion started by: xytiz
1 Replies
10. UNIX for Dummies Questions & Answers
Hi all,
I am sure this is very simple but I cant quite get it.
I am trying to search textfile1.txt for a string then take the results of the search and append the result to textfile3.txt
So far I have used
$ find file1.txt -exec grep "string i am looking for" '{}' \; -print
this... (2 Replies)
Discussion started by: radgator
2 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)