Web Site Publishing Submit Scripts

Submit The “submit” script is used to “submit” my pages to the various web sites I maintain. The “submit” script performs various checks on the page and then sends them on their way. Here’s the “submit” script: #!/bin/sh #Use this script to submit documents from the "prepsite" to the # "livesite". Other scripts will be … Read more

Script to delete files in Linux

Linux is a powerful operating system, it consists of various tools which can be utilised by the to achieve maximum efficiency in his/her work routine. Linux provides with a fluid environment where the can run some scripts to carry out some basic working and functionalities. Today we will see how can we … Read more

How to make files Hidden in Linux

Linux provides us the functionality to hide the files for security as per preference, s can easily hide files by using some simple command or even use GUI for simplifying involvement. This can especially be helpful if you want to hide your files or directories without having to share your personal information with … Read more

Bash Shebang

Shebang is a special character sequence consisting of the hash and exclamation mark (#!) at the beginning of the script. This is used to tell the operating system which program is used to parse the rest of the script. The bash shebang is also known as hashbang, pound-bang, hash-pling, and sha-bang. In this article, we … Read more

How to use bash Heredoc?

In bash and other shells such as zsh, ksh, etc a Here document (Heredoc) is a type of redirection that allows you to multiple lines of input to a command or script. If a programmer needs less amount of text data then using code and data in the same file is a better option … Read more

Difference between CMD and PowerShell

If you have ever worked with the command line interface in Windows then you probably know about CMD and PowerShell. Both of these are command line interpreters used to execute commands and program scripts. Today in this article I will discuss CMD and PowerShell in detail and also know the differences between them. What is … Read more

cdre sh

test `whoami` = ‘root’ || echo “You must be root to execute the commands.” cdrecord -scanbus > /dev/null if ! (pidof kerneld || test -f “/proc/sys/kernel/modprobe”); then echo “Neither kerneld nor kmod are running to automatically load modules”. fi report_no_autoload() { echo “Ensure the module $1 is loaded automatically next time.” } if test ! … Read more

Script to Make an Instagram Bot to get Followers

Backstory: So last week during my internship one of the work assigned to me was to go and follow some random profiles on Instagram through the company’s page. You might wonder why would someone do that, even I thought the same but when I tried,  it actually worked. Instagram’s algorithm suggests people to visit your if you are … Read more