Linux工作基本使用
Mount相關
sudo apt-get install cifs-utils
sudo mount -t cifs -o uid=1000,username=administrator,passwd=system009 //10.9.5.20/share Your_local_path
File相關
創建一個文件大小為file_size
dd if=/dev/zero of=upload_test bs=file_size(in bytes) count=1
Server Manager
sudo useradd dongmin.dm -m -s /bin/bash
sudo passwd dongmin.dm
sudo adduser hongzhi.yuhz sudo
scp 本地用戶名 @IP 地址 : 文件名 1 遠程用戶名 @IP 地址 : 文件名 2
key
創建keystore:keytool -genkey -alias test.keystore -keyalg RSA -validity 10000 -keystore test.keystore
查看keystore:keytool -list -v -keystore "C:\sign\bin1\test.keystore"
簽名: jarsigner -keystore test.keystore -storepass test.test -keypass test.test -signedjar t.lar t.apk test.keystore
tar
ls -l | grep ^[^d] | awk '{print $8}' | tar czfhv snod.tar.gz -T -
Diff
#diff a directory with git format and ignore .git directory
diff -r -u -x '.git' aaaa/packages/apps/PackageInstaller bbb/packages/apps/PackageInstaller
MediaWiki change main page: MediaWiki:Mainpage
How to change the user privileges in MediaWiki?
The privileges for existing users can be modified by logging in to your MediaWiki as administrator and going to Special Pages.
Then, under Restricted special pages, click User rights management.
Enter the username which you wish to modify and click the Edit User Groups button. Next, select the desired rights listed under Available groups and click the Save User Groups button.