Ubuntu使用小技巧(持续更新2011.9.26)

1,删除Ubuntu面板设置~  

rm -rf ~/.gconf/apps/panel

解决问题:面板中邮箱不知原因消失,或者面板上的配置信息错误,可以删除panel的配置,让系统重新自动生成一次,缺点面板中添加的快捷方式和命令也会被删掉


2,Ubuntu的垃圾箱位置

cd ~/.local/share/Trash/

解决问题:垃圾箱偶尔会出现打开而不显示文件的问题,如果需要恢复文件,去这个目录下面找即可


3,bin 和 usr/bin sbin 的区别


The /bin and /usr/bin directories contain public commands. Those commands may be in binary, or in shell format.
Binary format commands are those written in C, C++, FORTRAN, or any other compiler language. The shell format commands are interpreted by the C or Bourne shells, whichever executes them (more on shells later).

When UNIX was first written, /bin and /usr/bin physically resided on two different disks: /bin being on a smaller faster (more expensive) disk, and /usr/bin on a bigger slower disk. Now, /bin is a symbolic link to /usr/bin: they are essentially the same directory.

sbin 存放超级用户的指令

4,halt = shutdown -c = poweroff = init 0

      reboot = init 6 = shutdown -r

你可能感兴趣的:(shell,unix,ubuntu,fortran,compiler,disk)