Command Description arp Prints the ARP table of a machine cardmgr PCMIA devices manager chkconfig Manages runlevel information for system devices debugfs Ext2 File System debugging utility dhclient DHCP Client e2fsck Ext File system diagnosis and repair tool fdisk Disk
Linux commands found in /usr/bin
Command Description at Queue jobs for later execution bc A bench calculator cc C-compiler. Symbolic link to GNU C Compiler clear Clears the screen crontab Maintains a list of tasks to be performed later du Reports disk usage for a
Linux terminal commands found in usr/sbin/
Command Description adduser Creates a new user automount Configures mount points for autofs chpasswd Updates password file in batch mode chroot Runs command with the root set to a new root gpm Mouse based cut and paste utility for virtual
How can I empty a file?
Issue the following command to empty a file that currently exists: cp /dev/null<filename>
How can I see how large a folder is on the system?
Issue the following command to see how large a folder is and the files it contains: du -h -size
How can I find out how many files are within a specific folder?
ls | wc -l
How can I copy all the contents of one folder into another?
cp -r
How can I delete all of the files in a folder and the folder itself?
rm -r <dir>
How can I remove all files older than 7 days?
find \ (-name ‘*’ \) -atime +7 -exec rm {}\ Just the change the +7 to a specific number of days if required.
How to find out which data is in the the SYSTEM tablespace
Sometimes objects can find their way into the system tablespace when they should be in a difference tablespace. Here’s how to see if there are any of these objects that need moving. select owner, segment_name from dba_segments where tablespace_name =
