Linux
冯智
这个作者很懒,什么都没留下…
展开
-
sudo用户配置
sudo:为非根用户授予根用户得权限。/etc/sudoersvisudo命令:可修改sudoers配置文件**root ALL=(ALL)ALLuser ALL=(root)ALLtest ALL=(root)ALL 1 2 3 41:可使用sudo命令原创 2017-08-01 01:58:22 · 317 阅读 · 0 评论 -
yum与apt-get使用差异
一般Linux分两大类:1.RedHat系列:RedHat、CentOS、Fedora等2.Debian系列:Debian、Ubuntu等RedHat系列:1.常见安装包格式 rpm 包,安装 rpm 包命令是:rpm -参数2.包管理工具 yum3.支持tar包Debian系列:1.常见安装包格式 deb 包,安装 deb 包的命令是:dp原创 2017-08-16 23:49:56 · 259 阅读 · 0 评论 -
Mac 下自定义命令
Mac 下自定义命令:keyword: aliase.g. : alias ll='ls -l'然后在终端输入 ll 即可将所有的alias 的命令保存于 ~/.bashrc文件(没有则创建此文件),然后输入 : source ~/.bashrc 即可生效在此之前,保证有 ~/.bash_profile 文件(没有则创建此文件),在其中加原创 2017-08-20 23:38:46 · 590 阅读 · 0 评论 -
Linux-Bash-seq
seq:用于产生从某个数到另外一个数的所有整数例如:seq 5 ------------ 1 \n 2 \n 3 \n 4 \n 5 (默认从1开始)seq -1 ------------ 1 \n 0 \n -1seq 2 5 ------------ 2 \n 3 \n 4 \n 5seq 5 -1 ------------ 5 \n 4 \n 3 \n 2原创 2017-09-01 21:11:57 · 835 阅读 · 0 评论 -
Mac包管理工具Homebrew
Ubuntu下可以通过apt-get install / updateMac下却不支持apt-get(apt-get是debian下的包管理工具)问题:想在Mac下安装git(sudo apt-get install git 安装失败,提示apt-get commond not found)解决:Homebrew1.安装Homebrew>>>ruby -e"$(curl原创 2017-09-19 15:58:00 · 338 阅读 · 0 评论 -
Ubuntu install sogoupinyin
1. download package :sogoupinyin_2.2.0.0102_amd64.deb2.System settings --> Language Support -->Keyboard input method system -->fcitxif fcitx is not existing , input as follows :"sudo apt-ge原创 2017-11-22 10:36:01 · 536 阅读 · 0 评论