Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Dummie Question, Can anyone take a screen shot of a UNIX system? Post 5600 by ober5861 on Friday 17th of August 2001 12:22:39 PM
Old 08-17-2001
Unix/Linux can look like nearly anything you want it to look like. There are GUIs that can make it look nearly exactly like Windows, but I think any *NIX guru will tell you that the power contained in any of these systems stems from the command line. I find that I get the most work done from the command prompt in the text-only portion of the OS, or in a terminal within the GUI.

Hence, it CAN look and feel like windows, but I would suggest that the best description is something like a super-DOS.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Dummie Please Help With Unix And Win Xp

Please help : I have a question i am just starting to study UNIX and i need some advice,as my teacher isn,t the helpful type. I have just formatted my pc and partitioned it with win98 and winxp, do i need to create a partion for UNIX ??? OR is UNIX run in whatever partion i want it ???? Will... (6 Replies)
Discussion started by: DAFFYY30
6 Replies

2. IP Networking

I have some question on unix system

Dear all, If I login to a Unix system (general user account), will the unix system generate a history file? If positve, will it stored the IP adress also? Thanks and Regards Penny Li ;) (2 Replies)
Discussion started by: PennyLi
2 Replies

3. UNIX for Dummies Questions & Answers

Dummie question on ping (loopback)

what's the point of having loopback when you can just ping your local ip address? for example if my ip is 1.1.1.1, why can't i just do ping 5 1.1.1.1 instead of ping 5 127.0.1.1? it seems to me the only point in having it is for the sake of convenience? (2 Replies)
Discussion started by: jinduy
2 Replies

4. UNIX for Dummies Questions & Answers

unix screen shot

i would like to see an unix screen shot if anyone could take a screen shot of unix (7 Replies)
Discussion started by: royal
7 Replies

5. UNIX for Dummies Questions & Answers

screen resolution for a SPARC system

I have installed Solaris 10 on SPARC system (Ultra 5) And I'm using Acer AL1715 LCD monitor. The screen resolution is not just right. How to change the resolution Thanks in advance. (1 Reply)
Discussion started by: chaandana
1 Replies

6. OS X (Apple)

Please look at this screen shot: How do I remove this lock icon?!

RESOLVED in the screen shot I'd like to remove the lock sandwiched between the spaces indicator and the monitor icon, how do I get rid of it? It locks the screen and I cannot remember how it came to be http://guptaxpn.com/tmp/lock_icon_screenshot.png Thanks for your help! (3 Replies)
Discussion started by: guptaxpn
3 Replies

7. Programming

question about empty directories in unix system

how is it possible for a directory to be empty and still have a size greater than 0 in bytes... i made a shell script that shows info about all files/directories and this is what came up the last one is the size, here its showing 1024 in the for loop i did something like for h in * .*; do ... (4 Replies)
Discussion started by: omega666
4 Replies

8. UNIX for Dummies Questions & Answers

Unix directory system calls question

I'm currently studying for my exam, and is practicing with sample exam questions. However there is a question asking "Name THREE UNIX Directory system calls" and the answer given is "opendir, closedir and readdir", however the next question ask "Why is a write directory system call not included... (1 Reply)
Discussion started by: Izzy123
1 Replies

9. UNIX for Dummies Questions & Answers

question about unix file system

Hi, The file system unix use a multilevel indexes access to disk, 12 direct blocks, 1 single indirect block, 1 double indirect block, 1 triple indirect block: Assuming a: block = 512 bytes, pointer = 4 byte, and there is a file of 200 blocks, how many disk access is needed to read the block... (1 Reply)
Discussion started by: blob84
1 Replies
TTYSLOT(3)						     Linux Programmer's Manual							TTYSLOT(3)

NAME
ttyslot - find the slot of the current user's terminal in some file SYNOPSIS
#include <unistd.h> /* on BSD-like systems, and Linux */ #include <stdlib.h> /* on System V-like systems */ int ttyslot(void); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): ttyslot(): _BSD_SOURCE || (_XOPEN_SOURCE_EXTENDED && ! _XOPEN_SOURCE >= 500) DESCRIPTION
The legacy function ttyslot() returns the index of the current user's entry in some file. Now "What file?" you ask. Well, let's first look at some history. Ancient History There used to be a file /etc/ttys in Unix V6, that was read by the init(8) program to find out what to do with each terminal line. Each line consisted of three characters. The first character was either '0' or '1', where '0' meant "ignore". The second character denoted the terminal: '8' stood for "/dev/tty8". The third character was an argument to getty(8) indicating the sequence of line speeds to try ('-' was: start trying 110 baud). Thus a typical line was "18-". A hang on some line was solved by changing the '1' to a '0', signaling init, changing back again, and signaling init again. In Unix V7 the format was changed: here the second character was the argument to getty(8) indicating the sequence of line speeds to try ('0' was: cycle through 300-1200-150-110 baud; '4' was for the on-line console DECwriter) while the rest of the line contained the name of the tty. Thus a typical line was "14console". Later systems have more elaborate syntax. System V-like systems have /etc/inittab instead. Ancient History (2) On the other hand, there is the file /etc/utmp listing the people currently logged in. It is maintained by login(1). It has a fixed size, and the appropriate index in the file was determined by login(1) using the ttyslot() call to find the number of the line in /etc/ttys (counting from 1). The semantics of ttyslot Thus, the function ttyslot() returns the index of the controlling terminal of the calling process in the file /etc/ttys, and that is (usu- ally) the same as the index of the entry for the current user in the file /etc/utmp. BSD still has the /etc/ttys file, but System V-like systems do not, and hence cannot refer to it. Thus, on such systems the documentation says that ttyslot() returns the current user's index in the user accounting data base. RETURN VALUE
If successful, this function returns the slot number. On error (e.g., if none of the file descriptors 0, 1 or 2 is associated with a ter- minal that occurs in this data base) it returns 0 on Unix V6 and V7 and BSD-like systems, but -1 on System V-like systems. CONFORMING TO
SUSv1; marked as LEGACY in SUSv2; removed in POSIX.1-2001. SUSv2 requires -1 on error. NOTES
The utmp file is found various places on various systems, such as /etc/utmp, /var/adm/utmp, /var/run/utmp. The glibc2 implementation of this function reads the file _PATH_TTYS, defined in <ttyent.h> as "/etc/ttys". It returns 0 on error. Since Linux systems do not usually have "/etc/ttys", it will always return 0. Minix also has fttyslot(fd). SEE ALSO
getttyent(3), ttyname(3), utmp(5) COLOPHON
This page is part of release 3.25 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/. GNU
2007-11-26 TTYSLOT(3)
All times are GMT -4. The time now is 07:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy