08-17-2002
Basic information please.
Good day all.
I was glad to find this site. I am not new to computing as I have been in the field sense 1986 but my experience has almost all been with Windows systems. I garbed a book and managed to get a UNIX box running FreeBSD for my mail server and I'm serving 3 web sites off of two Win-98 systems and I have a block of IP's.
I have two partners in the business, One in EU and one nine states away. I am looking for a way for them to be able to access the UNIX systems here from there windows systems to admin it.
I am in the process of learning how to move the web hosting to the UNIX box so it is all in one place as I understand one can assign the different domains that are pointed to different IP's and UNIX can sort them out.
I just do not readily see the best interface for a Win-98 system to admin the UNIX box. Can you all help me out here?
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi,
I am pretty new both to unix and this forum, can anyone help me to give shortcuts to my commands...
eg:-
instead of "cd /usr/bin"
i want to to give " bin " and get to that path.
I'm using HP-UX 11.0
abey (2 Replies)
Discussion started by: abey
2 Replies
2. What is on Your Mind?
hi,
I am pretty new both to unix and this forum, can anyone help me to give shortcuts to my commands...
eg:-
instead of "cd /usr/bin"
i want to to give " bin " and get to that path.
I'm using HP-UX 11.0
abey (2 Replies)
Discussion started by: abey
2 Replies
3. HP-UX
Hi Guys,
I very new to bt-basic even I got 8 years experience on UNIX. I searched through google about bt-basic but nothing really give me solid documentation. Anybody have documentation or manual for this bt-basic? Pls help me (2 Replies)
Discussion started by: shahru
2 Replies
4. UNIX for Dummies Questions & Answers
Hi everyone, I need some help! I know that this is a very simple little problem but I seem to be stuck. I was just wondering if you could show me the right way.
I basicly have to write a single line of commands (using piping) to do the following:
From the file data.txt, select all of the... (2 Replies)
Discussion started by: itk
2 Replies
5. UNIX for Dummies Questions & Answers
I know this is pretty basic, but i cant figure it out to save my life. i want it to ask for a variable, as long as that variable isnt -/0 i want it to print out the area. else if the variable is -/0, i want it to print out invalid entry. the only problem is it will still try to print out the... (1 Reply)
Discussion started by: cookiebooy
1 Replies
6. Solaris
How do I use ls and grep together to count a certain number of files in a directory?
-Thanks (1 Reply)
Discussion started by: secno
1 Replies
7. Android
I am thinking of developing an app' for Android mobile devices...
Two questions here:-
1) Does anyone _develop_ for the Android _mobile_ platform?
If so do you use OSX 10.7.5 or greater as your _development_platform_?
2) I know ********* is gonna say that the Android terminal/shell is... (13 Replies)
Discussion started by: wisecracker
13 Replies
8. UNIX for Dummies Questions & Answers
Hi ,
I need to know the difference between $((command)) and $(command) and $(($(command))).
"" and '' and ``.
I have tried searching the help files but cant able to find this.
Could you let me knoq about any document.
Thanks (4 Replies)
Discussion started by: Raj999
4 Replies
LEARN ABOUT PHP
php_uname
PHP_UNAME(3) 1 PHP_UNAME(3)
php_uname - Returns information about the operating system PHP is running on
SYNOPSIS
string php_uname ([string $mode = "a"])
DESCRIPTION
php_uname(3) returns a description of the operating system PHP is running on. This is the same string you see at the very top of the
phpinfo(3) output. For the name of just the operating system, consider using the PHP_OS constant, but keep in mind this constant will con-
tain the operating system PHP was built on.
On some older UNIX platforms, it may not be able to determine the current OS information in which case it will revert to displaying the OS
PHP was built on. This will only happen if your uname() library call either doesn't exist or doesn't work.
PARAMETERS
o $mode
-$mode is a single character that defines what information is returned:
o 'a': This is the default. Contains all modes in the sequence "s n r v m".
o 's': Operating system name. eg. FreeBSD.
o 'n': Host name. eg. localhost.example.com.
o 'r': Release name. eg. 5.1.2-RELEASE.
o 'v': Version information. Varies a lot between operating systems.
o 'm': Machine type. eg. i386.
RETURN VALUES
Returns the description, as a string.
EXAMPLES
Example #1
Some php_uname(3) examples
<?php
echo php_uname();
echo PHP_OS;
/* Some possible outputs:
Linux localhost 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686
Linux
FreeBSD localhost 3.2-RELEASE #15: Mon Dec 17 08:46:02 GMT 2001
FreeBSD
Windows NT XN1 5.1 build 2600
WINNT
*/
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
echo 'This is a server using Windows!';
} else {
echo 'This is a server not using Windows!';
}
?>
There are also some related Predefined PHP constants that may come in handy, for example:
Example #2
A few OS related constant examples
<?php
// *nix
echo DIRECTORY_SEPARATOR; // /
echo PHP_SHLIB_SUFFIX; // so
echo PATH_SEPARATOR; // :
// Win*
echo DIRECTORY_SEPARATOR; //
echo PHP_SHLIB_SUFFIX; // dll
echo PATH_SEPARATOR; // ;
?>
SEE ALSO
phpversion(3), php_sapi_name(3), phpinfo(3).
PHP Documentation Group PHP_UNAME(3)