Welcome to CodePre.com

Commands and codes

How to connect to the server using the Chrome web browser

You can use a famous tool Putty to connect to the server via SSH or Telnet. However, there is another way that you can connect using a browser. Yes, you heard that correctly, you can connect the server using the Chrome web browser. No need for Putty tool. Using the Chorme Secure Shell extension, you… read more »

How to install kubectl plugin in Kubernetes using Krew

Crewe is a kubectl A command line tool for discovering, managing and installing kubectl plugins. It works like yum, brew and apt. Krew supports more than 100 kubectl plugins. For developers, you can use Krew to package and distribute plugins on different platforms and make them available to users through a centralized repository. In this… read more »

Enable File Browser in Ubuntu 20.04’s default Gedit text editor

Do you regularly edit files with Ubuntu’s default text editor? Even if you don’t search for documents in a file (Nautilus File Browser), gedit has a built-in file browser mode that makes your work easier. This is a beginner’s guide and shows how to enable this built-in file browser mode in the Gedit text editor…. read more »

Remote network monitoring to increase remote labor

You can download this article in PDF format via the link below to support us. Download the guide in PDF formatturn off The growing trend of remote work has become the new normal for most modern enterprises. Therefore, companies with multiple branches, offices, and data centers around the world are facing new challenges in monitoring… read more »

How to get detailed information about system hardware in CentOS 8

When working with a Linux distribution, the user may need hardware information and basic system information for the current working system. Whether you are a software developer or a regular Linux user, you may need to check your system’s software and hardware compatibility. The Linux command line system provides built-in commands with which the user… read more »

🐧 How to find hidden directories, files and folders Linux / Unix

Linux / Unix: Find hidden directories, files and folders How to find hidden folder or directories on Unix-like operating systems? You can use find command to find files. Syntax: find /path/to/search -name “folder” find /path/to/search -name “dir1” find /path/to/search -name “.dir2” find /path/to/search -name “filename.txt” find /path/to/search -name “dir*” Open a command prompt (bash shell)…. read more »

🐧 Bash function for extracting file archives of various types

There are many applications for extracting different types of archive files. It will be difficult for you to remember all the options and parameters of each archiving tool. Today I came across a simple Bash function for extracting file archives of various types on Linux. This Bash function can extract the most commonly used archive… read more »

🐧 How to enable rc.local shell script in systemd at Linux boot

We can easily enable rc.local shell scripting support in systemd when the Linux system boots. Traditionally, the /etc/rc.local shell script is used by Linux developers and sysadmin to invoke other scripts or commands after all services have loaded. Typically /etc/rc.local is called at the end when Linux init switches to multi-user runlevel. However, by default,… read more »

Packet analyzer: 15 tcpdump command examples

Tcpdump is also called a packet sniffer. The tcpdump command will work on most flavors of the UNIX operating system. tcpdump allows you to save captured packets so that we can use the captured packet for further analysis. The saved file can be viewed with the same tcpdump command. We can also use open source… read more »

🔐 How to view your SSH keys on Linux, macOS and Windows

If you don’t know how to view SSH certificates, we will show you how to implement it on Linux, macOS, and Windows. There are times when you really need to look at your SSH certificates on Linux. What for? Let’s say for example you need to add a certificate to authenticate to GitHub (or any… read more »