目前分類:Linux (23)
- Nov 19 Wed 2014 16:20
[gcc] 同時compiler兩個 .c 程式碼
- Nov 13 Thu 2014 14:15
[Linux] tar 解打包指令
*.tar 此為由tar 程式打包的資料,且資料並沒有壓縮過。
[Victoria@victoria Filter]$ tar -xvf Filter.tar
*.tar.gz 此為由tar 程式打包的資料,且資料有壓縮過。
- Nov 06 Thu 2014 10:12
[ Linux ] scp 伺服器到伺服器檔案傳輸
[viccc@com01 ~/bin]$ scp dep@192.168.11.281:/home/system/vicc/bin/DBstorage /home/system/vicc/bin
vicc@192.168.10.201's password:
DBstorage 100% 70KB 70.1KB/s 00:00
- Nov 05 Wed 2014 14:46
[Linux] 系統共通設定檔 位置
- Nov 03 Mon 2014 14:19
[Linux] 替代itoa的方案
- Oct 30 Thu 2014 10:31
[Linux] cvs
http://pfspd.sourceforge.net/cvs.html
- Oct 29 Wed 2014 10:34
[Linux] tail 顯示檔案最後幾行內容
tail指令會讀取所有的檔案內容,並將內容的最後部份標準輸出。預設為輸出10列。
指令:tail [options] 檔案名稱
範例:[victoria@victoria-web ~/log]$ tail -f dbstore.log
- Oct 23 Thu 2014 14:25
[Linux] vi 切換輸入法
- Oct 21 Tue 2014 16:55
[Linux] 亂碼修正
- Oct 20 Mon 2014 20:04
[Linux] sqlplus 常用指令
- Oct 20 Mon 2014 19:22
[Linux] 出core時處理SOP
- Oct 17 Fri 2014 22:53
[Linux] 查看 Process ID 目前的詳細狀態
指令 ps aux | grep '程式名稱'
[rc@ccc-web Mair_Storage]$ ps aux | grep Mair
rc 434 0.0 0.0 107780 1572 pts/2 S+ Oct16 0:43 watch -n 1 cat Mair_TA.csv
- Sep 25 Thu 2014 09:10
[gdb] 除錯常用指令
- Aug 26 Tue 2014 10:01
[Linux] chmod 指令
chmod 400 file - Read by owner
chmod 040 file - Read by group
chmod 004 file - Read by world
- Jul 30 Wed 2014 13:23
[vim] vi 編譯環境
編譯時 vi 偵測文件類型,可用下列指令讓vi 認為這份文件使用c,讓開發者方便編譯。(變彩色囉)
:set syntax=c
- Jun 10 Tue 2014 14:57
[ Linux ] 壓縮指令
- Apr 09 Wed 2014 14:17
[ Linux ] scp 本機到伺服器檔案傳輸
scp 遠端檔案傳輸指令,目的為利用scp指令將檔案在本機端(local)及遠端(serve)主機傳輸。
本機複製到遠端主機
指令:scp File.c s-lai@TSVR-001:/home/src
- Mar 28 Fri 2014 10:07
[ Linux ] 安裝 gcc Fortran Compiler
指令 :
yum -y install gcc-gfortran.x86_64
--------------------------------------------------------------------------
- Mar 25 Tue 2014 09:33
[ Linux ] svn update option
[victoria@001 ~/ddonet]$ svn update
Conflict discovered in 'data/param/Rw.csv'.
Select: (p) postpone, (df) diff-full, (e) edit,
(mc) mine-conflict, (tc) theirs-conflict,
(s) show all options:
(e) edit - change merged file in an editor (df) diff-full - show all changes made to merged file (r) resolved - accept merged version of file (dc) display-conflict - show all conflicts (ignoring merged version) (mc) mine-conflict - accept my version for all conflicts (same) (tc) theirs-conflict - accept their version for all conflicts (same) (mf) mine-full - accept my version of entire file (even non-conflicts) (tf) theirs-full - accept their version of entire file (same) (p) postpone - mark the conflict to be resolved later (l) launch - launch external tool to resolve conflict (s) show all - show this list
- Mar 18 Tue 2014 07:41
[ Linux ] 安裝GCC套件
Linux 版本 : Fedora CentOS 在Terminal輸入以下命令:
yum install gcc kernel-devel
Linux 版本 : Fedora CentOS 在Terminal輸入以下命令:
apt-get install gcc make linux-headers-$(uname -r)