Daily Tips for Linux

Share via:

Dear Readers,

In this article, we will see the following Daily Tips for Linux.

Tip-1           Date: 05-Feb-21           Provided By: Sridhar
What is Operating System ?
👉 Operating system is an interface between user and the computer hardware.
Tip-2           Date: 08-Feb-21           Provided By: Sridhar  
Types of Operating System :
👉 Single User – Single Tasking Operating System
👉 Single User – Multitasking Operating System
👉 Multi User – Multitasking Operating System

Tip-3           Date: 09-Feb-21           Provided By: Ramesh  
Single User ( Single Tasking Operating System ) :
👉 In this type of operating system only one user can log into system and can perform only one task at a time.
👉 E.g.: MS-DOS

Tip-4           Date: 12-Feb-21           Provided By: Ramesh  
Single User ( Multi tasking operating System ) :
👉 This type of O/S supports only one user to log into the system but a user can perform multiple tasks at a time, browsing internet while playing songs etc.
👉 E.g.: Windows -98, XP, vista, 7,8,10 etc.

Tip-5           Date: 15-Feb-21           Provided By: Ramesh  
Multi User ( Multi Tasking Operating System ) :
👉 This type of O/S provides multiple users to log into the system and also each user can perform various tasks at a time.
👉 In a broader term multiple users can logged in to system and share the resources of the system at the same time.
👉 E.g.: UNIX, LINUX etc.

Tip-6           Date: 18-Feb-21           Provided By: Ramesh  
What is Unix?
👉 Unix is an Operating System that is truly the base of all Operating Systems like Ubuntu, Solaris, POSIX, etc.

Tip-7           Date: 22-Feb-21           Provided By: Ramesh  
History of Unix :
👉 It was developed in the 1970s by Ken Thompson, Dennis Ritchie, and others in the AT&T Laboratories.
👉 It was originally meant for programmers developing software rather than non-programmers.

Tip-8           Date: 23-Feb-21           Provided By: Ramesh  
Layers of Unix :
👉 Layer-1: Hardware
👉 Layer-2: Kernel
👉 Layer-3: Shell commands
👉 Layer-4: Application Layer

Tip-9           Date: 03-Feb-21           Provided By: Ramesh  
Layers of Unix :

Layer-1: Hardware
👉 It consists of all hardware related information.

Tip-10           Date: 04-Feb-21           Provided By: Ramesh  
Layers of Unix :

Layer-2: Kernel
👉 It interacts with hardware and most of the tasks like memory management, task scheduling, and management are done by the kernel.

Tip-11           Date: 09-Feb-21           Provided By: Ramesh  
Layers of Unix :

Layer-3: Shell commands
👉 Shell is the utility that processes your requests. When you type in a command at the terminal, the shell interprets the command and calls the program that you want.
👉 There are various commands like cp, mv, cat, grep, id, wc, nroff, a.out and more.

Tip-12           Date: 10-Mar-21            Provided By: Ramesh  
Layers of Unix :

Layer-4: Application Layer
👉 It is the outermost layer that executes the given external applications.

Tip-13           Date: 11-Mar-21           Provided By: Ramesh  
Layers of Unix :

What is Linux ?
👉 Linux is an operating system or a kernel. It is distributed under an open source license.
👉 Its functionality list is quite like UNIX.
👉 The Linux kernel is the core or the heart of the operating system.
👉 It’s the intermediary between software and hardware.
👉 Unix/Linux uses a tree like a hierarchical file system.
👉 There are no drives in Linux.
👉 Root user is the super user and has all administrative privileges.

Tip-14           Date: 15-Mar-21           Provided By: Ramesh  
Linux Origins :

a) Finnish college student in 1991
b) Created Linux Kernel

👉 When Linux Kernel combined with GNU applications, complete free UNIX like OS was developed.

Tip-15           Date: 16-Mar-21           Provided By: Ramesh  
Why Linux?
👉 Fresh implementation of UNIX APIs.
👉 Open source development model.
👉 Supports wide variety of hardware.
👉 Supports many networking protocols and Configurations.
👉 Fully supported.

Tip-16           Date: 17-Mar-21           Provided By: Ramesh  
The Flavours of Linux Operating System :
👉 Ubuntu
👉 Fedora
👉 Linux Mint
👉 openSUSE
👉 PCLinuxOS
👉 Debian
👉 Mandriva
👉 Sabayon/Gentoo
👉 Red Hat Enterprise Linux
👉 Ubuntu Server
👉 Centos
👉 SUSE Enterprise Linux

Tip-17           Date: 18-Mar-21           Provided By: Ramesh  
Features of Linux Operating System
👉 Portable
👉 Open Source
👉 Multi User
👉 Multiprogramming
👉 Hierarchical File System
👉 Shell
👉 Security

Tip-18           Date: 19-Mar-21           Provided By: Ramesh  
Features of Linux Operating System
👉 Linux operating system can work on different types of hardwares as well as Linux kernel supports the installation of any kind of hardware platform.

Tip-19           Date: 22-Mar-21           Provided By: Ramesh  
Features of Linux Operating System
Open Source:
👉 Source code of LINUX operating system is freely available and, to enhance the ability of the LINUX operating system, many teams work in collaboration.”
“Features of Linux Operating System

Tip-20           Date: 23-Mar-21           Provided By: Ramesh  
Multi User:
👉 Linux operating system is a multiuser system, which means, multiple users can access the system resources like RAM, Memory or Application programs at the same time

Tip-21           Date: 24-Mar-21           Provided By: Ramesh  
Features of Linux Operating System
👉 Linux operating system is a multiprogramming system, which means multiple applications can run at the same time.

Tip-22           Date: 25-Mar-21           Provided By: Ramesh  
Features of Linux Operating System
Hierarchical File System:
👉 Linux operating system affords a standard file structure in which system files or user files are arranged.

Tip-23           Date: 26-Mar-21           Provided By: Ramesh  
Features of Linux Operating System
👉 Linux operating system offers a special interpreter program, that can be used to execute commands of the OS.
👉 It can be used to do several types of operations like call application programs, and so on.

Tip-24           Date: 30-Mar-21           Provided By: Ramesh  
Features of Linux Operating System
👉 Linux operating system offers user security systems using authentication features like encryption of data or password protection or controlled access to particular files.

Tip-25           Date: 31-Mar-21           Provided By: Ramesh  
Creating a file in Linux Using cat command:
👉 cat (Concatenate) command is used to create a file and to display and modify the contents of a file.
👉 Command : cat > filename

Tip-26           Date: 01-Apr-21           Provided By: Ramesh  
To display the content of the file
👉 Command : cat filename

Tip-27           Date: 06-Apr-21           Provided By: Ramesh  
To append the data in the already existing file
👉 Command : cat >> filename

Tip-28           Date: 07-Apr-21           Provided By: Ramesh  
Creating multiple files at same time using touch command
👉 touch file1 file2 file3

Tip-29           Date: 08-Apr-21           Provided By: Ramesh  
Creating a Directory
👉 Command : mkdir mydir

Tip-30           Date: 09-Apr-21           Provided By: Ramesh  
Copying files into directory
👉 cp <source filename> <destination directory in which to paste the file>
👉 Command : file1 mydir

Tip-31           Date: 12-Apr-21           Provided By: Ramesh  
Copying directories from one location to other
👉 cp –rvfp <dir name> <destination name>
👉 Command : cp –rvfp mydir2 mydir

Tip-32           Date: 13-Apr-21           Provided By: Ramesh  
Moving files from one location to other (cut and Paste)
👉 mv <filename> <Destination directory>
👉 Command : mv myfile mydir

Tip-33           Date: 14-Apr-21           Provided By: Ramesh  
Moving a Directory from one location to other
👉 mv <dir name> <destination dir name>
👉 Command : mv mydir mydir

Tip-34           Date: 15-Apr-21           Provided By: Ramesh  
Renaming a File
👉 mv <old name> <new name>
👉 Command : mv file1 newfile

Tip-35           Date: 16-Apr-21           Provided By: Ramesh  
Renaming a Directory
👉 The procedure and command for renaming the directory is exactly same as renaming a file.
👉 mv old name new name
👉 Command : mv mydir newdir

Tip-36           Date: 19-Apr-21           Provided By: Ramesh  
Removing a File
👉 rm filename
👉 Command : rm –f filename (without prompting)

Tip-37           Date: 20-Apr-21           Provided By: Ramesh  
Removing an Empty directory
👉 Command : rmdir dirname
👉 Removing a directory with files or directories inside A dir which is having some contents inside it cannot be removed by rmdir command.
👉 There are two ways to delete the directory with contents.
👉 Remove the contents inside the directory and then run rmdir command
👉 Command : rm –rf dirname (where r stands for recursive and f stands for forcefully.




Thank you for giving your valuable time to read the above information.
Follow us on 
Website  www.ktexperts.com
Facebook Page KTexperts
Linkedin Page : KT EXPERTS

Share via:
Note: Please test scripts in Non Prod before trying in Production.
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)

Add Comment