ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Tags
    3. scripting
    Log in to post
    • All categories
    • AmbarishrhA

      Doubt on a script- Backup site & DB

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion scripting linux rsync
      22
      1 Votes
      22 Posts
      3k Views
      AmbarishrhA

      @DustinB3403 said in Doubt on a script- Backup site & DB:

      @Ambarishrh You're welcome, sorry I didn't have the exact answer for you.

      But that really helped me to find the right solution 🙂

    • gjacobseG

      Map Drive Script - Check for Drive letter in use

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion drive mapping batch script scripting
      23
      0 Votes
      23 Posts
      5k Views
      Mike DavisM

      how many computers have the card readers? Instead of messing with the rest of the company's drive letters you could script something like:

      diskpart
      select vol g
      assign letter=b

      You have to put the diskpart commands in .txt file and then specify that as the script for diskpart to use, but you get the idea. Just move the local media card reader to a letter that's not used by the company and be done with it.

    • scottalanmillerS

      Cleaner BASH Scripting with a Main Function

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion bash shell scripting scripting linux unix
      1
      4 Votes
      1 Posts
      695 Views
      No one has replied
    • scottalanmillerS

      Scripting FDisk on Linux

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux bash fdisk scripting
      1
      2 Votes
      1 Posts
      1k Views
      No one has replied
    • scottalanmillerS

      What Exactly is a Sh-bang?

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux scripting
      3
      1 Votes
      3 Posts
      743 Views
      RojoLocoR

      You all know what sh-bang really is....

      Youtube Video

    • antonitA

      Nginx variables in bash script

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion nginx scripting automation web server
      2
      1 Votes
      2 Posts
      1k Views
      scottalanmillerS

      You can take them as arguments when you first run the script, that is the more "UNIX" way. Or you can prompt for them as you go.

    • gjacobseG

      Best Practices: Drive Mapping

      Watching Ignoring Scheduled Pinned Locked Moved Solved IT Discussion best practices domain scripting active directory security security groups
      35
      1 Votes
      35 Posts
      9k Views
      gjacobseG

      As with any system, you should always swing back around and re-visit issues.

      With the help of the group here, and other resources i hope to go over the GPP and see what I can clean up and improve.

    • scottalanmillerS

      BASH Character Counter

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion bash scripting
      1
      3 Votes
      1 Posts
      777 Views
      No one has replied
    • scottalanmillerS

      JavaScript Is Not Java

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion java javascript ecmascript scripting programming
      2
      5 Votes
      2 Posts
      2k Views
      scottalanmillerS

      Here is an example: http://community.spiceworks.com/topic/1190263-java-script-inserting-an-image-into-a-pdf-form

      In this discussion, he titles the post "Java Script". But there is no Java Script, there is Java which is not a scripting language and there is JavaScript which is. So it would either be a Java program (lower case p) or a JavaScript script (lower case s.) The use of the upper case S in Script implies that he believes it to be a part of the name, but there is nothing with that name. He tags the thread "Java" which implies he truly means Java, but where did the word Script come from? Nothing in the topic provides a clue as to what he is doing. There is not any context to determine what language he is referring to. And given that he is unsure how to refer to them or that there could be confusion it is completely realistic that he does not mean either.

    • scottalanmillerS

      Making a Simple Ping Test Script

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion bash ping script scripting shell
      1
      3 Votes
      1 Posts
      1k Views
      No one has replied
    • JaredBuschJ

      What would be the best way to script create an Apache vhost file.

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux apache vhost scripting bash because im lazy
      3
      1 Votes
      3 Posts
      1k Views
      scottalanmillerS

      Like this...

      cat > observium.conf <<'_EOF' <VirtualHost *:80> DocumentRoot /opt/observium/html/ ServerName observium.domain.com CustomLog /opt/observium/logs/access_log combined ErrorLog /opt/observium/logs/error_log <Directory "/opt/observium/html/"> AllowOverride All Options FollowSymLinks MultiViews Require all granted </Directory> </VirtualHost> _EOF
    • JaredBuschJ

      Ubiquiti ERL script wanted to compare md5 values

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion edgemax scripting ubiquiti md5 checksum bash
      34
      1 Votes
      34 Posts
      9k Views
      scottalanmillerS

      Good night.

    • handsofqwertyH

      Scripting SSH Connections to Extract Info from Output

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion ssh scripting linux
      40
      2 Votes
      40 Posts
      12k Views
      scottalanmillerS

      @johnhooks said:

      @scottalanmiller said:

      @johnhooks said:

      I'm also quite late, but would it be appropriate to keep passwords in files with root permissions and have the script read it? Or is that just as insecure?

      At some point, passwords need to exist. In most cases, you want to use keys, though. Where do you need passwords?

      I was just asking if that would be a solution to the original problem while still being secure since he couldn't use keys.

      Oh, in that case, they aren't concerned about security or they'd have keys. So being really secure isn't on their radar 🙂

    • mlnewsM

      TechNet: The Startup Script is Dead

      Watching Ignoring Scheduled Pinned Locked Moved News technet startup script scripting windows
      11
      3 Votes
      11 Posts
      3k Views
      ?

      @coliver said:

      @thecreativeone91 said:

      @Dashrender said:

      @thecreativeone91 said:

      I'm been saying that Startup Scripts and ADUC Home Folders have been dead for user. Many still insist on doing things this way though. GPP is way more flexible though and actually works better.

      What do you replace home folder with?

      GPP Mapped Drives.

      I need to finish configuring this... Home drives aren't mapping correctly over our Site-to-site VPN. I am fairly certain this was a known issue which GPP solves.

      Yep. They don't get stored locally in any way as they aren't a policy. GPP does cache.

    • scottalanmillerS

      The Beginner's Guide to BASH Scripting

      Watching Ignoring Scheduled Pinned Locked Moved Developer Discussion scripting bash
      2
      1 Votes
      2 Posts
      1k Views
      nadnerBN

      Thanks for the pointer. Something that I've wanted to look at but not known where to start 🙂

    • scottalanmillerS

      Reading Wikipedia with a Script

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion scripting
      2
      0 Votes
      2 Posts
      975 Views
      thanksajdotcomT

      Cool!

    • scottalanmillerS

      Taking BASH Scripting to the Next Level

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion shell bash linux shell scripting scripting
      2
      2 Votes
      2 Posts
      1k Views
      Reid CooperR

      Interesting approach. I would not have thought of looking at BASH that way. Thanks.

    • 1
    • 2
    • 3
    • 3 / 3