I have some basic doubts. Can someone clarify in this forum?
1)if
then
eval ' tset -s -Q -m ':?hp' '
else
eval ' tset -s -Q '
what does it exactly mean in .profile?
2) what are 'nobody' and 'noaccess' usernames in /etc/passwd file.
... (3 Replies)
Hello all. Let me start off by saying I know a little more then it seems by me asking this question... here goes
I have an old 486 box and I want to start messing around with unix. I've been taking classes for 3 or 4 years in c programming in unix, so I am used to the commands and such, but I... (1 Reply)
Could someone tell me the command to find out the OS version which will give 12 character not the 9 characters(which is usually machine id).
uname -i gives machine id and uname -a is more comprehensive way to look.
Thanks! (4 Replies)
hi,
I have a basic question,,
i am in a directory called
/intas/OCU_3.9.1/sbin
ocuut1@france>mv itsa_tcs itsa_tcs_old
mv: itsa_tcs_old: rename: Permission denied
i am logging as the owner of the file.
when i am doing this i am getting the above error of permission denied.
I know... (3 Replies)
i'm doing this in one terminal:
nc -lu 7402
and it appears to start listening properly, then in another i do this:
echo "hello" | nc -u localhost 7402
and nothing happens on the listening terminal - what am i doing wrong?
thanks. (7 Replies)
I'm trying to approach a problem but all I'm coming up with are complex ways to manipulate the data. But still not getting the desired outcome.
directory of files....
file-100-foo
file-100-man
file-100-chu
Need to copy the files and increment the number in the file name
... (4 Replies)
Hi guys,
I am really new to Solaris. My question is about the patching package management. Now I was provided some old packages within that there are hard-coded codes written with commands like "patchadd", so anyway I can make them work with Solaris 11?
Cheers! (8 Replies)
Discussion started by: ethanzhou
8 Replies
LEARN ABOUT OPENSOLARIS
showrev
showrev(1M) System Administration Commands showrev(1M)NAME
showrev - show machine, software revision, and patch revision information
SYNOPSIS
/usr/bin/showrev [-a] [-p | -p -R root_path] [-w]
[-c command] [-s hostname]
DESCRIPTION
showrev displays revision information for the current hardware and software. With no arguments, showrev shows the system revision informa-
tion including hostname, hostid, release, kernel architecture, application architecture, hardware provider, domain, and kernel version.
If a command is supplied with the -c option, showrev shows the PATH and LD_LIBRARY_PATH and finds out all the directories within the PATH
that contain it. For each file found, its file type, revision, permissions, library information, and checksum are printed as well.
OPTIONS
The following options are supported:
-a Print all system revision information available. Window system and patch information are added.
-c command Print the revision information about command.
-p Print only the revision information about patches.
-R root_path Define the full path name of a directory to use as the root_path. By specifying the root path, showrev retrieves the revi-
sion information about the patch from package system information files located under a directory tree starting at
root_path. The root_path can be specified when retrieving installed patch information in a client from a server, for exam-
ple, /export/root/client1.
Note -
The root file system of any non-global zones must not be referenced with the -R option. Doing so might damage the global
zone's file system, might compromise the security of the global zone, and might damage the non-global zone's file system.
See zones(5).
-s hostname Perform this operation on the specified hostname. The -s operation completes correctly only when hostname is running
Solaris 2.5 or compatible versions.
-w Print only the OpenWindows revision information.
OUTPUT
Varies, based on flags passed. If no flags are passed, output similar to the following appears:
Hostname: system1
Hostid: 7233808e
Release: 5.10
Kernel architecture: sun4u
Application architecture: sparc
Hardware provider: Sun_Microsystems
Domain: a.network.COM
Kernel version: SunOS 5.10 generic
EXIT STATUS
The following error values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWadmc |
+-----------------------------+-----------------------------+
SEE ALSO arch(1), ldd(1), mcs(1), sum(1), patchadd(1M), attributes(5)BUGS
For the -s option to work when hostname is running a version of Solaris prior to 2.5, the Solstice AdminSuite must be installed on host-
name.
SunOS 5.11 6 Apr 2005 showrev(1M)