Here is a little something I whipped up:It's a CLI browser for user scripts, it allows you to install/remove scripts with ease. Command line is also supported.Included are 2 scripts of mine. I'd like everyone to help adding your scripts to it. Use the included scripts/template.sh to create the template for your script and fill in the details.
I'm probably doing something remarkably stupid, but I can't figure out what.
Running Ubuntu Server 12.04 on a cloud host (Digital Ocean, if it matters).
Hi,I am using centos 6 and i am writing some scripts.Now i want to use these scripts from web page by use of cgi-bin.When i run scripts from command line by root user it is working fin... [by benjo11111]
Hello,
I have a Application which needs to run shell scripts in a elevated state (root) for system interrogation. So I execute each script using bash -C. This has worked really well.
I now want to add another layer of security, I cant inspect each of the scripts before they get deployed to the systems.
For some reason (?), often when I write scripts nowadays they do not work, or work only in part, and then I try with . or source and they work perfectly. I'm unsure what is causing this as the scripts are different in a lot of ways, it's hard to isolate what must be sourced in order for the script as a whole to work.
i have been playing around with shell scripting, nothing too complex just learning the basics. if i try to run a script as root (by entering "sudo" then the "command") it says command not found. i can only do it ass root if i specify the full path (/home/username/bin/command) im pretty sure the directory that my scripts are in are part of the superusers path.
Hi Josh,
its probably too late to ask this question.
However i am facing this problem currently.
Could you let me know that how to see/remove these invisible characters.
are you using a tool other than VI?
Please help me out in running my scripts.
Thanks.
Aamer
I want to replicate the Heroku Git build process on my server using gitolite, a post-receive hook and foreman.
The pushed repository has a Procfile in it, so I can generate the upstart scripts using foreman like so:
foreman export upstart /etc/init
Everything works as expected, the app builds on push, but the git user running the export has no sudo privileges, and therefore cannot write the ge
I know that shell scripts just run commands as if they were executed in at the command prompt. I'd like to be able to run shell scripts as if they were functions... That is, taking an input value or string into the script. How do I approach doing this?