Head command in Linux

Head command in Linux

Blog How to read logs in Linux head is a command for Unix systems, including GNU/Linux, used to show the first lines or characters from given files, for each separately. By default, it displays the first ten lines, we can change it with the appropriate options. Cat , less , more are more commonly used…

How to read logs in Linux

How to read logs in Linux

Blog How to read logs in Linux Linux stores its log files in the /var/log directory in text format. tail command The tail command is the most common solution for viewing a real-time log file. However, the command to view the file has two versions, as shown in the following examples. The tail command needs…

Basic PowerShell commands

Basic PowerShell commands

Blog Basic PowerShell commands PowerShell is a cross-platform task automation solution composed of a command-line shell, a scripting language, and a configuration management framework. PowerShell runs on Windows, Linux, and macOS. Get-Help The Get-Help cmdlet serves as documentation, in other words, it displays help for commands Get-Help command Get-Help Get-Process Get-Help parameters parameter -Examples, displays…