answersLogoWhite

0

📱

Unix

Unix is a family of operating systems primarily designed for servers, mainframes, and high-end workstations. First created in 1969, Unix systems are renowned for their security and stability.

1,127 Questions

What are the four main components of UNIX Operating System?

The four main components are: the Kernel, the Shell, the File system and Command

What is the unix command to tail a file that is being written to?

It is very common to use the 'tail' command to look at a file that is being written to in order to monitor the output of a process.

Most systems recognize the tail -f command for that purpose. You must then use an interrupt signal to stop it from looking at the active file.

Is UNIX considered to be a network operating system?

In the legal sense, no. Unix is an operating system and has the components of an NOS (Network Operating System) but it not considered just a network operating system.

What is 000 in unix file systems?

It depends on where the 000 is being used. For permissions, it would indicate that the file or directory or device has no permissions at all. For the 'umask' it would indicate that all newly created files or directories would have wide open permissions (world read, world write, etc.).

What does unix command tput do?

The TPUT utility uses the terminfo database to make the values of terminal-dependent capabilities and information available to the shell

How do you change commpand prompt form to in unix?

Use the shell variable PS1 to set the command prompt to whatever you need.

What is the difference between Unix and Cisco?

Unix is the name of an Operating System (software) and Cisco is the name of a technology company.

What is esac for UNIX?

'esac' is the end identifier for the 'case' selection statement. For example,

case $i in

Y|y) echo said yes

;;

N|n) echo said no

;;

*) echo $i is a bad answer

esac

What is the future of Unix?

The future of UNIX is... linux. Seriously, UNIX is a dying animal. Linux overtook operating systems of all kinds years ago and is far superior. UNIX will still exist somewhat running older legacy systems but I can't imagine it ever becoming dominant again in the server market.

What is the process of plasmapheresis?

The basic procedure consists of removal of blood, separation of blood cells from plasma, and return of these blood cells to the body's circulation, diluted with fresh plasma or a substitute.

What are VI and Nano used for?

These are Unix and Linux text editor programs.

What is the unix command to display the first two characters of all the lines from a file?

Assuming that the file you are looking at is a columnar file you can use the 'cut' command, as in 'cut -c1-2 filename'

Which Linux commands can be used to modify the list of groups a user belongs to?

The commands groupmod, groupadd and groupdel can all be used to modify groups.

The world's best editor, vi, can also be used to accomplish this, so, if you happen to encounter Bill Joy, remember to thank him profusely for this ubiquitous and wonderful gift to the world.

What is exit state in Unix known as?

The exit state of a process in Unix is known as the 'exit state'. The value of the exit state tells you whether or not the process completed without error. Usually a value of 0 indicates successful completion. Any other value means something was noted as incorrect, missing, or wrong.

How do you change Win2003 Active Directory user name alias?

type dsa.msc on run command

, open the user profile and change the alias for user name

What is Basic concept of Linux?

The "basic concept" of Linux is a free and open-source Unix-like kernel.

Who is the vendor of UNIX?

There are multiple vendors of Unix. These include IBM, Hewlett-Packard, Apple, and Oracle.

What is Tee Command in unix?

The Unix/Linux tee command permits the forking of a data pipe in a shell script or at the command line. The teecommand does this by both writing it's standard input to a file and to it's standard output simultaneously. Most implementations of tee provide for both file overwrite/creation and file appends by command line switch options.

How do you write shell script that will add two nos which are supplied?

#!/bin/sh

#

# add_2_numbers.sh

#

# Script provided by Alvin Abrahams - 07905 631 695.

#

# Seeking role as Unix Systems Administrator - Immediately available

#

# Assuming the two numbers are supplied to the script as parameters...

#

# The the variable add_sum will contain the result which is then displayed as below.

#

add_sum=`echo $1+$2|bc`

echo ${add_sum}

exit

# Execution of script below.

# ./add_2_numbers 3 4

7

What is the significance of home directory in Unix file system?

It's where all settings, documents, private files, etc. are located.

How do you check an error in a UNIX script?

Errors can occur in a script - you can check the return status of any command to see if part of the script fails.

For scripts that are production ready they should always exit with some status, in case one script calls another. In that case you would need to check the status of the called script.

How do you exit the edit command in unix?

There are many editors available in Unix, and they all have different methods of exiting out. You need to specify exactly which editor you are concerned with.