Sponsored Content
Full Discussion: Can not find Machine SN
Operating Systems Solaris Can not find Machine SN Post 302994136 by Don Cragun on Sunday 19th of March 2017 05:07:26 PM
Old 03-19-2017
I don't remember a Solaris utility that provides that information, but a simple C program using the sysinfo() function with the command parameter set to SI_HW_SERIAL should get you what you want.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to find which machine ...

Hi friend, pls let me know .. 1)How to fine which UNIX machine Ex . whether it is 32 bit processor OR 64 bit processor .. 2) HP-ux is machine or Architectural ? pls replay as soon as possible .. Thanks.. (3 Replies)
Discussion started by: premnathk
3 Replies

2. Programming

trying to find number of caches on a machine

I am trying to find the number of caches on a machine programatically. #include <stdio.h> #include <malloc.h> int main(void) { int *ptr,*ptr1,i,j; j=0; i=1; printf("Changing allocation with brk()\n"); while(1) { for(j=0;j<i;j++) { ptr =... (1 Reply)
Discussion started by: jacques83
1 Replies

3. Shell Programming and Scripting

How to Find JRE installed in linux machine..?

Hi all, Im new to linux... Im in need to write a shell script to check wthr JRE in linux machine... Wtz de best way to find thru BASH?? Plz help me out to solve this issue... Thanks (3 Replies)
Discussion started by: XivaX
3 Replies

4. Red Hat

To find the LATEST file from a dir on REMOTE machine and SCP to local machine?

Hi All, URGENT - Please help me form a scipt for this: I need the LATEST file from a dir on REMOTE machine to be SCP'd to a dir on local machine. (and I need to execute this from local server) I know that the below cmd is used to find the LATEST file from a dir. But this command is not... (3 Replies)
Discussion started by: me_ub
3 Replies

5. UNIX for Advanced & Expert Users

how to find out if a port is available on a remote machine?

hi, I can ping into another unix machine, but I cannot seem to access a certain application. I think it might be because I am now allowed to connect to the port (because of firewall configuration). How can I find out if I have access to a port on another machine? thanks (2 Replies)
Discussion started by: JamesByars
2 Replies

6. AIX

How to Find if AIX machine is LPar or not

Hi, I want to know if there is any command which will tell me if an AIX machine is a LPar or not. I am using "lparstat -i" but it does not work on all AIX machines. Is there any generic command by whose output I will come to know if it is an LPar or not? Please help. Thanks, Vineet (3 Replies)
Discussion started by: vineetd
3 Replies

7. UNIX for Dummies Questions & Answers

How can I find one file in other machine?

Hi all, I logged in one machine. I want to find one file in other machine. However, I don't know exactly which and where the machine is. I used nmap command to search all available hosts in this network range. I got two available machines through this action. But I still can't find the file I want... (8 Replies)
Discussion started by: w062611
8 Replies

8. AIX

find nim server of a machine

Hi, i would like to know how can i find , in a client machine , the nim server. the nim server that this machine have , if the machine have it Thanks :confused: (1 Reply)
Discussion started by: prpkrk
1 Replies

9. Windows & DOS: Issues & Discussions

find wwn in windows machine ?

Hi guys .. How to can I know the HBA WWN address in the windows machine ? Pls advice with command ... (1 Reply)
Discussion started by: roooooot
1 Replies
command(1)						      General Commands Manual							command(1)

NAME
command - execute a simple command SYNOPSIS
command_name [argument ...] DESCRIPTION
enables the shell to treat the arguments as a simple command, suppressing the shell function lookup. If command_name is not the name of the function, the effect of is the same as omitting command. Operands recognizes the following operands: command_name The name of a HP-UX command or a shell built-in command. argument One or more strings to be interpreted as arguments to command_name. The command is necessary to allow functions that have the same name as a command to call the command (instead of a recursive call to the function). Nothing in the description of is intended to imply that the command line is parsed any differently than any other simple command. For example, is not parsed in any special way that causes or to be treated other than a pipe operator or semicolon or that prevents function lookup on b or c. EXTERNAL INFLUENCES
Environment Variables determines the search path used during the command search. RETURN VALUE
exits with one of the following values: o If fails: 126 The utility specified by the command_name is found but not executable. 127 An error occurred in the utility or the utility specified by command_name is not found. o If does not fail: The exit status of is the same as that of the simple command specified by the arguments: command_name[argument ...] EXAMPLES
Create a version of the command that always prints the name of the new working directory whenever it is used: cd() { command "$@" >/dev/null pwd } Circumvent the redefined command above, and change directories without printing the name of the new working directory: SEE ALSO
getconf(1), sh-posix(1), confstr(3C). STANDARDS CONFORMANCE
command(1)
All times are GMT -4. The time now is 01:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy