Tags » Shell Script

Linux Check File Exist or not - Shell Script

The following script used to check the specified file present or not in shell script

#!/bin/bash
#########################################################################################
# This Shell script used to find the specificed…
62 more words

Linux

Getting better at scripting

So let’s say I have a number of directories

20150721_blahblah_05
20150721_blahblah_10
20150721_blahblah_20
.
.
.

And I need them to be renamed so that at least part of the filename is sequential.

136 more words
Linux

test your shell script

assalamu’alaikum warahmatullahi wabarakatuh…

thomas kira-kira dua minggu yang lalu mengajari bagaimana membuat shell script yang baik dan benar. kira-kira seperti ini kasusnya : 177 more words

GNU/Linux

How to use ftp in a shell script

The Problem

The problem encountered in scripting ftp transfers involved getting a password to the ftp server. Typical ftp client programs under Unix, Linux, Solaris and NetBSD all read the ftp password from /dev/tty. 404 more words

Unix

Shell script - Get Information for Linux Server performance Issue or Slowness?

Script

Run script in Local Machine save as “Server Performance.sh”

#!/bin/bash
clear

##variable Decalation Part
ip=$1
#SCRIPT STARTED

echo -e “\n\t\t\t $ip Server Performance\n\n ” 254 more words

Shell Script

Switch your Mac between showing or hiding hidden files the easy (and working) way

Most of the time it is okay not to see the hidden files of your system. But sometimes you want to. Doing a short web search you will quickly find the solution: 250 more words

Tools

More: Array Subset, loop and xargs

Last week I had a requirement to fetch details of some records. For simplicity let’s assume records are id of some entity; I need to get details from an API for those id. 299 more words

Bash Script