watch "ps -eo pcpu,pid,user,args | sort -k 1 -r | head -6"
or
cat /opt/WebSphere/AppServer/profiles/AppSrv01/logs/WC_stgmall1/WC_stgmall1.pid
kill -3 PID
grep -H "<ErrorMessage>" SystemOut*.log -R | cut -d: -f1
for PART in `awk '(!/^#/ && $6 != "0") { print $2 }' /etc/fstab 2>/dev/null`; do find $PART -xdev -type f \( -perm -0002 -a ! -perm -1000 \) -print 2>/dev/null; done
find . -type f -size +50000k -exec ls -lh {} \; | awk '{ print $9 ": " $5 }'
for f in *.php4; do mv $f `basename $f .php4`.php; done;
for f in *; do mv $f `basename $f `.txt; done;
for f in *.txt; do mv $f `basename $f .txt`; done;
tar -cvf - /some/directory/path/ | gzip -c | split -b 500m - file.tgz.
find -type f -print0 | xargs -r0 stat -c %y\ %n | sort
find . -name "*.xml" -newer SKU_1408619449286_557746.xml -exec cp {} /data/full_local/ \;
find . -name "daily_archive.20140*.gz" -exec tar ztvf {} \; > /tmp/find.log
cat /etc/redhat-release
chkconfig –-list | grep 5:on
chkconfig <Service-Name> on –level 3
/etc/sysctl.conf
sysctl -p
yum install nfs-utils nfs-utils-lib
chkconfig nfs on
service rpcbind start
service nfs start
vi /etc/exports # add /home 12.33.44.555(rw,sync,no_root_squash,no_subtree_check)
exportfs -a
yum install nfs-utils nfs-utils-lib
mkdir -p /mnt/nfs/home
mount 12.34.56.789:/home /mnt/nfs/home
df -h # validate or use mount
alias ll='ls -al'
mkfs -t ext4 /dev/xvdc
echo "/dev/xvdc /mount_name ext4 defaults 0 0" >> /etc/fstab # /dev/sda /data ext4 _netdev 0 0
mkdir -p /mount_name
mount /mount_name
chage -E -1 -I -1 -M 99999 -m 0 deploy