Some Basic terms in UNIX


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Some Basic terms in UNIX
# 1  
Old 01-07-2007
Some Basic terms in UNIX

Hello Gurus,

I have some very beginner level questions here, which are as follows:

1) I know what is a process, but what is a thread? and how a CPU devides a process into more than one threads and on what basis? Does a programmer designs a program in this way that it devides it into more than one threads or Kernel itself decides to divide a process into more than one thread and what benefit we get by doing this?

2) What is meant by a sub-shell?

3) What kind of terminal settings we do for the users comming from a telnet connection? What is the terminal type of user connecting with telnet? I really don't have any idea about that.

4) What is rlogin? and we use rlogin in which situation? I think Windows XP doesn't have rlogin command? What if we want to connect to a UNIX machine from Windows machine?

5) What is meant by UNIX-Cluster?

I know I can find information about above topics on google but I want some discrete and exact definition of above concepts therefor I asked these questions here.

Thanks in advance for any replies.

Regards,
A UNIX student
# 2  
Old 01-07-2007
Quote:
4) What is rlogin?
as I know, it's remote login. But nowadays usually used SSH for this purposes, imho. (it's very old, as i know...)
Quote:
and we use rlogin in which situation?
we use them if we want to connect to the remote computer. Smilie
# 3  
Old 01-07-2007
1) The programmer splits a process into threads by invoking pthread_create() or something similar. As one example, a web server might launch a thread for each connection. This is much faster than launching a new process for each connection. As another example, two processes may be using a lot of semaphores, messages queue, shared memory, etc to communicate. Make them two threads and they can communicate much more easily. If you have multiple cpu's, multiple threads can run simultaneously. A context switch occurs when a cpu switches from one process to another and it can be expensive. But switching from one thread to another is inexpensive. Some modern cpu's can sometimes run two or more instructions from a process at the same time. Some of these can use this to run instructions from different threads simultaneously. Intel calls this superthreading (or hyperthreading in a more advanced version).

2) A subshell is what happens when a shell forks. The shell needed a second copy of itself to do something. For example:
filelist=`cd /etc; ls`
pwd
that pwd will still show the current directory, not /etc. The cd was done in a subshell.

3) The telnet command will be typed on something. What is the terminal settings on that something prior to entering the telnet command? If you are using an xterm that is acting like a vt-100, the telnet command won't change that. Nor will it try to resize the window or anything.

4) rlogin is very much like telnet but it is non-standard and is very unix specific. It is also very insecure and so it is often disabled.

5) A cluster is a collection of systems that appear to the outside world as one system. This can be to distribute the load across a lot of boxes. And if one box goes down, the others can continue. www.google.com is probably a cluster while www.unix.com certainly is not.
# 4  
Old 01-09-2007
Thanks a lot for ur infi. I got some doubts cleared also....
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Need help with Basic Unix Program

I am a newbie to UNIX. I'm learning UNIX on my own, just trying to get the jerk of how things work in UNIX environment. I am familiar with Windows environment. Can anyone pls write simple 'envprint' programs to : 1) List all the environment Information (using the -l or --l options) 2) ... (1 Reply)
Discussion started by: agup17
1 Replies

2. UNIX for Dummies Questions & Answers

Basic UNIX Training

I'm wondering where a good place to start is for basic UNIX training. Due to a shift of responsibilities at work, I am now the admin for a product called AutoSys. I have close to zero knowledge in the subject area. :wall: (3 Replies)
Discussion started by: Cjw_55106
3 Replies

3. Solaris

Basic FAQS in unix

can any body tell me this followings in details when do we use this & in which senario we most use this 1.GSD raising 2.MOSFET checks 3.Audit remedation 4.KBS fixes thanks in advance (0 Replies)
Discussion started by: wkbn86
0 Replies

4. UNIX for Dummies Questions & Answers

some basic questions about unix ..

Hi all today i gone through worst interview of my life that for hour questions were so basic but i never though about them now i am figuring out answers my self but i would appreciate if you ppl help me ... i am listing some of the questions i remember .. 1 ) $ cat a.sh #! /usr/bin/ksh... (4 Replies)
Discussion started by: zedex
4 Replies

5. UNIX for Dummies Questions & Answers

Help needed in Basic UNIX

hi friends, How to obtain list of groups we r a member of and redirect it to a file. how to append the details of current OS to a file. how to append the estimated file space to a file. how to append the details of users loged on along wth their current activity into a file. Thank you...I'm... (3 Replies)
Discussion started by: bobby36
3 Replies

6. UNIX for Dummies Questions & Answers

unix basic tutorials

Hi guys, am absolutely new to unix but i want to learn about this operating system. Can anybody help me on how to understand unix because i don't know anything about it. I will like it if i can get basic tutorials on this mostly software tutorials. (1 Reply)
Discussion started by: nayogod
1 Replies

7. UNIX for Dummies Questions & Answers

Unix basic help

What command would I use to list the first lines of all text files within my Unix directory or within any directory inside there? I was using "find" , "head" and "-exec" commands like this: find ~/Unix -name "*.txt" -exec head {} \; But its not perfectly working, please help me.... (2 Replies)
Discussion started by: carrera911
2 Replies

8. UNIX for Dummies Questions & Answers

Basic Unix Questions

OK, here's a question from a true UNIX newb: How does one make a 20 line file? I'm lost. :confused: OK, I figured it out. :D (0 Replies)
Discussion started by: Kitchen Zinc
0 Replies

9. UNIX for Dummies Questions & Answers

Basic unix

okay, im having some trouble. Go ahead, call me a retard, but i keep getting stuck. Suppose i want to open a Picture of Jesus(for the sake of simplicity) using unix. I type: open Desktop/Pictures/Jesus.jpg It opens, and its all well and good. But, suppose i want to open a picture called Joe... (4 Replies)
Discussion started by: HipCracka
4 Replies
Login or Register to Ask a Question