some command on different platform
来源:互联网 发布:罪恶都市修改车辆数据 编辑:程序博客网 时间:2024/04/29 13:15
Linux
Solaris
HPUX
AIX
Mac
Description
SLES
RHEL
Ubuntu
x86
Sparc
ia64
HP-PARISC
Install package
rpm -i <package file>
dpkg -i <package file>
pkgadd -d <package file> <package>
swinstall -s <full path to depot> <package name>
installp -X -d <package file> <package name>
installer -pkg <package file> -tgt LocalSystem
Remove package
rpm -e <package>
dpkg -r <package>
pkgrm <package>
swremove <package name>
installp -u <package name>
/usr/libexec/microsoft/domain1/bin/domain1Uninstall.sh (specific for DOMAIN1)
Upgrade package
rpm -U <package>
dpkg -i <package file>
N.A.
swinstall -s <full path to depot> <package name>
Package info
rpm -q domain1
dpkg -l <package>
pkginfo -l MSFTdomain1
swlist domain1
lslpp -l domain1.rte
pkgutil --pkgs[=<name>]
Start service
/etc/init.d/<service> start
invoke-rc.d <service> start
svcadm enable <name>
Pre10: /etc/init.d/<service> start
/sbin/init.d/<service> start
startsrc -s <subsystem>
launchctl load -w <service path>
Stop service
/etc/init.d/<service> stop
invoke-rc.d <service> stop
svcadm disable <name>
Pre10: /etc/init.d/<service> stop
/sbin/init.d/<service> stop
stopsrc -s <subsystem>
launchctl unload -w <service path>
Service Status
/etc/init.d/<service> status
-
svcs <name>
Pre10: N/A
/sbin/init.d/<service> status
lssrc -s <subsystem>
launchctl -list
"Top"-command
top
prstat
top
topas
top
Library path
LD_LIBRARY_PATH
LD_LIBRARY_PATH
SHLIB_PATH(32-bit) LD_LIBRARY_PATH(64-bit)
LIBPATH
DYLD_LIBRARY_PATH
Get certificate info
openssl x509 -in <certificate file (pem format)> -noout -text
Show exported symbols
nm <library>
dump -HTv <library>
nm <library>
List shared library dependencies
ldd <file>
otool -L <file>
- some command on different platform
- Useful command on UNIX platform
- network command on windows platform
- remount on android platform command
- Some command
- Some command.
- Some Command
- Supporting Different Devices - Supporting Different Platform Versions
- some emacs command
- some command for centos
- 《Training:Supporting Different Platform Versions》
- Focus on different
- Some commands on AIX
- Some thinking on process
- Some arrangement on DOM
- Some tips on ubuntu
- Some thoughts on love
- Some advice on tests
- 关于Listview和ScrollView的共存问题
- Modelsim 一个错误记录: # ** Error: (vsim-3601) Iteration limit reached at time 29605 ns.
- C++ using namespace std 详解
- CSDN头像都换不了,垃圾的网站,什么东西一到国内就垃圾了,对中国人无语.
- [转贴]Static Linking Considered Harmful
- some command on different platform
- 该改掉的坏习惯
- 本地数据库和服务器数据库同步问题
- 走进android 开发(入门了,就好办了)
- Yii的认识
- 2010年最受欢迎简历的五大特征
- linux实用命令详解 --例子
- Yii
- 迷宫问题--非递归回溯 C语言实现