AIX上的解壓,傳檔案,以及目錄大小

2021-08-30 14:37:41 字數 569 閱讀 2572

1, 解壓:gzip -d aix5-bfagent-7.1.1.4-0-0007.tar.gz

tar -xvf aix5-bfagent-7.1.1.4-0-0007.tar

2,傳檔案,最好使用winscp但是選擇使用ftp而不是sftp 或者scp

3,檢視目錄大小,因為rafw需要很大空間,安裝是最好檢視一下大小

du -m /***x 顯示/***目錄的大小以m計算

bash-2.05b# df -g /opt

filesystem gb blocks free %used iused %iused mounted on

/dev/hd10opt 9.12 1.09 89% 29643 10% /opt

df -m /***x 顯示/***目錄磁碟使用情況的大小以m計算

bash-2.05b# df -g /opt

filesystem gb blocks free %used iused %iused mounted on

/dev/hd10opt 9.12 1.09 89% 29643 10% /opt

db2的預設配置路徑:

Aix上的壓縮與解壓

1 compress生成乙個字尾為.z的壓縮檔案 可用compress d或者uncompress解壓字尾為.z的檔案 若壓縮的檔案是文字檔案,可用zcat直接檢視壓縮檔案 不需要先解壓,再用cat 2 gzip生成乙個字尾為.gz的壓縮檔案 可用gzip d或者gunzip解藥字尾為.gz的檔案 ...

檔案目錄的解壓縮命令

檔案目錄壓縮 解壓縮 檔案壓縮 解壓縮 gzip bzip xz 1 gzip gz 壓縮 root localhost gzip bbq 1.txt root localhost ls bbq 1.txt.gz root localhost file bbq 1.txt.gz bbq 1.txt....

刪除目錄(資料夾)以及目錄下的檔案

刪除目錄 資料夾 以及目錄下的檔案 param spath 被刪除目錄的檔案路徑 return 目錄刪除成功返回true,否則返回false public static boolean deletedirectory string spath file dirfile new file spath ...