vi Quick Reference
This table is taken from Sun Microsystems' User's Guide: Getting Started (. Starting vi vi filename open or create file vi +18 filename open to line 18 vi +/"mustard" filename open file to first occur[...]
This table is taken from Sun Microsystems' User's Guide: Getting Started (. Starting vi vi filename open or create file vi +18 filename open to line 18 vi +/"mustard" filename open file to first occur[...]
Place all the rpm packages in one local sub-directory (lets say RHEL5) which does not have and sub-directorires and do; rpm -ivh createrepo*.rpm createrepo /RHEL5 Then in the /etc/yum.repos.d directory place a file named[...]
I’ve been using VMWare for a while now and I always get asked some common questions about it. One of those is how to add a new virtual disk to a Linux virtual machine. So in response to that, here are the steps to addi[...]
This is a linux command line reference for common operations. Examples marked with • are valid/safe to paste without modification into a terminal, so you may want to keep a terminal window open while reading this so yo[...]
The Unix top command is designed to help users determine which processes are running and which applications are using more memory or processing power than they should be. The top command is very easy to use but you shoul[...]
Finds all files over 20,000KB (roughly 20MB) in size and presents their names and size in a human readable format: find / -type f -size +20000k -exec ls -lh {} \; 2>/dev/null|awk '{print $NF ": " $5}'|sort -nrk 2,2 f[...]
Sessions can be killed from within oracle using the ALTER SYSTEM KILL SESSION syntax. First identify the offending session as follows: SELECT s.sid, s.serial#, s.osuser, s.program FROM v$session s[...]
You can check for top memory consuming processes by issuing the following commands: we use the following ps commands in order to check for performance probelms 1) Displaying top CPU_consuming processes: ps aux | head -1[...]
I’ve noticed that one of our interface directories has a lot of old files, some of them were more than a year old. I checked it with our implementers and it turns out that we can delete all files that are older tha[...]