Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Unix Articles
Page 3 of 6
How to Use Comments in Bash Scripts?
Bash script is a language that has multiple functionalities and capabilities, and as a programmer, keeping track of and remembering all the language syntax, especially if it's not your day-to-day language, is hard. For this purpose, we use comments, which allow us to simplify and demonstrate what a part of the code does. Writing comments is not necessary or obligatory, but it's a good practice, and here's why we use comments in code − Remember the code − Sometimes you write code and forget it for some time. When you come back, you might not remember why you wrote ...
Read MoreHow to Install Redmine on Ubuntu?
Redmine is one of the best free and open-source project management tools, written using Ruby on Rails. Its customizable nature makes it an excellent choice for managing and tracking bugs in projects. The term "project management" refers to a broad process with different stages and phases, ranging from planning and organizing to executing. Having a system to track all this can bring significant improvements. Redmine has many features that make it popular and distinct from other project management tools. In addition to being free and open-source, Redmine offers functionalities such as − Issue Tracking − ...
Read MoreHow to Copy and Paste in Vim?
Linux has a suite of software and tools that Linux users and administrators use to develop or manage the operating system. One of the most commonly used tools is Vim. Vim is a popular text editor, or even an IDE, that can be used for everything from editing text to developing software to simple tasks like editing a script. It’s easy to use, but it requires some time to learn and remember all the commands and how to switch between different aspects and modes. One of the most essential functionalities for beginners using Vim is copying and pasting. At first, ...
Read MoreRun Sudo Command without Password
The sudo command in Linux / Unix based systems allows a trusted user to execute a command with extended privileges, either as superuser (root) or as another user defined in the security policy. The security policy determines the privileges assigned to a user as well. It may require that the users should authenticate themselves with a password or another authentication mechanism. If a password is required, the user will be prompted to enter its account's password, with a timeout period. Else, the specified command is executed as per security policy, without any prompts. There are cases where one needs to ...
Read MoreDifference between Korn Shell and Bash Shell
David Korn developed the Korn Shell command which is used by developers to create new shell commands. Freeware Software developed Bash Shell which is a free and open-source script and can be used by computer users. In this article, we will discuss the difference between the Korn shell and the Bash shell. Korn Shell Korn shell is a command for Unix operating system and David Korn has developed it under Bell Labs. A shell program is a command which runs different types of scripts by interfacing with the operating system. Korn shell is a script that can run on different ...
Read MoreDifferent types of system calls
The interface between a process and an operating system is provided by system calls. In general, system calls are available as assembly language instructions. They are also included in the manuals used by the assembly level programmers.System calls are usually made when a process in user mode requires access to a resource. Then it requests the kernel to provide the resource via a system call.Types of System CallsThere are mainly five types of system calls. These are explained in detail as follows −Here are the types of system calls −Process ControlThese system calls deal with processes such as process creation, ...
Read MoreProcess States and Transitions in a UNIX Process
Process scheduling is a critical aspect of operating systems as it ensures the efficient execution of tasks. Understanding process states and transitions is essential for effective management and optimization. In this article, we will delve deeper into the concept of process states and transitions in a UNIX process, highlighting their significance in operating systems. The Process Scheduler Definition and Purpose In the functioning of an operating system. The process scheduler plays a pivotal role. Its principal responsibility includes monitoring and steering process execution. Additionally it aims to amplify system performance optimize resource utilization while curtailing response time. By effectively managing ...
Read MoreResponsibilities of a File Manager
Introduction Each file stored in computer memory has specific information that is given by the user. The files stored in the file system can be in various forms like image, audio, video, text etc. All these forms of data have different format extensions. Operating system is responsible for managing the operations of the file that are stored in the computer. The input file data can be stored in primary memory or secondary memory devices to store and retrieve information. The file is represented in terms of bits, bytes, or any records that can be defined by the author of the ...
Read MoreHow to Find Duplicate Files in Unix?
Introduction As we increasingly depend on digital media for storing our important files, we tend to accumulate a large number of files over time. It can be challenging to manage these files, particularly when we have multiple copies of the same file that can consume storage space. To solve this issue, Unix provides several methods to find and remove duplicate files, saving us time and disk space. In this article, we will explore various approaches to find duplicate files in Unix and demonstrate the terminal commands that can be used for each method. With these various approaches, we can choose ...
Read MoreDifference between DOS and Unix
DOS and Unix are operating systems where DOS is supported for only x86 computer systems and Unix supports for all systems. DOS is a single user operating system whereas Unix is a multi-user operating system. DOS was developed for personal computers (x86 type) and embedded systems. Unix was developed in AT &T Bell University which is primarily used in servers. What is DOS? DOS is the short form of Disc Operating system. 86-DOS was developed by Tim Patterson in 1980. Later Microsoft bought this and released MS-DOS in 1981. It is a single processing operating system that can be run ...
Read More