How to change MAC address in Linux

Before showing you how to change the MAC address in Linux, let's first discuss why it should be changed. There may be several reasons. Maybe you don't want to expose your actual MAC address (also known as a physical address) on a public network? It is also possible that the network administrator has blocked specific MAC addresses in the router […]

Why I recommend to use aapanel on Linux server?

aapanel is a very useful dashboard, with which you can easily manage your websites. You can easily install it by using the following command. CentOS yum install -y wget && wget -O install.sh http://www.aapanel.com/script/install_6.0_en.sh && bash install.sh Ubuntu/Deepin and Debian wget -O install.sh http://www.aapanel.com/script/install-ubuntu_6.0_en.sh && sudo bash install.sh The picture above shows the homepage of aapanel. It's very powerful. You […]

How to insert multiple lines into a batch of text files on Linux system with sed

Question description This question come from when I want to insert Google Analytics code into HTML files. Let's have a look on the code. <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-155361814-3"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-155361814-3'); </script> I run four sites on my Rock64 (an alternative of […]

Use Tuir to Read Reddit on Linux terminal

Short breaks are important for maintaining productivity. One of my favorite places to go during my break is Reddit, which might be a great resource if you want to. There I found various articles about DevOps, productivity, Emacs, chicken, and ChromeOS projects. These discussions can be valuable. I also paid attention to some daughter boards with only pictures of animals, […]

Install screenfetch and linux_logo on Linux System

Want to show the cool logo and basic hardware information of your Linux distribution on the screen? Check out the amazing screenfetch and linux_logo tools. How to run them when login please check out a post talks about how to execute commands after login. screenfetch screenfetch is a command line script that displays system / theme information in a screenshot. […]

Play Tetris on Linux Terminal

I finished a project that allows you to play Tetris on Linux terminal. Here's the screenshort of this game. It's written in Linux Shell script. If you like it, you may fork and star it git clone https://github.com/You0916/terminal_games.git In that repo, there are also a classic game Snack and a Terminal clock. Like this: All of them are written in […]