-
NcFTP 是 Linux 上常用的 FTP客户端工具,非常好用,这里记录它的常见用法。 ncftp FTP浏览工具 1$ ncftp 2# 一定注意参数顺序 3ncftp > open -u <username> -p <password> <remote-host> 4# 使用被动模式传输 5ncftp >
阅读更多 -
文件合并 1cat info.log error.log > merge.log.bak 2cp merge.log.bak merge.log 文件拆分 文件截取 linux分片切割CSV文件_linux 如何快速把csv文件拆分成多个-CSDN博客
阅读更多 -
安装 xrdp 1$ sudo apt install xrdp 启动xrdp服务,并设置为开机启动 1$ sudo systemctl start xrdp 2$ sudo systemctl enable xrdp 解决黑屏/空屏/无画面 1$ nano /etc/xrdp/startwm.sh 1unset DBUS_SESSION_BUS_ADDRESS 2unset XDG_RUNTIME_DIR 3. $HOME/.profile 重启deepin,使用Xorg
阅读更多 -
systemctl命令 1systemctl list-units ##列出当前系统服务的状态 2systemctl list-unit-files ##列出服务的开机状态 3systemctl status sshd ##查看指定服务的状态 4systemctl stop sshd ##关闭指定服务 5systemctl start sshd ##开
阅读更多 -
脚本基于Centos 7 更换阿里云软件安装源 1# 备份原镜像文件,以免出错后可以恢复。 2$ mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup \ 3&& mv /etc/yum.repos.d/epel.repo /etc/yum.repos.d/epel.repo.backup \ 4&& mv /etc/yum.repos.d/epel-testing.repo /etc/yum.repos.d/epel-testing.repo.backup 5 6# 下载新的CentOS-Bas
阅读更多