
Ubuntu
文章平均质量分 57
dijk
这个作者很懒,什么都没留下…
展开
-
Ubuntu: Use crontab to execute a job periodically
Create t1.sh in /home/vandy/crontab directory#!/bin/shecho "=============`date`=================" >> /home/vandy/test1.logenv >> /home/vandy/test1.logWe can see the outputs in test1.log fileCreate c原创 2015-05-31 11:46:17 · 564 阅读 · 0 评论 -
Ubuntu: Install newest firefox
1)ALT+F2gksuadd-apt-repository ppa:mozillateam/firefox-stableCHECK RUN INTERMINALRUN2)ALT+F2gksu apt-getupdateCHECK RUN INTERMINALRUN3)ALT+F2sudo apt-getinstall firefoxCHECK RUN INTERMINALRU原创 2015-05-31 17:13:08 · 429 阅读 · 0 评论 -
Ubuntu: ssh-keygen
Install openssh-client firstsudo apt-get install openssh-clientSupposeComputer A(192.168.1.111), Computer B(192.168.1.123)Login Computer Assh-keygen -t [rsa|dsa]this will generate: id_rsa, id_rsa.pub原创 2015-05-31 11:38:42 · 948 阅读 · 0 评论 -
Ubuntu: 忘记登陆密码
本文以ubuntu 14.04 64位为例1). 开机长按左上角Esc键,进入GRUB界面,选择高级选项如下图2). 选择recovery mode,如下图3). 选择root Drop to root shell prompt,如下图4). 如果用户名也忘记了,可以通过命令cat /etc/shadow来查找,否则可直接进入第5步cat /etc/shadow5). 输入命令passwd “用户名原创 2017-06-04 22:54:06 · 841 阅读 · 0 评论 -
Ubuntu: Command: 设置root密码
Ubuntu设置root密码终端输入sudo passwd root,在[sudo] password for landry:后输入当前用户的密码当前用户密码验证通过后输入需要设置的root超级管理员账户密码Enter new UNIX password:验证输入的密码Retype new UNIX password:出现passwd: password updated succe...原创 2019-02-19 09:08:53 · 314 阅读 · 0 评论