我的linux笔记
2015-11-20 21:28
495 查看
1. 如何在ubuntu中设置root用户密码?
1> sudo passwd;
2> enter the password for the current user;
3> enter password for the root;
4> reenter password for the root;
5> now you are able to login the ubuntu by using root;
2. 新安装上的linux环境,用xshell一直连接失败
sudo apt-get install openssh-server
3. 拷贝本机/home/administrator/test整个目录至远程主机192.168.1.100的/root目录下
scp -r /home/administrator/test/ root@192.168.1.100:/root/
4. 拷贝单个文件至远程主机
scp /home/administrator/Desktop/old/driver/test/test.txt root@192.168.1.100:/root/
5. 远程文件/文件夹下载
scp -r root@192.168.62.10:/root/ /home/administrator/Desktop/new/
1> sudo passwd;
2> enter the password for the current user;
3> enter password for the root;
4> reenter password for the root;
5> now you are able to login the ubuntu by using root;
2. 新安装上的linux环境,用xshell一直连接失败
sudo apt-get install openssh-server
3. 拷贝本机/home/administrator/test整个目录至远程主机192.168.1.100的/root目录下
scp -r /home/administrator/test/ root@192.168.1.100:/root/
4. 拷贝单个文件至远程主机
scp /home/administrator/Desktop/old/driver/test/test.txt root@192.168.1.100:/root/
5. 远程文件/文件夹下载
scp -r root@192.168.62.10:/root/ /home/administrator/Desktop/new/
相关文章推荐
- Linux命令学习
- Linux gcc,gdb命令及vim配置
- linux中sleep详解实例
- linux-2.6.32在mini2440开发板上移植之DM9000网卡移植
- Linux1.0 kmalloc kfree_s分析
- Linux1.0 kmalloc kfree_s分析
- 基于S3C2440的Linux-3.6.6移植——基于UVC的USB摄像头移植及视频显示
- 和菜鸟一起学linux之V4L2摄像头应用流程
- CentOS 6.5 64bit 安装内核源码编译
- Linux 数据重定向
- Git和GitHub入门(linux环境)
- Linux 下用户(andy)创建的文件可让特定用户(alice)修改
- 如何在Centos 7上面安装软件以及如何生成DesktopIcon(Eclipse+JDK+Mysql)
- Linux 源码下载和学习地址
- 关于linux文件类型总结——APUE学习笔记(3)
- cheng@Linux之基础--GPIO实验
- Linux虚拟地址空间分布
- centos redHat 64位linux 安装iNode客户端
- su、su- 及sudo区别
- linux 定时任务