Etiquetas » Shell Scripts

Mac terminal shortcuts

  • Download  file: curl -O
  • Check when we started mac in this session: uptime
  • Start a simple HTTP server in any folder. Go to the folder and type command:
  • 141 palabras más
Shell Scripts

Running a custom startup script in CentOS / RHEL 7

Hi All,

During my work at Adroitlogic, in one of my tasks I had to start & configure a set of EC2 machines which included our B2B AS2 integration solution… 555 palabras más

AdroitLogic

Crowds Demonstrate Outside Venue as Puidgement Holds Press Conference. Credit - Twitter/Anthony Nelson via Storyful

{“contentType”:”VIDEO”,”id”:{“value”:”6ee492f07b1dcabd9466646f8af50804″,”link”:”http:\/\/api.newsapi.com.au\/content\/v2\/6ee492f07b1dcabd9466646f8af50804″},”originId”:”5348771529001-5630901394001″,”origin”:”BRIGHTCOVE”,”title”:”Crowds Demonstrate Outside Venue as Puidgement Holds Press Conference. Credit – Twitter\/Anthony Nelson via Storyful”,”subtitle”:”Crowds Demonstrate Outside Venue as Puidgement Holds Press Conference. Credit – Twitter\/Anthony Nelson via Storyful”,”description”:”Crowds gathered on October 31 outside the building in Brussels where dismissed Catalan leader Carles Puigdemont held a press conference. 1.843 palabras más

Belgium

Upload files to FTP server using cURL

To upload a file to an FTP server with cURL is very simple. We can achieve that by using the below commands -T option in cURL. 274 palabras más

Linux

Shell Script to start/stop All or one Oracle Database

Shell Script to start/stop All or One Oracle database on the server.

This is a menu driven program to perform following operations.

1. Stop All Databases. 2.592 palabras más

Oracle

Print the name of files of size zero or size non zero

I was trying to find all the files in a directory ($dir) and its subdirectories with size 0. To achieve that I have used the… 105 palabras más

Code

Create Counter using Redis

Today, I learned one efficient method to create counters which can be tracked from multiple scripts. The problem scenario was I wanted to make only 500 calls to an API per hour and thereafter I wanted my script to sleep for the next hour. 217 palabras más

Linux