aaron note linux shell command
文件传输 vsftpd or winscp 远程登录 SecureCRT v5.0 http://www.phpchina.com/download/handbook/linux-html/type17.html 强行结束 kill -9 批量文件替换 find |grep .xml | xargs perl -i -pe s%'<value>20</value>'%'<value>500</value>'%g nohup curl "" > output.txt nohup curl "" > /dev/null crontab -e crontab -l cat > vi (i Ctrl+F Ctrl+B /查找 n查找下一个 \c查找时不区分大小写 :w :q :q!) head --help (man) |more cat hc.20081128.out |more cat hc.20081128.out |grep 'abc' cat hc.20081128.out |grep '\-\-\-\-\-\-' ps -aef | grep [name] ps -aef | grep 'ora_*_[SID]$' ps aux | grep java ipcs -a sqlplus '' /as sysdba '' ls -l ls --help |more vi /etc/inittab change 'id:5:initdefault:' to 'id:3:initdefault:' (change linux to English) temporary: #export LC_ALL=POSIX persistent: 编辑/etc/sysconfig/目录下的i18n文件,将LC_ALL=POSIX view or find installed software: rpm -ivh [file_name] rpm -qa |more rpm -q software_name (rpm -q ftp) (rpm -q apache)(rpm -qa | grep httpd) uninstall: rpm -e or rpm -ev swlist [sudo ]dpkg -i package_file.deb [sudo ]dpkg -r package_name du -h --max-depth /etc/samba/smb.conf 1.hosts allow = 192.168.0. security = share 2.[share_name] comment = #comment path = /home/share browseable = writable = guest ok = 3. id nobody uid=99(nobody) gid=99(nobody) groups=99(nobody) chown -R nobody:nobody /home/share 4. ;service iptables stop service network restart service smb start tar -zxvf; cp; mv; find / -name smb.conf ./configure make make install chown; chgrp chmod 777 /root/tmp 本文出自 51CTO.COM技术博客 |


xu20cn
博客统计信息
热门文章
最新评论
友情链接