linux
文章平均质量分 51
peterchen-easyli
Senior Embedded Software Engineer
展开
-
linux commands
Linux Command Line tips that every Linux user should knowhttp://www.linuxstall.com/linux-command-line-tips-that-every-linux-user-should-know/原创 2012-03-23 12:49:51 · 375 阅读 · 0 评论 -
ubuntu configuration
Configure auto start services usage: update-rc.d [-n] [-f] remove update-rc.d [-n] defaults [NN | SS KK] update-rc.d [-n] start|stop NN runlvl [runlvl] [...] . update-rc原创 2012-03-10 16:40:18 · 984 阅读 · 0 评论 -
vim+ctags+taglist+cscope
http://sourceforge.net/projects/vimcdoc/ vim中文文档 vim + ctags +taglist http://nchc.dl.sourceforge.net/project/vim-taglist/vim-taglist/4.5/taglist_45.ziphttp://nchc.dl.sourceforge.net/project/原创 2010-05-09 21:28:00 · 837 阅读 · 0 评论 -
vnc service on ubuntu
install vnc4serversudo apt-get install vnc4serveror install with Synaptic Package Managersetup$ vncserver # run first time, set a password$ cat /home/g555184/.vnc/xstartup #!/bin/sh原创 2012-07-04 13:38:03 · 843 阅读 · 0 评论 -
Linux Software RAID step by step
http://download.csdn.net/detail/telnetchen/6839989本文档记录了作者以VBOX+ubuntu10.04测试Software RAID的过程,包括:1.为已有系统增加Software RAID,2.如何恢复非启动盘受损,3.在Software RAID上安装系统,4.系统盘损坏时如何恢复原创 2014-01-12 15:27:18 · 740 阅读 · 0 评论 -
mount
mount samba server for current user(not root): #!/bin/shserver=//192.168.1.156/departments/mount_dir=/${HOME}/departments/first_grp=$(groups ${USER} | sed -n -e 's/^[^:]*:[[:space:]]*\([^[:space原创 2012-05-04 09:50:37 · 455 阅读 · 0 评论 -
用U盘安装ubuntu 12.04
从ubuntu官方下载了最新的12.04-3的ISO,准备安装到PC上。在刻盘的时候,不知道出了什么问题,刻盘失败,光盘已经用完。咋办?用grub4dos直接从硬盘上的ISO安装linux也可行,但是操作比较困难。刚好今天买了MicroSDHC卡,同时家里也有读卡器(SD转USB)。于是就决定用U盘来安装。步骤如下:从ubuntu官方下载最新版本ISO,默认是32-bit,原创 2013-09-15 22:20:41 · 1422 阅读 · 0 评论 -
bash shell tips
http://www.linuxsir.org/main/doc/abs/abs3.7cnhtm/options.htmlhttp://tldp.org/LDP/abs/html/options.html选项用来更改shell或/和脚本行为的机制用set 或者#!/bin/bash -e 来更改脚本的执行选项。如同运行/bin/bash时的命令行配置选项比如#!/bin/bash原创 2012-03-16 09:50:45 · 1000 阅读 · 1 评论 -
setup and test samba server
samba/etc/samba/smb.conf You knew it. Only security and [homes] are not default, the others are default. In this configuration, all the \\server\\username can be accessed.[global] workgro原创 2014-08-20 23:18:14 · 876 阅读 · 0 评论