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.

500 Questions

What do you mean by 'processes' in unix environment?

User Avatar

Asked by Wiki User

A "process" is a program. In multitasking environments such as Unix or Windows - in fact, in most modern operating systems - the computer can run multiple processes at the same time. Note that not all of such processes need to have a visible window - some can be hidden from the user, until you use a special tool or command to list the processes.

What is the process of loading a process secondary memory into primary memory?

User Avatar

Asked by Wiki User

The computer usually uses its input/output channels to access secondary storage and transfers the desired data using intermediate area in primary storage.

When was the release date for UNIX?

User Avatar

Asked by Wiki User

November 3, 1971

Windows is based upon unix or Linux?

User Avatar

Asked by Wiki User

Unix is no longer a single operating system, and as such no single company makes it. Historically, Unix was created by AT&T. Nowadays, operating system collectively referred to as "Unix" are created by companies such as Sun (Solaris), Hewlett-Packard (HP-UX), IBM (AIX), and Apple (Mac OS X).

How do you save a batch file?

User Avatar

Asked by Wiki User

Open up a notepad.

Type in the the batch parameter you need to run.

Then save it as a .bat file.

File > Save as > myfile.bat

Example:

If you need to to copy a file (filename picture001.jpg) in C: drive to the D: drive, you can create the batch to do the task by typing the following parameter in the batch file.

xcopy [path of the file] [destination path]

xcopy C:\picture001.jpg D:

Now save it as a batch file and double click to run it.

Enjoy!

When a script file contains more than one command what each command must end with?

User Avatar

Asked by Wiki User

In general each command in a script file is on a separate line, so it is terminated with a line terminator character (put it automatically when you press the Enter key).

Unlike some programming languages, a script file does not need a special terminator for the end of the line.

What is du in Unix?

User Avatar

Asked by Wiki User

du is a command the reports on the Disk Usage of the filesystem.

What is the difference between a Unix or Linux shell and X-Windows?

User Avatar

Asked by Wiki User

Unix is the name of both a general specification for an operating system to meet, and the first system to meet that specification. Xenix is an implementation made by Microsoft in the late 1980s that met the Unix specification.

What does mount command do in Linux?

User Avatar

Asked by Wiki User

The 'mount' command with no options will list out all of the mounted filesystems currently in use and their 'mount' options.

This command is used by the administrator to make available partitions that are currently offline.

Latest version of unix OS?

User Avatar

Asked by Wiki User

version 7

What are the disadvantages of a Unix file system?

User Avatar

Asked by Wiki User

Advantages

• Full multitasking with protected memory. Multiple users can run multiple

programs each at the same time without interfering with each other or

crashing the system.

• Very efficient virtual memory, so many programs can run with a modest

amount of physical memory.

• Access controls and security. All users must be authenticated by a valid

account and password to use the system at all. All files are owned by

particular accounts. The owner can decide whether others have read or write

access to his files.

• A rich set of small commands and utilities that do specific tasks well -- not

cluttered up with lots of special options. Unix is a well-stocked toolbox, not a

giant do-it-all Swiss Army Knife.

• Ability to string commands and utilities together in unlimited ways to

accomplish more complicated tasks -- not limited to preconfigured

combinations or menus, as in personal computer systems.

• The traditional command line shell interface is user hostile -- designed for the

programmer, not the casual user.

• Commands often have cryptic names and give very little response to tell the

user what they are doing. Much use of special keyboard characters - little

typos have unexpected results.

Disadvantages of UNIX

• The traditional command line shell interface is user hostile -- designed for the

programmer, not the casual user.

• Commands often have cryptic names and give very little response to tell the

user what they are doing. Much use of special keyboard characters - little

typos have unexpected results.

• To use Unix well, you need to understand some of the main design features.

Its power comes from knowing how to make commands and programs

interact with each other, not just from treating each as a fixed black box.

• Richness of utilities (over 400 standard ones) often overwhelms novices.

Documentation is short on examples and tutorials to help you figure out how

to use the many tools provided to accomplish various kinds of tasks.

How do you list all of the files in the current directory in Unix?

User Avatar

Asked by Wiki User

the command is - ls there are other options and flags for the ls command which can be viewed by typing man ls if you type 'man ls' in a google search, it will show you the same manual

Distinguish between internal and extarnal commands with examples for unix?

User Avatar

Asked by Wiki User

Internal commands are executed by the shell and do not exist as a separate binary program. You can find out which of these there are by looking at the 'man' entry for the shell you are using.

External commands can be found in various directories, such as /bin, /usr/bin, etc.

What defines a standard set of directories for use by all Linux and Unix systems?

User Avatar

Asked by Wiki User

What was created to define a standard directory structure and common file loc

What command line utility is used to create or change passwords for Samba user accounts?

User Avatar

Asked by Wiki User

'smbpasswd' is the program you are looking for. Read the manual 'man smbpasswd' for more information. You must be root or run with sudo to change other users passwords.

Change password with the command 'smbpasswd <username>'

# smbpasswd bob

or

$ sudo smbpasswd bob

NOTE: You may also need to enable the user after you set the password

# smbpasswd -e bob

or

$ sudo smbpasswd -e bob

What is similar to Unix?

User Avatar

Asked by Wiki User

Linux, Minix, Coherent, FreeBSD, etc. These are all clones of Unix

What is the purpose of UNIX OS?

User Avatar

Asked by Wiki User

The UNIX OS is an operating system, which has the primary responsibility of managing security and resources for users. It has the same "purpose" as any other operating system, such as Windows, z/os, VMS, etc.

How secure is Unix?

User Avatar

Asked by Wiki User

Unix is one of the more secure operating systems, but it would be difficult to give an exact answer. It is very easy (and possible) to make any operating system insecure.

It takes individuals some amount of time to secure any operating system, and Unix is no exception to that.

When the shell finds met a character in the command line what does it do?

User Avatar

Asked by Krantichandan

The shell interpreter must substitute or convert all metacharacters in the command line before the command parameters are given to a program. Once all metacharacters have been removed and replaced by their equivalents the program is then executed.

What is the function of the Unix kernel?

User Avatar

Asked by Wiki User

The kernel is the essential center of a computer operating system, the core that provides basic services for all other parts of the operating system. A synonym is nucleus. A kernel can be contrasted with a shell, the outermost part of an operating system that interacts with user commands. Kernel and shell are terms used more frequently in Unix operating systems than in IBM mainframe or Microsoft Windows systems.

Defnition from Wikipedia:

In computer science, the kernel is the central component of most computer operating system(OS). Its responsibilities include managing the system's resources (the communication between hardware and software components). As a basic component of an operating system, a kernel provides the lowest-level abstraction layer for the resources (especially memory, processors and I/O devices) that application software must control to perform its function. It typically makes these facilities available to application programs through interprocess communication mechanisms and system calls.

These tasks are done differently by different kernels, depending on their design and implementation. While monolithic kernels will try to achieve these goals by executing all the code in the same address space to increase the performance of the system, microkernels run most of their services in user space, aiming to improve maintainability and modularity of the codebase. A range of possibilities exists between these two extremes.

How unix came into existence?

User Avatar

Asked by Wiki User

"Linux" as a operating system distribution (which includes the kernel as created by Linus Torvalds), was in some way influenced by Unix (this includes Apple's Mac OS and OS X, which was based on BSD, which was derived from Unix) at some point in their development.

Without changing users home directory how to create a user in AIX?

User Avatar

Asked by Wiki User

Just like every administrative task: via smitty (or with command useradd).

or

Login to (or telnet to) node. (From a PC, click "Start" and "Run". Type "cmd" and click "OK". Type "telnet node", where "node" is the name of the node to login to.)

Type "root", depress "Enter", type "password", and depress "Enter", where "password" is root's password (see node administrator for password).

2. Execute SMIT.

Type "smitty" at the command prompt and depress "Enter".

3. Use the down arrow till you highlight "Security and Users" and depress "Enter". Use the down arrow till you highlight "Users". Depress "Enter". Use the down arrow till you highlight "Add a User". Depress "Enter". Enter the "userid" in the "User NAME" prompt, and depress "Enter", where userid is the account that you want to create. Currently, we are using the same account name as is used to logon to the mainframe. Depress "Esc" and "3", simultaneously, two (2) times, to repeat for other users or to exit from adding a new user.

4. Once you have entered all the new userids, use the down arrow till you highlight "Change a User's Password" and depress "Enter". Depress "Esc" and "3", simultaneously, to enter more new userids passwords or to exit from changing a user's password.

5. Depress "Esc" and "3", simultaneously, to enter the users (userids) into their proper groups. Use the down arrow till you highlight "Groups" and depress "Enter".

Use the down arrow till you highlight "Change/Show Characteristics of a Group" and depress "Enter". Type "group" in "Group NAME" prompt, where "group" is one of three (currently) categories, depending on the user's access needs.

After you have added or changed users (userids) to the correct group, then depress "Esc" and "3", simultaneously, to exit "SMIT".

6. Login to each new user account on AIX (UNIX) (using step #1). Change the account password to the same as the userid (current standard).

What is the program to calculate factorial value of given number using BC command in UNIX?

User Avatar

Asked by Wiki User

From the manpage of the bc(1) command:

The following is the definition of the recursive factorial function.

define f (x) {

if (x <= 1) return (1);

return (f(x-1) * x);

}

So you could enter that definition of f(), and then call it, for example f(10)

Is Linux more secure than Unix?

User Avatar

Asked by Wiki User

Even in the early days when Linux first came out, it was often commented upon how much faster it was than traditional Unix systems. For many tasks, Linux simply performs better. There are some situations that Linux still has not been optimized for, though, so Unix systems are used to do the "heavy" lifting.