Aditya Chatterjee's Blog, page 125
January 21, 2022
Linux networking: ip, whois, dig, ss, ssh, telnet, scp, sftp
In this article we discuss Linux networking commands responsible for peer to peer connections, dns lookups, ip addressing and configuration.
Table of contents.Introduction.ip.whois.dig.sssshtelnetscpsftpSummary.References.Introduction.We discuss Linux commands that find uses on a daily basis for Linux network administrators for both configurations and troubleshooting.
ip.This command is useful for assigning ip addresses to network interfaces, configuring network variables, removi...
Linux text filtering: split, join, comm, cmp, fmt, paste
This article is a continuation of the first two parts, here we continue to discuss more text filtering Linux commands. We cover how to split, join, compare, format and merge data using the Linux command line, to achieve the desired ordered information.
Table of contents.Introduction.split.join.comm.cmp.fmt.paste.Summary.References.Introduction.Text filtering is the process of taking an input stream of text and performing conversions on it before sending it to the output stream. A te...
Linux text filtering: diff, uniq, sdiff, less, more, tr, expand, unexpand
In this article we discuss more linux text filters used to process text data so as to produce useful information. This involve commands like diff, uniq, sdiff, less, more, tr, expand and unexpand.
Table of contents.Introduction.Uniq.Diff.Sdiff.less.more.tr.expand.unexpand.Summary.References.Prerequisites.Text filtering part 1.Introduction.Text filtering is the process of taking an input stream of text and performing conversions on it before sending it to the output stream.
A f...
Linux text filtering: cat, tac, od, wc, head, tail, sort, cut
In this article, we discuss linux filters used to process text data so as to produce useful information. This involve commands like cat, tac, od, wc, head, tail, sort and cut.
Table of contents.Introduction.cat/tac.od.wc.h....Text filtering is the process of taking an input stream of text and performing conversions on it before sending it to the output stream.
A filter is a program that will read standard input(file) and performs an ope...
January 20, 2022
Linux file permissions (chmod)
Linux is a multiuser operating system however this raises security issues, in this article we cover users, permissions, and changing permissions.
Table of contents.Introduction.Classes of users.Permissions.Changing file permissions.Changing file permissions(numeric).Changing file and group ownership.Special permissions.Summary.References.Introduction.Just like the UNIX operating system, linux is a multi-user operating system, that is, it can be accessed and used by multiple users co...
Cron in Linux (crontab)
In a system repetitive tasks such as making backups, system updates can turn out to be very time consuming, in this article we discuss how to automate this process using cron, a linux utility.
Table of contents.Introduction.Syntax.Editing crontab.Creating a cronjob.Removing crontab tasks.Access control.Anacron.Summary.References.Introduction.Cron from the greek word chronos meaning time. cron on the other hand is a system process that automatically performs tasks specified by a sche...
Mathematics for Computational Geometry: Circle Theorems, Polygon
In this article, we have covered Mathematics for Computational Geometry focused on 2D Shapes such as Circle properties/ theorems, Polygons and more.
Table of ContentsIntroductionCircle TheoremsPolygonsOverviewIntroductionIn the last section, we covered the basics of geometry including points, lines, curves, and some information about 2D shapes like triangles and circles. In this article, we shall further expand on this, covering topics such as circle theorems, polygonal shapes and more.
...Mathematics for Computational Geometry: Points, Lines, Angles, Circle, Triangle
In this article, we have explored the basics of Mathematics for Computational Geometry including Points, Lines, Angles, Circle, Triangle and other topics.
Table of ContentsIntroductionPointsLines and CurvesAnglesVectorsCirclesTrianglesOverviewIntroductionGeometry is a branch of mathematics which is concerned with the properties, angles, measurements, shape and size of space. Generally, geometry is fundamentally based on points, lines and planes in a given space. In most cases, we wi...
January 19, 2022
Mathematics for Analyzing Algorithms
In this article, we are going to explore about mathematics involved in analyzing algorithms and calculate Time Complexity. Before we jump into our main article, first we will know about what is algorithm. Basically an algorithm is nothing but some steps used to perform a specific task. In computer science we say that algorithms are steps which we need to perform to complete a particular task.
The important thing is that we need to be very careful while analyzing algorithms. Algorithms need to be...
Recurrence Tree Method for Time Complexity
In this article, we have explored Recurrence Tree Method for calculating Time Complexity of different algorithms.
Contents
IntroductionRecursion Tree MethodExampleWhere to use Recursion Tree MethodIntroductionA recurrence is an equation or inequality that describes a function in terms of its value on smaller inputs. There are multiple types of recurrences (or recurrence relations), such as linear recurrence relation and divide and conquer recurrence relations. An example of a recurrence r...