Tags » Shell Script

Cek User Login SSH - simple

Berikut cara cek user yang sedang login server (SSH) secara singkat

Commands

Script to identify the jobs running more than ## hours

Note, NDMP Jobs are purposely excluded from this reporting as they are proven to be running more than 20 hours. You can edit the substr line to include that. 193 more words

Symantec NetBackup

Script to manually duplicate images to PTL medias via corresponding media server

#!/usr/bin/sh
#!/bin/ksh
cat /tmp/imgwithmserver | while read line
do
imgn=`echo $line | awk ‘{print $1}’`
mserver=`echo $line | awk ‘{print $2}’`
case “$mserver” in
mserver1) 81 more words

Symantec NetBackup

Script to identify the copy of images of selected medias

We ran into a situation where many of the medias on VTL backed up with wrong retention. we were in a place to identify the images on those medias are duplicated to PTL medias so that, VTL medias can be expired. 111 more words

Symantec NetBackup

Poo Cam (Raspberry Pi)

What we have here is a smelly shit-uation.

This is my first ever blog.  And boy, does it stink!  Soon after moving into my home last summer, I noticed a smelly problem. 1,757 more words

Read a property value from file using Shell script.!!

Read a property value from file using Shell script.!!.

Shell scripts helps us in writing  commands in chains and ask the system to execute them as a scripted event, just as batch files do. 242 more words

Knowledge