linux 硬盘占用 查看
发表于|更新于|others
|浏览量:
查看各硬盘剩余
1 | df |
查看各文件夹的占用
1 | du -h -d 1 /home/ |
文章作者: developer
文章链接: http://example.com/2020/04/16/linux%20%E7%A1%AC%E7%9B%98%E5%8D%A0%E7%94%A8%20%E6%9F%A5%E7%9C%8B/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Dev!
相关推荐
2019-11-19
linux 常用命令
lsofhttps://www.jianshu.com/p/a3aa6b01b2e1list openfiles 1lsof -i :22 创建用户https://blog.csdn.net/taolusi/article/details/81304057 12adduser:会自动为创建的用户指定主目录、系统shell版本,会在创建时输入用户密码。useradd:需要使用参数选项指定上述基本设置,如果不使用任何参数,则创建的用户无密码、无主目录、没有指定shell版本。 time获取命令执行时间 1234time python3 Oreal.pyreal 0m12.471suser 0m9.756ssys 0m0.251s dnf软件源列表12345# 当前启用的dnf repolist# 全部源dnf repolist all dnf禁用软件源1sudo dnf config-manager --set-disable sublime-text
2018-05-09
linux ubuntu 启用 ssh sftp
stfp底层使用ssh协议所以只要启用ssh即可网上一般的教程支离破碎,难以应用于实际工作以下给出正确做法 1234567891. 编辑配置文件vim /etc/ssh/sshd_config2. 具体内容PermitRootLogin truePasswordAuthentication yes 3. 重启sshservice sshd restart 发现有3个错误 123456Could not load host key: /etc/ssh/ssh_host_dsa_keyCould not load host key: /etc/ssh/ssh_host_ecdsa_keyCould not load host key: /etc/ssh/ssh_host_ed25519_key * Restarting OpenBSD Secure Shell server sshd Could not load host key: /...
2018-02-19
linux zip命令 压缩 不加目录
进入压缩目录 zip -r data.zip *
2018-05-05
linux 常用 命令
df检查文件系统的磁盘空间占用情况 wget下载文件 tar123解压:tar -zxvf /usr/local/test.tar.gz压缩:tar zcvf FileName.tar.gz DirName ps查看进程 12ps -ax ps -ax | less find查找文件 1find / -iname "*a.txt*"
2020-06-04
linux 用户
12groupadd www-datauseradd -g www-data www-data
2023-01-13
manjaro linux 使用记录
当前版本 Linux guojinpc 6.1.1-1-MANJARO 2023-01-13 没有中文输入法这个没有测试 https://blog.csdn.net/a18434646561/article/details/126478470安装的 Fcitx5,参考如下 https://zhuanlan.zhihu.com/p/468426138安装之后,实际上用不了,后来写入文件 ~/.xprofile 123export GTK_IM_MODULE=fcitxexport QT_IM_MODULE=fcitxexport XMODIFIERS="@im=fcitx" l2tp中ipsec无法使用 1yay -S xl2tpd strongswan networkmanager-l2tp virtualbox无法安装增强工具,需要在商城里安装virtualbox-guest-iso 2023-01-14 没有声音 2023-01-15 修改git默认编辑器 1git config --global core.editor vim es...
公告
This is my Blog