Chinaunix首页 | 论坛 | 博客
  • 博客访问: 809234
  • 博文数量: 222
  • 博客积分: 4341
  • 博客等级: 上校
  • 技术积分: 2155
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-16 13:50
个人简介

...

文章分类

全部博文(222)

文章存档

2019年(1)

2016年(9)

2015年(7)

2014年(14)

2013年(11)

2012年(10)

2011年(6)

2010年(25)

2009年(37)

2008年(21)

2007年(81)

我的朋友

分类: LINUX

2007-10-28 16:18:06

Part II: User Tools
Chapter 4: Mastering Shells and Shell Scripting
 指定用户shell /etc/passwd
  tony:x:1000:1000:tony,,,:/home/tony:/bin/bash
 用命令修改用户默认shell
  # usermod -s /bin/tcsh sandro
 普通用户修改自己的shell
  $ chsh -s /bin/tcsh
  set show-all-if-ambiguous on  # 设定 tab 键自动补齐
  配置文件/etc/inputrc
 配置shell
  全局配置文件 /etc/profile 和 /etc/profile.d目录(login相关)  /etc/bashrc 或 /etc/bash.bashrc (login无关)
  用户配置文件  ~/.profile (login相关)  ~/.bashrc  (login无关)
 shell 脚本
Chapter 5: Doing Real Work in Text Mode
 定义虚拟终端 /etc/inittab
  通过Alt+F1 到 Alt+F6调用
   1:2345:respawn:/sbin/mingetty tty1
   2:2345:respawn:/sbin/mingetty tty2
   3:2345:respawn:/sbin/mingetty tty3
   4:2345:respawn:/sbin/mingetty tty4
   5:2345:respawn:/sbin/mingetty tty5
   6:2345:respawn:/sbin/mingetty tty6
  如果运行了X, 则在 Alt+F7
 
 重要命令
  文件系统 mount umount fdformat  mkfs
  文件管理 cp ln mv rm ls chown chgrp chmod mkdir rmdir cd pwd
  文件信息 df du stat lsof uptime free hostname who dmesg
  tip 对应错误信息存储在 /var/log/dmesg
 
 字符模式环境
  配置环境 /etc/termcap /usr/share/terminfo
  修改终端字体
   相关命令 consolechars, setfont, fontconfig
   $ setfont -v /usr/lib/kbd/consolefonts/t.psf.gz  
   Debian 命令 consolechars 软件包 console-tools 字体包 console-data 和 fonty 字体文件位置 /usr/share/consolefonts
  色彩  alias ls='ls --color'
Chapter 6: Getting the Most from a Desktop Environment
 从字符模式或使用XDM登录X 会读取 .xsession 或 .xinitrc
  XDM 使用 .xsession, startx 使用 .xinitrc
  startkde ==> KDE(~/.kde), gnome-session ==> GNOME(~/.gnome2), startxfce ==> XFce
 KDE
 GNOME
Chapter 7: Using Linux for Office Productivity
 OpenOffice.org
 KOffice
 GNOME Office
 LaTeX
 Emulators
 字体
 打印机
Chapter 8: Miscellaneous User Tools.
 音频
 数码相机
 GIMP
 浏览器
 E-Mail 客户端
阅读(992) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~