2000年学习 Linux 时的笔记

岁末年初,整理过去的岁月,“为学日益,为道日损”。

  • /etc/mail/local-host-names 加上 mydomain.com
  • praliases -f /etc/mail/aliases
  • man man |col -b|lpr
  • ls -F filetype, -r reverse -R recursive -S size
  • rpm -ivh -e -Fvh -vf filename -Va -vp pkg -qf -qpl pkg.rpm
  • ntsysv
  • set-uid mode 4755, set-gid mode 2755 sticky-bit 1755
  • 查询 access 状态:# stat file
  • #chattr +i filename  ; lsattr
  • 用户管理: chfn, chsh, groupadd, groupmod, groups, last, passwd, su, useradd,userdel, usermod, whoami
  • smtp telnet command: HELO,MAIL FROM:, RCPT TO:, DATA;  pop telnet command: USER xxx, PASS xxx, LIST , RETR n
  • smbmount //samabaserver/path /mnt -u username
  • cat /etc/passwd|mksmbpasswd.sh >/etc/smbpasswd; /etc/smb.conf ; testparm
  • NFS: /etc/exports; /usr/sbin/exportfs; rpcinfo -p ; showmount;
  • 可设为私网的地址: 10.0.0.0/24,172.16.0.0-172.31.255.255,192.168.0.0/16
  • Start X: xdm &
  • xf86config
  • lsmod, rmmod, insmod -depmod, modprobe
  • netbios port, 137:name; 138:datagram; 139:session
  • Mute X: xset -b
  • 2001/1/18 发现 Ramen 蠕虫, RH7 补丁, LPRng
  • 修复 Boot 区: /bin/dparam -w

Post to Twitter

相关文章

You can leave a response, or trackback from your own site.

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word