Classic Linux Commands: Everything you need to know

This blog is about Classic Linux Commands: Everything you need to know. We will try our best so that you understand this guide. I hope you like this blog, Classic Linux Commands: Everything you need to know. If your answer is yes, please do share after reading this.

So lets keep reading for intertesting info:

Check Classic Linux Commands: Everything you need to know

The Linux operating system is used in a wide range of devices, including smartphones, cars, supercomputers, home appliances, personal PCs, and business servers. Since its introduction in the mid-1990s, Linux has grown to have a global user base. You can find Linux on your phones, thermostats, cars, refrigerators, Roku players, and TVs, among other things. It also operates the world’s top 500 supercomputers, most of the Internet, and the world’s stock exchanges. Linux is one of the most reliable, secure, and worry-free operating systems out there, as well as being the preferred platform for PCs, servers, and embedded systems around the world. Here is all the information you need to get familiar with the Linux operating system.

Classic Linux Commands: Everything You Need to Know

cat vs bat

‘Cat’ (short for ‘concatenate’) is a command that allows us to create or merge files, or ‘print’ them to standard output (display them in the terminal or redirect them to another file). For its part, ‘bat’ (defined as ‘cat with wings’) replaces cat in all its functions, adding other useful ones such as automatic syntax highlighting for a large number of programming and markup languages, integration with Git (highlighting the modifications ), automatic pagination, or the option to display non-printable characters.

Cd vs Zoxide (Z)

Possibly the most used command when working with the terminal, ‘cd’ (acronym for “change directory”) does just that, allowing us to change directories (folders) to execute the pertinent commands in each one. But what if ‘cd’ kept track of the directories we use most often and used a sorting algorithm to navigate to the best match, avoiding having to type complex paths over and over again? Well, then the program would be called Zoxide and it would use ‘z’ as the command.

diff vs diff-so-elegant

‘Diff’ (abbreviation of “difference” in English) allows us to visualize the differences between two files or two directories. Obviously, it is one of the most used commands by developers, frequently in combination with Git, to find out which lines of code have changed between two versions of the same program. However, a common criticism of ‘diff’ is that it seems more intended to be machine-readable than human-readable; therefore, to better recognize changes at a glance, they have launched ‘diff-so-fancy’, which dispenses with the use of symbols such as ‘+’ and ‘-‘, and opts for improved text highlighting.

Du vs. Ncdu

‘Du’ (acronym for ‘disk usage’) is a command that allows us to show how many directories and files occupy the disk, allowing, depending on the arguments that we are passing to the program, to know which ones occupy the most. Thus, if we wanted to know the 5 largest directories and display them in human readable units (MB, GB, etc.) in screen order, we would write something like the following: However, ‘ncdu’ is an alternative that not only directly It shows us the same information as the previous complex command, but it is accompanied by bar graphs and allows us to navigate between directories to know, in turn, the ‘weight’ of each of the folders they contain. Or remove them.

Search against Fd

‘Find’ literally means “find” in English; and that is precisely its mission, to search for files on the hard drive following the criteria that we provide (the name of the file or part of it, the name of the user, the size of the file, etc). `Fd’ does not include as many options and modifiers as `find’, but it is a simpler alternative in most cases. So, for example, where to find any MP3 file in the current directory, before it was written

Ls (and tree) vs. Exa

‘Ls’ is probably close to ‘cd’ in terms of frequency of use by Linux users. Its function is very simple: list the files and folders within a directory, the equivalent of opening it in the file explorer. ‘Tree’ would be the equivalent of this navigation pane, displaying all subdirectories in a tree format. Well, ‘Exa’ offers the same functions as both, but making use of a color output that allows us to differentiate file folders at a glance, as well as identify permissions and owner users, and shows extra information if we view Git repositories, in addition to handle dates in standard format (and not in the Anglo-Saxon one).

Man vs. TLDR

Nowadays it is common to search Google for information on how to use any program that we are not familiar with, but at that time, in the beginning of Unix, neither Google nor the Internet existed, so the documentation of each program was installed. along with it and was (and is) searchable using the ‘man’ command. The problem with ‘man’ is that the first-time user who uses it sees a huge paragraph drop with all the detailed options of the consulted program, and that is not always useful. In many cases, more than a manual we need a cheat sheet, and that is what ‘tldr’ offers us: summarized versions of the manuals for each command, focused on showing us practical and simple examples.

Final words: Classic Linux Commands: Everything you need to know

I hope you understand this article, Classic Linux Commands: Everything you need to know. If your answer is no, you can ask anything via the contact forum section related to this article. And if your answer is yes, please share this article with your friends and family to give us your support.

Editorial Staff
Editorial Staffhttps://www.bollyinside.com
The Bollyinside editorial staff is made up of tech experts with more than 10 years of experience Led by Sumit Chauhan. We started in 2014 and now Bollyinside is a leading tech resource, offering everything from product reviews and tech guides to marketing tips. Think of us as your go-to tech encyclopedia!

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Related Articles

Best Telemedicine Software: for your healthcare practice

Telemedicine software has transformed my healthcare visits. It's fantastic for patients and doctors since they can obtain aid quickly. I...
Read more
I love microlearning Platforms in today's fast-paced world. Short, focused teachings that engage me are key. Microlearning platforms are great...
Think of a notebook on your computer or tablet that can be changed to fit whatever you want to write...
As of late, Homeschool Apps has gained a lot of popularity, which means that an increasing number of...
From what I've seen, HelpDesk software is essential for modern businesses to run easily. It's especially useful for improving customer...
For all of our important pictures, stories, and drawings, Google Drive is like a big toy box. But sometimes the...