Created page with 'This script changes the current development group. #!/bin/sh cp "$HOME/.musca_devels/$1" "$HOME/.term_dir" echo " bind on F2 exec [[Use…'
New page
Created page with 'This script creates a new development group. #!/bin/sh echo "$2" > "$HOME/.musca_devels/$1" [[User:ktvoelker/musca_restore_devel|musca_re…'
New page
Created page with 'This script creates the frame layout of a development group. #!/bin/sh echo " add $1 pad 0 0 0 18 hsplit 1452 vsplit 769 hsplit …'
New page
Hey guys, I was wondering if any linux gurus could help add zenity to a script. If anyone could show me what the script below would look like with zenity added to it would be greatly appreciated.
#!/bin/bash
dvdencoder=./dvd-it-encode.sh
if [ $# -lt 3 ]
then
echo \
echo Insufficient arguments.
← Older revision
Revision as of 22:56, 3 June 2010
Line 1:
Line 1:
-This script creates all my [[User:ktvoelker/Development Group|development groups]] when musca starts.+This script creates all my [[User:ktvoelker/Development Groups|development groups]] when musca starts.
#!/usr/bin/env perl #!/usr/bin/env perl
I have an echo statement in my script as below:
echo -ne "Check Script";
I was expecting it to print
Check Script
but I am getting the below output
-ne Check Script
But when I run the same script on some other machine I get the expected output.
What could be machine specific variables or properties because of which the script is behaving differently.
I have a following bash script I encountered on the web that prints the power set of a given lines of elements.
p() { [ $# -eq 0 ] && echo || (shift; p "$@") |
while read r ; do echo -e "$1 $r\n$r"; done }
after the first && there is echo that does not have any argument.
Here is the code to test it:
p $(echo -e "1\n2\n3")
Im new to bash and have written this script to collect data then save it to an automated file it runs fine till here but as i try to rerun the script to add another details it gives me errors.
please cam you help
!/bin/bash
This program helps the user to collect contact details.
clear
options="Add_User End_session"
echo "1. Add another user"
echo "2.
Hello All,
I am in SunOS usvh3eudv80 5.10. facing problem in my script:
Code:
#!/bin/bash
var1=`date +"%m%d%H%M"%S.zip`
echo " Hi your current dir is :---> $(pwd)";echo " Changing to home dir:"
cd ~ 2>/dev/null || {echo "Change dir failed ....Quiting...." && exit 2 }; ls -lrt
echo ".....