June 2022

Linux common commands-79: sort

The sort command sorts the files and outputs the sorted results. The sort command can either manipulate files or get it from stdin . Syntax format: sort [parameter] [file] Common parameters: Example # 读取文件test.py的每一行,相互比较,依次ASCII码值进行比较,按升序输出sort test.py # 忽略相同行sort -u test.py This article is reprinted from https://xugaoxiang.com/2022/06/26/linux-cmds-79-sort/ This site is for inclusion only, and the copyright belongs […]

Linux common commands-79: sort Read More »

Linux common commands-78: ldd

The ldd command is used to print the libraries that a program or library file depends on Syntax format: ldd [parameter] [file] Common parameters: Example ldd /bin/ls This article is reprinted from https://xugaoxiang.com/2022/06/26/linux-cmds-78-ldd/ This site is for inclusion only, and the copyright belongs to the original author.

Linux common commands-78: ldd Read More »

Linux common commands-77: diff

The diff command compares text files for similarities and differences line by line. If a folder is specified, diff will only compare files with the same filename in the directory, but not subdirectories within it. Syntax format: diff [parameter] [directory] Common parameters: Example diff test1.py test2.py Among them, “<” means that test2.py has one line

Linux common commands-77: diff Read More »

Linux common commands-76: dhclient

The dhclient command uses the DHCP protocol to configure the network parameters of the network interface. Syntax format: dhclient [parameter] [network interface] Common parameters: Example # 在指定网口上请求dhcp dhclient eth0 # 释放ip dhclient -r This article is reprinted from https://xugaoxiang.com/2022/06/26/linux-cmds-76-dhclient/ This site is for inclusion only, and the copyright belongs to the original author.

Linux common commands-76: dhclient Read More »

cat and lantern

Original link: https://s3-eu-west-1.amazonaws.com/dailyartartwork/img-20220511627b62855fda7 Kobayashi Kiyochika is a Japanese ukiyo-e artist known for his polychrome woodblock prints and newspaper illustrations. His work documents Japan as it was rapidly modernized and westernized during the Meiji period (1868-1912), and employs a sense of light and shade known as kōsen-ga inspired by Western artistic techniques. The woodcut print we

cat and lantern Read More »

Let’s Encrypt Certificate Migration

Original link: https://hsiaofeng.com/archives/195.html Packaging the certificate on the origin server cd /etc/letsencrypt tar zcf letsencrypt.tar.gz archive live renewal Release the certificate on the new server cd /etc/letsencrypt tar zxf letsencrypt.tar.gz This article is reproduced from: https://hsiaofeng.com/archives/195.html This site is for inclusion only, and the copyright belongs to the original author.

Let’s Encrypt Certificate Migration Read More »

Regarding the fact that the newly unsealed ladder took 10 minutes to be sealed again

Original link: https://unmei.cn/20220626-840.html a sad story, Update the app on the google store, Just try to unblock the ladder ip. It works, but it can’t connect again after half of the update. My ip is being monitored, and people are numb. It’s not good to build it by yourself, it is estimated that you will

Regarding the fact that the newly unsealed ladder took 10 minutes to be sealed again Read More »

Magician, School Talk and Girl Idol – Talk about the three animations I watched recently

Original link: https://www.velasx.com/am/6012 magician’s bride I accidentally saw the new OVA “The Boy of the West and the Knight of Qinglan” from “The Magician’s Bride” on the video website. I was immediately surprised by the excellent production, and I felt that the setting was very interesting, so I found time to watch the TV version

Magician, School Talk and Girl Idol – Talk about the three animations I watched recently Read More »

Reset MoneyWiz data

Original link: https://www.ixiqin.com/2022/06/23/reset-moneywiz-data/ My MoneyWiz has been in use for 4 years. Since June 2018, a large amount of consumption data and income data have been recorded. Over the past four years, I have recorded more than 6,000 pieces of data on MoneyWiz, which recorded my spending habits, living habits, and historical trajectories in the

Reset MoneyWiz data Read More »