HI all, im new to shell scripting. need your guidence for my script. i wrote one script and is attached here
Im explaining the requirement of script.
AIM: Shell script to run automatically as per scheduled and backup few network devices configurations.
A shell script is a script written for the shell, or command line interpreter, of an operating system. Typical operations performed by shell scripts include file manipulation, program execution, printing text etc.
Shell : In computing, a shell is a piece of software that provides an interface for users.
I would like to know how to automate an already made shell script (all the steps of all the commands done on a specific folder) by utilizing a list (a .txt) of all folder names that the shell scripts goes and executes
For example:
In the working folder called main/ there are subfolders named folder1, folder2, folder3.....folder100 and shell script shell.sh.
vi shell.sh
Code:
perl au
Hi All,
Currently our application is running on the server having AIX 5.3 OS.
What we intend to do is to run a shell script owned by another user and needs to be run as that particular user.
I was trying to create a shell script using the su command before running the actual script (which will be executed from the new script). The su command always prompt for a password.
Thank you very much for viewing my post and offering your suggestions & help. I really appreciate it. ~Simba
1. The problem statement, all variables and given/known data:
File "Ageing" Shell Script
Part A) Write a shell script that will count the number of files in your account that were last modified 5 or more days ago.
Hello All,
I am stuck!
I have access to an external server via SFTP.
I'd like to get a script working that would automate the following
create a virtual machine
install a linux distro
run a command inside the distro
shutdown and remove the virtual machine
To create VM, I can use vbox manage. however I have no idea if it is even possible to automate installing linux (for example from ubuntu.iso) and inside that installation run another script.
Hi friends you can solve my question about make 3 shell scripts?
Quote:
Write a shell script such that, given multiple files as arguments, showing, for each of them, his name and the number of lines it contains. Try it with any file.
2.
In this question a script is provided, that minimizes all the other windows except the active one. But the thing is, to trigger this script a (shortcut) key-combination has to be pressed.
I would love it, if it would be possible to automate this behavior, i.e. no matter what I do, only the active window is not minimized.