24 July

Accessing Command Line in Linux

The power of Linux lies in its command line. So, the first thing to know is – how to access command line in Linux? There are two ways of accessing command line in Linux:1. Opening an application (called Terminal) within the GUI2. Opening one of the Virtual Consoles 1. Opening an application (called Terminal) within […]

19 July

Prerequisites For Learning Linux

Planning to learn Linux! Wonder what you all hardware, software or personal skills to require before you begin. So, lets discuss the prerequisites for learning Linux. What is Linux? Linux is an open-source Operating System which helps you to operate your computer/laptop. So, its objective is similar to that of Windows/macOS. There are many Linux […]

07 July

How to use grep command in Linux?

grep command in Linux is used to search for patterns within a file i.e., it will help to your search for content within a file. For example, if you want to search for “help” within a file f1.txt, then you can use grep command. A pattern is different from a word. For example, the as […]

28 June

How to change directory using cd command in Linux?

The cd command in Linux is used to change the current directory. cd is a shell builtin command. Syntax cd [path]  where path specifies the path of the new directory. For example: The current working directory as checked with pwd command was /home/baljit/search. Next, we  use cd to change the directory to /home/baljit/cse325 Different methods […]

26 June

How to search for files in Linux?

Sometimes you want to apply command on several files or a subset of files. For example, you want to delete all files whose name starts with “TH”. So there are two ways to do it. One, you delete them one by one or you specify some pattern which matches all files starting with “TH”. In […]

24 June

How to create files using touch command in Linux?

In this post we focus on How to use touch command in Linux? Use touch command is used to update the timestamp of a file or directory. Timestamp means that it will update the access and modification times of the file or directory specified. Syntax touch [OPTION]…[FILE]… Example of How to use touch command in […]

21 June

How to use ls command in Linux?

Use ls command in Linux is used to list the directory contents. If a directory name is not specified then the contents of the current working directory are displayed. Syntax ls [OPTION]… [FILE]… Example of How to use ls command in Linux? First, we use ls without specifying any directory name. So it displays the […]

16 June

Difference between Contiguous Memory Allocation, Paging and Segmentation

A common question that comes to our mind is – What is the difference between Contiguous Memory allocation, Paging and Segmentation? We will understand this concept with an individual example, explaining each of the three concepts. Contiguous Memory Allocation In contiguous memory allocation the entire address space of the process is together. For example, if […]

13 June

Unsolved Questions on Memory Management

Try out these unsolved questions on memory management to check your conceptual knowledge. Q1. If the value of relocation register is 1000 and limit register is 700. What is the physical addresses for the logical addresses 1. 7002. 100 Q2. Given three free memory partitions of 150 KB, 50 KB , and 300 KB(in order). […]