What is an operating system?
An operating
system, or "OS," is software that communicates with the hardware and
allows other programs to run. ... Every desktop computer, tablet, and
smartphone includes an operating system that
provides basic functionality for the device
What is the main purpose of the operating system?
An
operating system has three main functions: (1) manage the computer's resources,
such as the central processing unit, memory, disk drives, and printers, (2)
establish a user interface, and (3) execute and provide services for
applications software
Why we need operating systems?
An operating
system is the most important software that runs on a computer. It manages
the computer's memory and processes, as well as all of its software and
hardware. It also allows you to communicate with the computer without knowing
how to speak the computer's language.
What are the 6 basic
functions of an operating system?
Operating system performs the following
functions:
·
Booting: Booting is a
process of starting the computer operating system starts the computer to work.
...
·
Memory Management.
·
Loading and Execution.
·
Data security.
·
Disk Management.
·
Process Management.
·
Device Controlling.
·
Printing controlling.
What are features of operating system?
Features of an
Operating system are: Hardware Interdependence. Provides User
Interface. Hardware Adaptability.
What are the five most important responsibilities of the
operating system?
Responsibilities of the OS include:
·
Hiding the
complexities of hardware from the user.
·
Managing between the
hardware's resources which include the processors, memory, data storage and I/O
devices.
·
Handling
"interrupts" generated by the I/O controllers.
·
Sharing of I/O between
many programs using the CPU.
Examples of Operating Systems
Some examples include
versions of Microsoft Windows (like Windows 10, Windows 8, Windows 7, Windows
Vista, and Windows XP), Apple's macOS (formerly OS X), iOS,
Chrome OS, BlackBerry Tablet OS, and flavors of the
open source operating system Linux.
How do
operating systems work?
The operating system's job.
Your computer's operating system (OS) manages all of the
software and hardware on the computer. Most of the time, there are several
different computer programs running at the same time, and they all need to
access your computer's central processing unit (CPU), memory, and storage.
Some
Examples of Linux Operating System commands
1.
ls
The ls command - the list command - functions in the Linux
terminal to show all of the major directories filed under a given file system.
For example, the command:
ls /applications
...will show the user all of the folders
stored in the overall applications folder.
The ls command is used for viewing files, folders and directories.
2.
cd
The cd command - change directory - will allow the user to change
between file directories. As the name command name suggest, you would use the
cd command to circulate between two different directories. For example, if you
wanted to change from the home directory to the Arora directory, you would
input the following command:
cd/arora/applications
As you might have noted, the path name listed lists in reverse order. Logically cd/arora/applications reads change to the arora directory which is stored in the applications directory. All Linux commands follow a logical path.
3.
mv
The mv command - move - allows a user to move a file to another folder or directory. Just like dragging a file located on a PC desktop to a folder stored within the "Documents" folder, the mv command functions in the same manner. An example of the mv command is:
mv/arora/applications/majorapps /arora/applications/minorapps
The first part of the command mv/arora/applications/majorapps lists the application to be moved. In this case, arora. The second part of the command /arora/applications/minorapps lists where arora will be moved to - from majorapps to minorapps.
4.
man
The man command - the manual command - is used to show the manual of the inputted command. Just like a film on the nature of film, the man command is the meta command of the Linux CLI . Inputting the man command will show you all information about the command you are using. An example:
man cd
The inputting command will show the manual
or all relevant information for the change directory command.
5.
mkdir
The mkdir - make directory - command allows the user to make a new directory. Just like making a new directory within a PC or Mac desktop environment, the mkdir command makes new directories in a Linux environment. An example of the mkdir command
mkdir testdirectory
The example command made the directory
"testdirectory".
6.
rmdir
The rmdir - remove directory - command allows the user to remove an existing command using the Linux CLI. An example of the rmdir command:
rmdir testdirectory
The example command removed the
directory "testdirectory".
It should be noted: both the mkdir and rmdir commands make and
remove directories. They do not make files and they will also not remove a
directory which has files in it. The mkdir will make an empty directory and the
rmdir command will remove an empty directory.
7. touch
The touch command - a.k.a. the make file
command - allows users to make files using the Linux CLI. Just as the mkdir command
makes directories, the touch command makes files. Just as you would make a .doc
or a .txt using a PC desktop, the touch command makes empty files. An example
of the touch command:
touch testfile.txt
The example touch command effectively
created the file testfile.txt. As noted by the extension, the file created is a
.txt or text file. To equate, a .txt file in Linux is akin to a .txt notebook
file within a Windows or Mac OS.
8. rm
The rm command - remove - like the rmdir
command is meant to remove files from your Linux OS. Whereas the rmdir command
will remove directories and files held within, the rm command will delete
created files. An example of the rm command:
rm testfile.txt
The aforementioned command removed
testfile.txt. Interestingly, whereas the rmdir command will only delete an
empty directory, the rm command will remove both files and directories with
files in it. This said, the rm command carries more weight than the rmdir
command and should be used with more specificity.
9.
locate
The locate - a.k.a. find - command is meant to find a file within the Linux OS. If you don't know the name of a certain file or you aren't sure where the file is saved and stored, the locate command comes in handy. A locate command example:
locate -i *red*house**city*
The stated command will locate an file
with the a file name containing "Red", "House" and
"City". A note on the input: the use of "-i" tells the
system to search for a file unspecific of capitalization (Linux functions in
lower case). The use of the asterisk "*" signifies searching for a
wildcard. A wildcard tells the system to pull any and all files containing the
search criteria.
By specifying -i with wildcards, the locate CLI command will pull
back all files containing your search criteria effectively casting the widest
search net the system will allow.
10.
clear
The clear command does exactly what it
says. When your Linux CLI gets all mucked up with various readouts and
information, the clear command clears the screen and wipes the board clean.
Using the clear command will take the user back to the start prompt of whatever
directory you are currently operating in. To use the clear command simply
type clear.
You don't realize how quickly technology is changing. Data science is highly technical and is therefore in high demand. A career in data science will open up many lucrative job opportunities. So, if you have been wanting to start your career in Data Science, now is the best time to enroll in a data science program with one of the best data science training institute in noida.
ReplyDelete