Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Difference between console and Terminal. Post 302507991 by Corona688 on Friday 25th of March 2011 10:48:23 AM
Old 03-25-2011
Quote:
Originally Posted by theKbStockpiler
I see these terms used all the time with hardly any distinction between the two.
Isn't one, really. Terminal's probably the more "technically correct" term but they both make sense.
Quote:
I could only get emacs to open in console so I was also wondering what are the common applications to use in console.Smilie
Anything that demands user interaction and isn't a graphical program naturally has to be in a terminal, since a terminal is the way to get interactive information from the user. Editors(nano, vi, emacs) need a terminal if you're not using a graphical version of them, and login systems in particular (su, sudo, ssh, scp, sftp) demand a terminal of one sort or another.

Shells can use terminals, when available, to give you an interactive prompt, but are quite capable of running noninteractively and without a terminal too, when running shell scripts.

I'd also point out a small but important distinction; quite a few utilities couldn't care less whether you run them in a terminal, a GUI, or no environment at all. They just do their job and don't even worry about where they are or why. Unless the command interacts with you somehow, you can be relatively sure it falls into this category... Commands like cp and mv and awk and a blizzard of other common utilities fall into that category.

So it's not really a different "kind" of program, just programs using the resources available to them in different ways.

Last edited by Corona688; 03-25-2011 at 12:00 PM..
This User Gave Thanks to Corona688 For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

console terminal

if I am on "host13" and I rlogin to "host14" using root, is there any way to open up a console window on "host14" so that it will appear for that particular user sitting there at the time (1 Reply)
Discussion started by: AMisledDrummer
1 Replies

2. UNIX for Dummies Questions & Answers

Terminal vs console

What's the difference between a terminal and a console in Sun 5.5 CDE? Gives the option to open a console or terminal window, was wondering what the diff is? (1 Reply)
Discussion started by: kymberm
1 Replies

3. Programming

what difference between "terminal" and "console"

1 . Thank you for reading the post first. 2 . what difference between "terminal" and "console" (1 Reply)
Discussion started by: chenhao_no1
1 Replies

4. AIX

Difference between tty and console devices ?

Hi, What is the diference between these two ? thanks Vilius (3 Replies)
Discussion started by: vilius
3 Replies

5. UNIX for Dummies Questions & Answers

Difference between console and ttys

Sometimes when I open up the terminal (like just now) it says Last login: Wed Jun 17 07:29:25 on console sometimes it says ttys (like when I exit and open a new window/tab). What's the difference? and is something fishy going on? (6 Replies)
Discussion started by: Straitsfan
6 Replies

6. Fedora

console vs terminal ???

Hello sir, I was using the FEDORA 10.I saw both Console and terminal here.Can u please brief me about the differences between these two.....:confused: (3 Replies)
Discussion started by: nsharath
3 Replies

7. UNIX for Dummies Questions & Answers

Difference between system console and ILOM .

HI Guru's Can any one explain me the difference between a system console and a ILOM (SC). Thanks in Advance. RK :) (4 Replies)
Discussion started by: rama krishna
4 Replies

8. UNIX for Advanced & Expert Users

Console vs terminal

What is the difference between a console and terminal? When you hit ctrl+alt+f2 from the gui are you going into a console or terminal? (1 Reply)
Discussion started by: cokedude
1 Replies

9. Shell Programming and Scripting

How to start a shell script in a terminal console from graphic environment?

Hello. Normally when you double click on the file name, the shell script start in background. If you want to see what is going on, you must open a terminal console and start the shell within the terminal. Is it possible to start directly a shell script in a terminal console from the file... (0 Replies)
Discussion started by: jcdole
0 Replies

10. Solaris

Virtual Terminal (Console) showing non-global zone?

Hope that everyone is doing well today. Happy Friday. I am running an illumos (opensolaris) based system which is like SmartOS, OmniOS, and OpenIndiana I have been searching all over the Internet into various documents and forms that have to do with Solaris, Opensolaris, Illumos, and SmartOS... (3 Replies)
Discussion started by: LonnieTC
3 Replies
ttys(4) 						     Kernel Interfaces Manual							   ttys(4)

NAME
ttys - terminal control database file for trusted systems SYNOPSIS
DESCRIPTION
The system supports a single terminal control database containing entries for each local terminal that can log into the system. Authentica- tion programs use information contained in the terminal control database to determine if login from the terminal is permitted. Additional fields are maintained for informational purposes. The format of the terminal control database file is identical to other system authentication database files. For more information on the file format, see authcap(4). The file consists of keyword field identifiers and values for those fields. The keyword identifiers supported and their use include: This field defines the terminal device name for the entry. The terminal device is expected to be contained in the directory, therefore this prefix should not be specified. If the terminal entry describes the device, the field should contain This field records the user id of the last user to successfully login using the terminal device. This field records the last successful login time to the terminal device. This field records the last unsuccessful login time to the terminal device. This field records the number of consecutive unsuccessful login attempts to the terminal device. This field specifies the maximum number of consecutive unsuccessful login attempts permitted using the terminal before the terminal is locked. Once the terminal is locked, it must be unlocked by an authorized administrator. This field specifies the login timeout value (sec). This field specifies the delay between login tries (sec). This flag field indicates whether the terminal device has been administratively locked or not. This field is manipulated by authorized administrators only. EXAMPLES
The following is an example of a terminal control database entry: This entry is for the system console device, The most recent successful login session was for the user The entry records the system time for the current successful login and the time of the most recent unsuccessful login attempt. WARNINGS
Remote terminals (ptys) should not be added to the or databases. Device name formats treated as ptys by login are: where x is a letter, and y is a hex number where x is a letter, and y is a hex number HP-UX 11i Version 3 is the last release to support trusted systems functionality. AUTHOR
was developed by HP. FILES
Terminal control database file SEE ALSO
login(1), getprtcent(3), devassign(4), authcap(4), default(4). TO BE OBSOLETED ttys(4)
All times are GMT -4. The time now is 03:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy