WHAT(1) BSD General Commands Manual WHAT(1)NAME
what -- show what versions of object modules were used to construct a file
SYNOPSIS
what [-qs] [file ...]
DESCRIPTION
The what utility searches each specified file for sequences of the form ``@(#)'' as inserted by the SCCS source code control system. It
prints the remainder of the string following this marker, up to a NUL character, newline, double quote, '>' character, or backslash.
The following options are available:
-q Only output the match text, rather than formatting it.
-s Stop searching each file after the first match.
EXIT STATUS
Exit status is 0 if any matches were found, otherwise 1.
SEE ALSO ident(1), strings(1)STANDARDS
The what utility conforms to IEEE Std 1003.1-2001 (``POSIX.1''). The -q option is a non-standard FreeBSD extension which may not be avail-
able on other operating systems.
HISTORY
The what command appeared in 4.0BSD.
BUGS
This is a rewrite of the SCCS command of the same name, and behavior may not be identical.
BSD December 14, 2006 BSD
Check Out this Related Man Page
UNAME(1) BSD General Commands Manual UNAME(1)NAME
uname -- display information about the system
SYNOPSIS
uname [-aiKmnoprsUv]
DESCRIPTION
The uname command writes the name of the operating system implementation to standard output. When options are specified, strings represent-
ing one or more system characteristics are written to standard output.
The options are as follows:
-a Behave as though the options -m, -n, -r, -s, and -v were specified.
-i Write the kernel ident to standard output.
-K Write the FreeBSD version of the kernel.
-m Write the type of the current hardware platform to standard output.
-n Write the name of the system to standard output.
-o This is a synonym for the -s option, for compatibility with other systems.
-p Write the type of the machine processor architecture to standard output.
-r Write the current release level of the operating system to standard output.
-s Write the name of the operating system implementation to standard output.
-U Write the FreeBSD version of the user environment.
-v Write the version level of this release of the operating system to standard output.
If the -a flag is specified, or multiple flags are specified, all output is written on a single line, separated by spaces.
The -K and -U flags are intended to be used for fine grain differentiation of incremental FreeBSD development and user visible changes.
ENVIRONMENT
An environment variable composed of the string UNAME_ followed by any flag to the uname utility (except for -a) will allow the corresponding
data to be set to the contents of the environment variable.
EXIT STATUS
The uname utility exits 0 on success, and >0 if an error occurs.
SEE ALSO feature_present(3), getosreldate(3), sysctl(3), uname(3), sysctl(8)STANDARDS
The uname command is expected to conform to the IEEE Std 1003.2 (``POSIX.2'') specification.
HISTORY
The uname command appeared in PWB UNIX.
The -K and -U extension flags appeared in FreeBSD 10.0.
BSD November 20, 2013 BSD
Looking at the member list, there are alot of interesting names, some unique, some bizarre, and some that are just plain. How did you come by your name? Why did you choose your label?
Me? Well, I wish I could change mine. I chose Google because thats how I stumbled upon this site. I wasn't sure... (66 Replies)
Since Neo has a thread going on what everyone likes to eat, I thought I'd start one on what everyone likes to drink on an evening out.
Post details for your choice if you can.
I go for beer - Beck's if I can get it. Foster's back in India.
If I am breaking any rules, please delete the... (65 Replies)
OK, please vote on your favorite web browser and comment why!
Only currently supported browers please!
Thanks.
PS: I am a big FireFox fan. FireFox add-ons rock! (61 Replies)
What is your favorite Linux distro?
and possibly why?
Personally, I have Fedora 3 on my computer. I have used Ubuntu and Slackware, too. But I think I liked Ubuntu more, maybe because of its speed and easy installation of packages. (192 Replies)
I was looking through the topics and I wasn't sure if this was the best place to post this question:
I was wondering, out of curiosity, which software everyone was using to code their scripts in. I do mostly sh/ksh and my favorite has always been EditPlus because it is small, fast, yet powerful.... (409 Replies)