Tutorials on Linux, Programming & Technology

Fix bash make command not found

Fix: bash make command not found

To fix this error, install the make or build-essential package using the given command. Users can also reinstall the make command to fix this error.

awk replace string in a file

awk | Replace String in a File

In any file of Linux, String can be replaced using the awk command with “$” variables or the global substitutions (gsub).

How to Check WSL Version

How to Check WSL Version?

To check the current version of WSL, the “wsl –list –verbose” or “wsl -l -v” command is utilized in the Windows Command Prompt.

Fix ssh connection refused port

Fix: ssh connection refused port 22

The “ssh connection refused port 22” error can be resolved by installing “OpenSSH” packages or checking the active status of SSH services or port numbers.

Fix: No LSB modules are available

To fix No LSB modules are available, install the “lsb-core” package or if already installed, then try to remove it and then reinstall it.

How To Install RustDesk on Ubuntu 22.04

How To Install RustDesk on Ubuntu 22.04?

On Ubuntu 22.04, the RustDesk application can be installed using the “sudo apt install ./rustdesk.deb” command. It is not available on the official repository.

How to Count Lines in a Linux File

How to Count Lines in a Linux File?

To count the lines in a Linux file, different methods are used, like, wc (word count), grep, sed, awk, nl (number of lines), and perl commands.

-bashrc in Linux Explained

.bashrc in Linux | Explained

In Linux, the .bashrc configuration file is executed when the user logs in. It can be used to create custom functions for various commands or operations.

Less Command in Linux Explained

less Command in Linux | Explained

In Linux and its distributions, the “less” command helps get the content of the file in an organized way. Read out this post to learn more.

Linux rm command explained

Linux rm Command | Explained

The “rm” command can delete or remove files from the specified directory in Linux. It contains a lot of supported options mentioned in this guide.

Linux Server Monitoring Commands

Linux Server Monitoring Commands

Several commands are used as server monitoring tools, like; top, ps, vmstat, lsof, free, tcpdump, and netstat, which help us to monitor system performance.

How to Run a Program in Linux

How to Run a Program in Linux?

In Linux, a program can be run using different methods, including GUI, terminal, Run command, and custom shortcut keys, as discussed in this article.

How to Install G++ on Ubuntu

How to Install G++ on Ubuntu?

On Ubuntu, the G++ compiler can be installed using the command “sudo apt install g++” or ”sudo apt install build-essential” package.

Cal command in LinuxExplained

cal Linux Command | Explained

The “cal” command displays the current/specific month and year calendar. To execute this command, install the “ncal” (new calendar) package in Linux.

How to print integer values in Python

How to Print Integer Values in Python?

To print integer values, the “print()” function, “f-string” method, and “sys.stdout.write()” function of the “sys” module are used in Python.

What is the Super Key

What is the Super Key?

In Linux, the super key is the system key which can be used with other keys as shortcut keys. Shortcut keys give the user quick access to specific tasks.

How Many Threads Per Core

How Many Threads Per Core?

Threads provide an execution path within the process that can be found using the “lscpu” command in the terminal. Read this article for more details.

What Port Does SSH Use

What Port Does SSH Use?

In Linux systems, SSH uses Port 22 that can visualize through the “getent” command, “systemctl” command, and “sshd_config” file

Fix syntax error unexpected end of file

syntax error: unexpected end of file

The error “syntax error: unexpected end of file” occurs due to the syntax error like the closing bracket missing or the loop is started but not closed.

Chown Command in Linux

Chown Command in Linux | Explained

The Linux “chown” command changes the ownership of files, directories, or groups. The file ownership is changed using the “sudo chown owner filename” command.