Commands — Page 5

26.11.2021
15 524
Knowledge base / Commands
How the ping command works

Surely you have faced a situation when the Internet on your computer suddenly breaks, such behavior can be observed when using ADSL modems, long distance Wifi, GSM and other similar unreliable technologies. You can quickly find out if your computer has internet by using the ping utility.

26.11.2021
31 888
Knowledge base / Commands
What Less means in Linux

The less command allows you to rewind the text not only forward but also backward, search in both directions, go straight to the end or the beginning of the file. The peculiarity of less is that the command does not read the text completely, but loads it in small fragments.

17.11.2021
24 737
Knowledge base / Commands
Du command in Linux

In some cases you may need to see how much space files occupy in a certain folder and find the largest files to delete. There are several tools to solve these tasks, but the simplest of them is the du utility. It allows you to display the size of all files in a certain folder in bytes or in a more convenient format. Let's see what the du Linux command is and how to use it to solve your work tasks.

14.11.2021
8 875
Knowledge base / Commands
What the stat command does in Linux

Each file and folder in the file system has a so-called Inode structure where the metadata of this object is stored. It stores the owner, owner group, time of modification, creation and access to the file, as well as other information. It can be seen not only with the help of file system debugging tools. Certain information is shown by the ls utility, but if you need more, you can use the stat command. Below we will tell you how to use this command in Linux.

20.03.2021
15 274
Knowledge base / Commands
What the pwd command does in Linux

This is a very simple utility that allows you to display the path to the current folder in the terminal. At startup each program gets the current folder, where all operations with files of this program will take place, if no other path is specified. Relative paths will also be counted from this folder.