Unix Commands Related to MQ :
ls [–l] : Lists the files and directories information in long format
[-a] : Lists the files and directories information along with hidden files.
cp : Copies the files or directories from one location to another.
tar [xf] : To extract tar file.
tar xf source.tar –c destdir
[xzf] : To extract tar file in zip file.
tar xzf source.tar.gz –c destdir
rpm –a | grep MQ : To check what are the rpm packages installed on unix machine.
rpm –q | grep MQ : To know version of the rpm package installed.
rpm –i or –ivh packageName : To install a rpm package on unix machine.
rpm –uvh packageName : To update a rpm package on unix machine.
rpm –e installedPackageName : To uninstall a rpm package on unix machine.
export LD_ASSUME_KERNEL = 2.4.19 : To set the Kernel Level.
cat /etc/group : To know the groups which are already created.
cat /etc/group | grep groupName : To know particular group is already exist or not.
kill –9 pid1 pid2 etc., : To Kill the process[es].
ps –ef | grep QmgrName : To know the services which are running for Qmgr.
ps –A | grep pid : To know a process is belongs to which service.
netstat –anp | grep port_number : To know particular port is already in use or not.
uname [-a][-r][-v][-s] : To know o/s information like o/s name, version etc.,
chmod : To change the file/dir permissions.
chmod user/group/other +/- permissions
chmod 755 fileName
chown : To change the owner of the file or dir.
chown ownerName filename/dirName
chgrp : To change the group of the file or dir.
chgrp ownerName filename/dirName
No comments:
Post a Comment