摘要:
linux: date 命令的用法 一、date 命令的用法 1、zsh(ubuntu22.04.2) 1 ➜ null date "+%Y-%m-%d %H:%M" 2 2023-09-10 03:10 3 ➜ null 4 ➜ null 5 ➜ null date "+%F %T" 6 2023 阅读全文
摘要:
os: fedora38 系统更新脚本 - update - (echo 'PASSWORD' | sudo -S <command>) 一、update脚本内容(echo "PASSWORD" | sudo -S <command>) 1、update 1 [wit@fedora null]$ c 阅读全文
摘要:
c/cpp: g++ 设置(fedora38) 一、基本配置信息 [wit@fedora null]$ cat /etc/bashrc # /etc/bashrc # System wide functions and aliases # Environment stuff goes in /etc 阅读全文
摘要:
database: 远程无法访问ubuntu22.04的数据库mariadb 一、mariadb软件版本信息 1、mariadb 软件版本信息: [wit@on null]$ mysql -u■ -p Enter password: Welcome to the MariaDB monitor. C 阅读全文
摘要:
python3: pip3 网络源配置 一、pip3 网络源配置 1、没有的路径、文件,要自己建立。 [wit@on .pip]$ cd ~/.pip [wit@on .pip]$ [wit@on .pip]$ [wit@on .pip]$ ls pip.conf [wit@on .pip]$ [w 阅读全文
摘要:
ps:20230501~20230630停更原因的说明 为了生计,努力工作。 阅读全文
摘要:
php: composer配置 一、composer下载 1、composer 网站: https://developer.aliyun.com/composer 2、composer 最新版本下载(下载文件composer.phar): https://mirrors.aliyun.com/com 阅读全文
摘要:
os: pv 命令 - 显示数据处理的进度条 一、pv 命令 1、pv 命令功能:显示数据处理的进度条 2、pv 命令安装: sudo apt install -y pv dnf install -y pv 3、pv 命令说明: [wit@on tmp]$ pv --help Usage: pv [ 阅读全文
摘要:
os:ubuntu 使用防火墙firewalld 一、ubuntu22.04安装防火墙firewalld 1、安装防火墙 sudo apt install -y firewalld 2、开启防火墙 sudo systemctl start firewalld 3、开机启动防火墙 sudo syste 阅读全文
摘要:
python3:函数装饰器 一、代码 1 wit@on:python3$ cat zhuangshiqi 2 #!/usr/bin/env python3 3 4 5 6 7 # import part 8 import os 9 import time 10 11 12 13 14 # print 阅读全文