Linux-mail邮件系统 相关环境变量默认邮件存储的位置:$MAIL 如何向其他地址发送邮件https://serverfault.com/questions/301657/linux-send-email-to-another-address-instead-of-var-spool-mail-root 邮件管理程序 mutt默认mutt是按照接收邮件的顺序来显示邮件。在~/.muttrc中加入如下配置可以让mu 2021-01-11 #Linux #mail
Linux-CentOS用户管理 创建用户adduser vip 为新用户设置密码passwd vip 授予Sudo特权sudo usermod -aG wheel vip 2021-01-02 #Linux
Linux-磁盘管理 https://www.cnblogs.com/mafeng/p/10696956.htmlhttp://www.eguidedog.net/linux-tutorial/08-df-du.php 查看磁盘空间使用量 df -hl fdisk -l lsblk lsusb Linux磁盘使用率查看命令详解在Linux系统中,有多个命令可以用于查看磁盘使用率,包括df -hl、fdisk -l、 2020-11-04 #Linux #磁盘管理
macOS-macOS中被Finder识别为一个文件的目录后缀名 macOS中被Finder识别为一个文件的目录后缀名,这些目录名可从对应的App的info.plist中Document Type字段和Exported Type Identifiers字段查看。 *.app识别为应用程序 *.appex 应用程序和系统扩展 *.bundle *.Dictionary *.download 识别为 safari 下载包 *.iBooks 电子出版物(Apple 2020-11-04 #macOS
Linux-lsof命令查看端口 监控 macOS 中的磁盘活动查找哪些进程访问了哪些目录、文件。 类似的命令还有fuser -mv /mnt/udisk fs_usage 列出所有的网络连接lsof -i 列出所有tcp网络连接信息lsof -i tcp 列出所有udp网络连接信息lsof -i udp 查看某个端口被哪个程序占用lsof -i :8080 查看某个tcp端口被哪个程序占用lsof -i tcp:8080 2020-11-04 #Linux #macOS
Windows-dism工具的使用 清理更新 12345Dism /Online /Cleanup-Image /StartComponentCleanup /ResetBase# 分析使用情况Dism /Online /Cleanup-Image /AnalyzeComponentStore 2020-11-01 #Windows #dism
Linux-CentOS安装教程 准备 下载系统镜像 https://www.centos.org/download/ -> [alternative downloads]( alternative downloads) -> 选择一个版本点击mirrors -> 从镜像地址下载需要的系统镜像文件 这里选择的镜像文件是:http://mirror.bit.edu.cn/centos/8.1.1911/isos/ 2020-06-19 #Linux
macOS-Homebrew修改为国内镜像 替换brew.githomebrew托管于github,更新homebrew就是从git上拉取最新的版本。有时候git的速度也很慢,会导致更新受阻,那么就需要给git仓库换一个远程地址。 12cd "$(brew --repo)"git remote set-url origin https://mirrors.ustc.edu.cn/brew.git 或者:export 2020-05-20 #Homebrew #brew #macOS
Linux-squid代理缓存工具 https://blog.csdn.net/qq_38228830/article/details/88314185 macOS中 安装:brew install squid 可执行文件位置:/usr/local/Cellar/squid 默认配置文件位置:/usr/local/etc/squid.conf 日志位置:/usr/local/var/logs/access.log cache日志位置 2020-05-17 #Linux #squid
Linux-Debian的安装 Debian 版本https://www.debian.org/releases/index.zh-cn.html https://www.debian.org/releases/stable/amd64/apbs02.zh-cn.html 设置 Debian 源 1 精简 12345apt-get update && apt-get upgradeapt-get - 2020-05-16 #Linux