$ echo $PATH
/bin:/usr/bin:/usr/local/bin:/usr/bin/X11:/usr/X11R6/bin:/home/chris/bin
especially if the command resides in a directory with a long name.
The better
way is to have commands stored in well-known directories,
and then add those
directories to your shell's PATH environment variable....
Showing posts with label linux-interview-questions. Show all posts
Showing posts with label linux-interview-questions. Show all posts
Common Linux Features?
PMA04:54
Multiuser —
Not only can you have many user accounts available on a Linux system, you can
also have multiple users logged in and working on the system at the same time.
Users can have their own environments arranged the way they want: their own home
directory for storing files and their own desktop interface (with icons, menus,
and applications arranged to suit them). User accounts can be
password-protected, so that users can control who has access to their
applications and data.
Multitasking — In Linux, it
is possible to have many...
What Is an Operating System?
PMA04:53
An operating system is made up of software
instructions that lie between the computer hardware (disks, memory, ports, and
so on) and the application programs (word processors, Web browsers,
spreadsheets, and so on). At the center is the kernel, which
provides the most basic computing functions (managing system memory, sharing the
processor, opening and closing devices, and so on). Besides the kernel, an
operating system provides other basic services needed to operate the computer,
including:
File systems — The file system provides
the...
What is the difference between internal and external commands?
PMA04:21
Internal commands are commands that are already loaded in the system.
They can be executed any time and are independe...
What is GUI?
PMA04:19
Graphical User Interface, makes use of images and icons that users click
and manipulate as a way of communicating with the computer.
...
What is BASH?
PMA04:17
BASH is short for Bourne Again SHell. It was written by Steve Bourne as a
replacement to the original Bourne Shell (represented by /bin/sh).
...
What is LILO?
PMA04:16
This boot loader has been replaced by GRUB by and removed from the distribution.
LILO is a boot loader for Linux. It is used mainly to load the Linux
operating
system into main memory so that it can begin its operations.
...