10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
I begin to write my first shell script, but I am totally lost, hope you can help me.
I'd like to write a script with some conditions and multiples usages:
./myscript.sh -i <host>
or
./myscript.sh -e <host>
Have you some suggestion, because I am really lost, I try to do something... (12 Replies)
Discussion started by: Francesco
12 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I am trying to execute the following tar command with two --exclude options to suppress extract of the two directories specified.
Do I need to single quote the directory paths ??
Many thanks for your help.
The relevant code excerpt from the script is:
cd /var/www/${SITE}
... (7 Replies)
Discussion started by: daveu7
7 Replies
3. Shell Programming and Scripting
Hi all,
I have a tar file and inside that tar file is a folder with additional tar.gz files. What I want to do is look inside the first tar file and then find the second tar file I'm looking for, look inside that tar.gz file to find a certain directory. I'm encountering issues by trying to... (1 Reply)
Discussion started by: bashnewbee
1 Replies
4. Shell Programming and Scripting
Hello,
Recently, I've started with shell scripting, and decided to write a script for my system backup using tar. When I was dealing with tar execution inside shell script I found this, inside shell we have the following code:
tar $TAR_PARAMS $ARCHIVE_FILE $EXCLUDE $BACKUP_STARTwith... (6 Replies)
Discussion started by: ilnar
6 Replies
5. Shell Programming and Scripting
Hi,shell script is scheduled from maestro and we want mastero should not run shell script so can we edit the shell script so that it should run.ThanksPrakash (5 Replies)
Discussion started by: prakashdba2010
5 Replies
6. Shell Programming and Scripting
please can u help me in my homework, i want to creat a script shell for ln (symbolik link). This script will do everything that Ln do it. (1 Reply)
Discussion started by: halo03
1 Replies
7. Shell Programming and Scripting
Hi ,
I want my shell script to be hidden that only I can only access
not even root user how can is it possible (2 Replies)
Discussion started by: kaushik02018
2 Replies
8. Shell Programming and Scripting
i have a small problem getting a batxh shell script to run in shell
this is the code
the problem seems to be centered around the ffmpeg command, something maybe to do with the ' ' wrapping around the vhook part command
this is a strange problem , if i take the ffmpeg command and... (1 Reply)
Discussion started by: wingchun22
1 Replies
9. UNIX for Advanced & Expert Users
Hi unix_guru(s),
How to make a shell script into a normal unix command?.
I'm always using shell to run a script(like $ksh demo.ksh).
I don't want to use this ksh at all time.
The script sholud run if i am typing as "demo" instead of typing "ksh demo.ksh"
Please, give me that trick. (3 Replies)
Discussion started by: mthiruna
3 Replies
10. Shell Programming and Scripting
Hi,
I am using tar cvf inside a shell script to archive files.
Is there an option to surpress any prompts which come up if the desired archive name already exists ?
Thanks in Advance.
Kas. (2 Replies)
Discussion started by: kas7225
2 Replies