Linux Command: clear and reset (with clear left and right hotkeys)
Use the following command to get a clear terminal screen. The following commands are handy and provide very easy-to-use options and/or shortcuts.
Use the following command to get a clear terminal screen. The following commands are handy and provide very easy-to-use options and/or shortcuts.
Using the technique of piping we can send the standard output of one command as the standard input of another command. This way we can build a complex and advanced process(step-by-step) to perform complicated tasks.
Use “cd” to change the working directory.
We can create a shortcut or alias of any command. This is useful when we have some complex command that we use frequently, and we want an easy way to run that command, instead of copying and pasting it over and over again.
Linux commands are case-sensitive and are written in lowercase. Let’s take a look at some basic information about Linux commands, and then we will dive deep into the individual commands.
An object in Python(and in general OOP) is a collection of data, and the behavior associated with the different aspects of the object. Object-Oriented Programming(OOP) refers to, objects being the primary focus while programming and modeling all real-world entities as objects. So when we analyze a problem, we need to identify 2 things- Class is … Read more
Operator Description + Addition – Subtraction * Multiplication / Division // Floor division ** Power % Reminder Addition Output: Subtraction Output: Multiplication Output: Division Output: Floor Division Output: Reminder Output: Power Output: Precedence of Mathematical Operators Not all operators have the same precedence. Based on the operators’ priority/precedence, the evaluation sequence will change. Let’s check … Read more
NOTE In this article, we are discussing in detail, the implementation of Breadth First Search(BFS) JavaScript and TypeScript. Check the link below to check the details of Breadth First Search(BST)- Step #1: Node Class Step #2: BfsTree Class Step #3: Insert Method Step #2: bfs Method Full Source Code Demo Output: Testing Time Complexity Operation … Read more
Generator is a special type of function that produces a series of values over time. That means we can use a generate and get a value, then stop, and later get the next value. This is the process of lazy generation of sequence of values.
Python package is a collection of modules in a directory. To tell Python, that this directory should be considered a package, we have to add a file named __init__.py Python package is a directory that contains a __init__.py file and a set of modules. The name of the directory is considered as the name of … Read more