Linux
飘香的饭团
这个作者很懒,什么都没留下…
展开
-
怎样解决 “sudo: /etc/sudoers.d is world writable”
Run pkexec chmod 0755 /etc/sudoers.dpkexec will use a different method of using root permissions, bypassing the issue.And the chmod will fix the permissions.转载 2016-06-13 10:24:40 · 9222 阅读 · 0 评论 -
ubuntu安装openwatcom时Core Dump 错误
输入命令export TERMINFO=/lib/terminfo原创 2016-06-13 20:39:46 · 395 阅读 · 0 评论 -
安装低版本gcc
在Ubuntu 12.04中的默认的GCC版本是4.6。但是这个版本在编译android 4.0源码的时候会出差,下面是安装和设置GCC4.4的方法。下文来自网络:http://mjanja.co.ke/2012/04/ubuntu-gcc-4-4-considered-harmful/I’ve been having some problems with Ubuntu 1转载 2016-06-14 14:28:09 · 1659 阅读 · 0 评论 -
$0 $n $* $# $$ $! $?
$0 这个程式的执行名字$n 这个程式的第n个参数值,n=1..9$* 这个程式的所有参数,此选项参数可超过9个。$# 这个程式的参数个数$$ 这个程式的PID(脚本运行的当前进程ID号)$! 执行上一个背景指令的PID(后台运行的最后一个进程的进程ID号)$? 执行上一个指令的返回值 (显示最后命令的退出状态。0表示没有错误,其他任何值表明有错误)$- 显示shell使用的当前选项原创 2016-06-17 09:04:53 · 340 阅读 · 0 评论