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