Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

script

Schedule Auto Re-Boot of Windows Server 2008 R2

by IT Nursery

Possibly the shutdown command from a Command Prompt? shutdown -r -f -t 10 Where: -r restarts -f forces processes to terminate -t 10 … Read more

Tags script, windows-server-2008-r2

How can I take hundreds of smaller images and create one big tiled image?

by IT Nursery

Try ImageMagick, a command-line image editor. Its montage command can help you tile your images together. For more info about montage: http://www.imagemagick.org/Usage/montage/ http://www.imagemagick.org/script/montage.php … Read more

Tags automation, generator, images, script

How can I launch multiple screen sessions from a single bash script?

by IT Nursery

I ended up taking this question to StackOverflow, where Brian Gerard answered the question. The {0..5} loop syntax is bash (3.x+) specific. By … Read more

Tags bash, gnu-screen, linux, script

What scripting/programming languages are default on Mac OSX?

by IT Nursery

OS X doesn’t come with any compilers built-in. It has a number of scripting languages though: Python (2.7.2) Perl (5.12.4) Ruby (1.8.7p358) PHP … Read more

Tags code, macos, script

Run a batch command for every file in a directory

by IT Nursery

The easiest way is by far to simply run a for loop over all the files. The good thing is that the set … Read more

Tags batch, script, windows-xp

How do I concatenate strings from a list in a bash script?

by IT Nursery

Use conditional parameter expansion: List=”A B C D” for I in $List do OUT=${OUT:+$OUT }-$I done The expression ${OUT:+$OUT } expands to nothing … Read more

Tags bash-scripting, script, shell-script

Playback random section from multiple videos changing every 5 minutes

by IT Nursery

After not getting an answer in time (should have posted this a week earlier), I ended up diving into automating VLC. I found … Read more

Tags mac, macos, script, video

How can I generate Pi to a given number of decimal places from a script?

by IT Nursery

Assuming you have the bc (Basic Calculator) utility on your system, you could use the following command and a bit of good old … Read more

Tags command-line, script, unix

OpenVPN –up script – “could not execute external program”

by IT Nursery

I ran into the same issue, luckily I found a solution. Here are things I checked: permission of folder permission of openvpn to … Read more

Tags debian, linux, openvpn, script, vpn

How do I make a script run upon startup of the Ubuntu machine?

by IT Nursery

Simple way You can add this script into /etc/rc.local file (before exit line), e.g. /home/myuser/go.py & Where & at the end will run … Read more

Tags boot, linux, python, script, ubuntu
Older posts
Page1 Page2 … Page17 Next →

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery
x
x