What are LEX programs? How to write them?

How to Write, Compile and Run Lex Program in Linux

LEX programs are used in “Lexical analysis” of the input stream, which is to break the input stream into usable and meaningful elements. The job of a lexical analyzer is to identify and match the patterns from the input stream with respect to the rule part mentioned in the LEX program. Structure of a LEX … Read more

How to Print files in Linux Using Command Line

Printing a file is one of the basic functionalities provide by the linux operating system, rather than just printing a file its provides us with a variety of options like to reformat it to adjust the margins, highlight some words, change text orientation and more. Undoubtedly we can print a file directly without passing any … Read more

Script to delete files in Linux

Linux is a powerful operating system, it consists of various tools which can be utilised by the user to achieve maximum efficiency in his/her work routine. Linux provides user with a fluid environment where the user can run some scripts to carry out some basic working and functionalities. Today we will see how can we … Read more

Script to Make an Instagram Bot to get Followers

Backstory: So last week during my internship one of the work assigned to me was to go and follow some random profiles on Instagram through the company’s page. You might wonder why would someone do that, even I thought the same but when I tried,  it actually worked. Instagram’s algorithm suggests people to visit your account if you are … Read more