Etiquetas » Shell Scripts

[Shell] delete outdated files

오래된 파일 삭제하는 쉘 스크립트입니다.


# var declar

# function declar
function delete_outdated_file {
        find $TARGET_PATH -mtime +$DAYS -type f -exec rm {} \;


# function call

OMS Configuration Backup

The Job system in OEM provides a flexible and reliable means of scheduling custom activities. This can be particularly handy for managing OEM itself.

Backing up the configuration of your management server is essential for recovery and the Job system is great tool for scheduling it. 240 palabras más

OEM 12c

Dropbox Backup Procedure - Copies

This document/post will highlight the requirements and procedure for the installation of Dropbox on a (K | X | L | U)*buntu operating system. Ideally it will cover: 916 palabras más


Update Ubuntu from command line

I love to use shell script to update the Linux system, especially for Ubuntu/Debian servers. I created a shell script to update the whole system, re-download the broken packages and reboot when it is necessary. 108 palabras más

Shell Scripts

Retrieve AWS Instance Metadata in Shell Scripts





REGION=`curl | grep region | awk -F\” ‘{print $4}’`

Account_ID=`curl -s | grep accountId | awk -F\” ‘{print $4}’` 79 palabras más

Smart Connections with BetterTouchTool

Terminal applications like iTerm2 are a great way to improve your efficiency when connecting to a remote host on your Mac.  As I started making my own shortcut keys I hit the wall. 199 palabras más