linux 复制文件
发表于|更新于|others
|浏览量:
将文件复制到指定目录
- 进入指定目录
- 执行如下命令, *.*表示当前目录
1 | mv /usr/xu/* . |
文章作者: developer
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 Dev!
相关推荐
2018-02-19
linux zip命令 压缩 不加目录
进入压缩目录 zip -r data.zip *
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: /...
2022-12-26
kubuntu 卡住 如何重启-
按住ctrl + alt 依次按下 SysRq(PrScrn),R,E,I,S,U,B
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-11-29
linux 创建软连接
1ln -s /data/wwwroot/default/storage/app/public storage
2018-07-03
linux 文本搜索 grep
实例 1php -i|grep php.ini 前面是命令 后面是要搜索匹配的值
公告
This is my Blog