Fun little commands for Linux


Preface

Today I would like to recommend some interesting little commands for Linux. We can play around in our leisure time. Let's take a look!


One, MobaXterm

First connect MobaXterm and drag in the small program compression package we want to run.
Insert picture description here

Two, unzip the installation package

1. Unzip

tar -xf /root/tools.tar.gz -C /usr/local/

2. Generate warehouse data files

createrepo /usr/local/tools/other/

3. Configure YUM source

Insert picture description here

4. Finish

Next, we can experiment with our small programs
* Check out those fun small programs we have

ls /usr/local/tools/other/

Insert picture description here
Insert picture description here

Insert picture description here

3. How to tease others

We can change the alias of other people's ls to sl, so that they can summon the little train as soon as they hit the directory command! QvQ

Temporary alias

alias ls=‘sl'

Permanent alias

vim /etc/bashrc

Insert picture description here
Note: Permanent alias needs to restart the computer

to sum up

The above is the fun little program I recommend to everyone, I hope it will be helpful to everyone!

Guess you like

Origin blog.csdn.net/weixin_46791581/article/details/108670776