04-16-2002
Mac OS X & Unix.
Are the Terminal commands used in Mac OS 10.1.3 the same as those found on a real Unix system? if they are, what book would you recommend as a terminal refferance guide?
I already have 'The Missing Manual' by O'Reilly, but there ain't much in terms of managing the system via the terminal
Many Thanks.
6 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Could someone recommend a good book? Regarding Unix and Mac os X? I know the OS is new, but Unix ain't.
I would like to know more about setting up the webserver on my machine. All the HTML works fine, it's just when i try to execute a cgi, php or a pl script.. :( I have tried and tried to... (2 Replies)
Discussion started by: Chojin
2 Replies
2. UNIX Desktop Questions & Answers
ehe may i know what are the difference between Unix & Linux, and what are the advantages of having Unix as well as disadvantages of having Unix or if u dun mind i am dumb do pls tell me what are the advantages as well as the disadvantages of having linux as well. thanks (1 Reply)
Discussion started by: cybertechmkteo
1 Replies
3. OS X (Apple)
:confused: = :mad: = :eek: = We have the answear ;) (1 Reply)
Discussion started by: i[c]e
1 Replies
4. OS X (Apple)
I just joined the Forum a few days ago! :) I have a mac book and decided to look under the hood. Low and behold, UNIX! To be honest, I know nothing about unix, but I want to learn. I have no real goals as of yet, other than to learn what I can. I do own a few domains hosted by a good company. ... (4 Replies)
Discussion started by: fellojello
4 Replies
5. Shell Programming and Scripting
Hi
What is the syntax for if statement using && and || operator?
if && ] ||
here its giving me an error to this if statement
any suggestion?? (2 Replies)
Discussion started by: Avi
2 Replies
6. UNIX for Dummies Questions & Answers
Hi!
I wanted to simplify my bash prompt, so I edited my etc/bashrc file. I thought this was the file that would override any other env files. When I opened it, I saw that the way it was setup was not what my prompt looked like, although I forget exactly what was there. But i edited it the way I... (1 Reply)
Discussion started by: sudon't
1 Replies
PTS(4) Linux Programmer's Manual PTS(4)
NAME
ptmx, pts - pseudo-terminal master and slave
DESCRIPTION
The file /dev/ptmx is a character file with major number 5 and minor number 2, usually of mode 0666 and owner.group of root.root. It is
used to create a pseudo-terminal master and slave pair.
When a process opens /dev/ptmx, it gets a file descriptor for a pseudo-terminal master (PTM), and a pseudo-terminal slave (PTS) device is
created in the /dev/pts directory. Each file descriptor obtained by opening /dev/ptmx is an independent PTM with its own associated PTS,
whose path can be found by passing the descriptor to ptsname(3).
Before opening the pseudo-terminal slave, you must pass the master's file descriptor to grantpt(3) and unlockpt(3).
Once both the pseudo-terminal master and slave are open, the slave provides processes with an interface that is identical to that of a real
terminal.
Data written to the slave is presented on the master descriptor as input. Data written to the master is presented to the slave as input.
In practice, pseudo-terminals are used for implementing terminal emulators such as xterm(1), in which data read from the pseudo-terminal
master is interpreted by the application in the same way a real terminal would interpret the data, and for implementing remote-login pro-
grams such as sshd(8), in which data read from the pseudo-terminal master is sent across the network to a client program that is connected
to a terminal or terminal emulator.
Pseudo-terminals can also be used to send input to programs that normally refuse to read input from pipes (such as su(1), and passwd(1)).
FILES
/dev/ptmx, /dev/pts/*
NOTES
The Linux support for the above (known as Unix98 pty naming) is done using the devpts file system, that should be mounted on /dev/pts.
Before this Unix98 scheme, master ptys were called /dev/ptyp0, ... and slave ptys /dev/ttyp0, ... and one needed lots of preallocated
device nodes.
SEE ALSO
getpt(3), grantpt(3), ptsname(3), unlockpt(3), pty(7)
COLOPHON
This page is part of release 3.27 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
Linux 2002-10-09 PTS(4)