Hey folks,
I'm attempting to write a shell script that that will delete the content of the directory specified.
So for example, I want to be able to type: sh trash misc. Where trash is my shell script and misc is the folder I want to delete the contents of.
What would be the best way to go about this?
I'm thinking I need to use find...
This is new to me a little. But my objective is to run a script that will display the directory of a network drive. I am on a mac and the network drive is a local SMB connection.
I have been able to use
ls ~/Documents
and that lists a specificed local directory, but I am unable to get it to show contents of a network directory.
BTW...
Hello all,
I have a CGI shell script that download a list of packages. And it prints some information about the process and then starts running it. When complete, it shows the result of the job.
It works perfectly, however, on the browser doesn't show any thing until after the process is complete. Is there some way that tell the browse...
Hi!
I am making a shell script that will automate the install process of Arch Linux AUR packages. I need to list all dependencies of the package (to check if they are installed), they appear like this in install script:
depends=('sdl' 'libvorbis' 'openal')
The easiest way (or the only idea) that I could come up with is something like...
Hello,
Is it possible to do the following:
I want to run the following:
mongodb bin/mongod
in my bash_profile I have
alias = "./path/to/mongodb/$1"
Thanks everyone!
...