Found 2003 Articles for Operating System

How to use diff Command in Linux

Pradeep Jhuriya
Updated on 20-Jan-2023 15:27:00

8K+ Views

Introduction The Linux operating system is based on a robust set of command line tools that allow users to easily manage and control the system. One of the most powerful and widely used command line utilities is the "diff" command. The "diff" command in Linux is used to compare the contents of two files line by line and show the difference between them. This command-line utility is essential for developers and system administrators to identify changes to code or configuration files. In this article, we'll take a closer look at the diff command and its various options and usage scenarios. ... Read More

How to find a list of block devices information

Lakshmi Srinivas
Updated on 18-Oct-2019 12:18:06

987 Views

lsblk command is used to display a list of information about all available block devices. However, it does not give a list of information about RAM disks. Examples of block devices are hard disk, flash drives, CD-ROM. This article explains about how to find a list of block devices in Linux Machine.To install lsblk for Fedora and CentOS ,use the following command –$ sudo yum install util-linux-ngTo install lsblk for Ubuntu and Linux Mint ,use the following command –$ sudo apt-get install util-linux -yTo find the default list of all blocks, use the following command –$ lsblkThe sample output should be like ... Read More

Linux nslookup commands to troubleshoot dns domain name server

Lakshmi Srinivas
Updated on 18-Oct-2019 11:46:39

401 Views

nslookup is a network administration command-line tool available for many computer operating systems for querying Domain Name System (DNS) to obtain domain name or IP address mapping or for any other specific DNS record. This article explains about nslookup command in detail. Nslookup can be run in two modes, Interactive and Non-Interactive. The Interactive mode is used to query DNS-Server about various domains and hosts. Non-Interactive mode is used to query about information of a domain or host.To find out Find out “A” record (IP address) of Domain, use the following command –$ sudo nslookup tutorialspoint.comThe sample output should be ... Read More

How to use date command in day to day practical usage

Lakshmi Srinivas
Updated on 18-Oct-2019 11:37:34

282 Views

In this article, we will learn about the ‘date’ command in Linux and how to practically use the ‘date’ command in day-to-day usage with some practical examples. The ‘date’ command is used to print or to change the system date and time.General Syntax[root@localhost ~]# date [OPTION]... [+FORMAT] [root@localhost ~]# date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]The Date Command has the following UsagesWe can print date and time on the systemWe can display the date and time in the given format.We can read the date from the fileWe can display the Universal time.We can set the system date and time.Displaying the Date and Time from ... Read More

Upgrade your computer for free to windows 10

Lakshmi Srinivas
Updated on 18-Oct-2019 08:09:08

153 Views

People who have been using windows operating system usually encounter persistent messages to upgrade to Windows 10. The good news is that, upgrading to Windows 10 is now free. But in case of Apple, it allows its users to upgrade to newest operating system for free at any point. If users delay, they might land themselves in trouble as Windows is taking a very different approach.All those who have not upgraded their system to Windows 10 by June 29, 2016, they need to spend about $119. And those who consider, the cost of upgradation is more than they can handle. ... Read More

Operating System Resource Management

Arnab Chakraborty
Updated on 17-Oct-2019 11:31:02

7K+ Views

An operating system (OS) is basically a collection of software that manages computer hardware resources and provides common services for computer programs. The operating system is a crucial component of the system software in a computer system.These are some few common services provided by an operating system −Program executionI/O operationsFile System manipulationCommunicationError DetectionResource AllocationProtectionIn the matter of multi-user or multi-tasking environments, resources such as main memory, CPU cycles and files storage are to be allocated to each user or job. Some major activities of an OS with respect to resource management are −The Operating System manages all kinds of resources ... Read More

Operating System Error handling

Arnab Chakraborty
Updated on 17-Oct-2019 11:29:00

3K+ Views

An operating system (OS) is basically a collection of software that manages computer hardware resources and provides common services for computer programs. Operating system is a crucial component of the system software in a computer system.These are some few common services provided by an operating system −Program executionI/O operationsFile System manipulationCommunicationError DetectionResource AllocationProtectionErrors can occur anytime and anywhere in operating system. An error can occur in CPU, in I/O devices or in the memory hardware. Some major activities of an operating system with respect to error handling are−The Operating System constantly checks for possible errors.The Operating System takes an appropriate ... Read More

Process Communication in Operating System

Arnab Chakraborty
Updated on 17-Oct-2019 11:27:36

6K+ Views

Processes that executing concurrently in the operating system may be either independent processes or cooperating processes. if a process cannot affect or be affected by the other processes executing in the system then the process is said to be independent. So any process that does not share any data with any other process is independent. A process is said to be cooperating if it can affect or be affected by the other processes executing in the system. So it is clear that, any process which shares its data with other processes is a cooperating process.There are many reasons for providing ... Read More

File system manipulation

Arnab Chakraborty
Updated on 17-Oct-2019 11:22:43

4K+ Views

An operating system (OS) is basically a collection of software that manages computer hardware resources and provides common services for computer programs. Operating system is a crucial component of the system software in a computer system.These are some few common services provided by an operating system −Program executionI/O operationsFile System manipulationCommunicationError DetectionResource AllocationProtectionA file represents a collection of related information. Computers may store files on the disk (secondary storage), for long-term storage purpose. Some Examples: magnetic tape, magnetic disk and optical disk drives like CD, DVD. They have its own properties like speed, capacity, data transfer rate and data access ... Read More

Operating System Input Output I/O

Arnab Chakraborty
Updated on 17-Oct-2019 11:21:41

9K+ Views

The three main jobs of a computer are Input, Output, and Processing. In most of the cases, the most important job is Input / Output, and the processing is simply incidental. For an example, when we browse a web page or edit any file, our immediate attention is to read or enter some information, not for computing an answer. The fundamental role of the operating system in computer Input / Output is to manage and organize I/O operations and all I/O devices.The various devices that are connected to the computer need to be controlled and it is a key concern ... Read More

Advertisements