Sponsored Content
Top Forums Shell Programming and Scripting Linux/bash Script only working if executed from shell prompt Post 302971893 by beislhur on Tuesday 26th of April 2016 05:47:10 PM
Old 04-26-2016
Thanks a lot!!!

Three lousy letters! Removed the 'set' and it worked.. ..

Smilie
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

how to make a bash script that can be executed by people simultaneously?

dear friends, i want to make a bash script that can be executed by many people simultaneously. do you have any idea to make it? there will be many dependent-variables(which is input from people) in the scripts. i am thinking about a random temporary file that created by the bash script each... (4 Replies)
Discussion started by: jimmbp
4 Replies

2. Linux

Local shell script need to be executed on a remote linux box

I need to execute a shell script on a remote linux box. But the shell script resides on the local linux box where I am currently logged in. Is there a way to do this? I know rsh <host> <command> can execute a command on the remote host. (6 Replies)
Discussion started by: rajeshomallur
6 Replies

3. Shell Programming and Scripting

returning un executed string to shell prompt

Hi all, i'm pritty new to chell scripting I'm trying to find a way to return a value to shell without it executing. is there a special character that will encase a sting including the command to a shell without executing, so waiting for the user to press enter. say i wanted to return a value... (3 Replies)
Discussion started by: jvan
3 Replies

4. UNIX for Advanced & Expert Users

Script working successfully only when executed twice

Guys, i am facing a very strange issue, my code below does an ftp to server A and gets a file to Server B, once the file is in B an if condition is present to check if the pattern of the filename is ABC* then it has to be encrypted using OPENSSL as ABC.enc else if it of pattern 123* has to be... (3 Replies)
Discussion started by: meva
3 Replies

5. Shell Programming and Scripting

PLEASE HELP! LINUX BASH SHELL SCRIPT

PLEASE HELP! NEED LINUX SCTIPT Need to write a bash shell script to show information of employees of a department from a company data set. The script should accept a project number (1/2/3/10/20/30) and output * the name of the project * the name of the manager of the controlling... (1 Reply)
Discussion started by: help123
1 Replies

6. Homework & Coursework Questions

LINUX Bash Shell Script

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Write a bash shell script that presents work information of employees of a department from a company data... (1 Reply)
Discussion started by: help123
1 Replies

7. UNIX for Dummies Questions & Answers

Bash script dont works when executed as cronjob

Hello, i have cronjob: crontab -l * * * * * pkill -f domexpcheck;sh /root/dom/domexpcheck.sh it runs: /var/log/cron Mar 25 12:11:01 vps crond: (root) CMD (pkill -f domexpcheck;sh /root/dom/domexpcheck.sh) but somehow script dont run properly via cronjob. But when i execute cronjob... (7 Replies)
Discussion started by: postcd
7 Replies

8. Shell Programming and Scripting

Bash shell script not working-picking segment patterns from a file

Hi All, I have to pick particular segments from a file and I have prepared below shell script.But its not working and I am not able to find out whats the issue.could you guys pls help? Sample file: TS3*1451575*12*20151231*4*482.44 NM1*QC*1*CUTLER*BETTY DTM*472*20150808... (4 Replies)
Discussion started by: Venkata Prasad
4 Replies

9. UNIX for Dummies Questions & Answers

Shell script not working but command works in command prompt

Hi everyone I have a problem with my script If I try directly this command /usr/bin/nice -n 19 mysqldump -u root --password="******" wiki_schneider -c | nice -n 19 gzip -9 > /point_de_montage/$(date '+%Y%m%d')-wiki-db.sql.gz It works But if I simply add this command in a script and... (8 Replies)
Discussion started by: picemma
8 Replies

10. Shell Programming and Scripting

Aliases NOT working inside bash shell script

i have defined a function ln_s() for customizing the ln command in script1.sh. more script1.sh echo "Starting Execution" ./script2.sh echo "End of Execution" ln_s(){ ] && return ln -s "$1" "$2" } My script1.sh executes another script2.sh which has the following entry more script2.sh... (12 Replies)
Discussion started by: mohtashims
12 Replies
aels(1) 																   aels(1)

NAME
aels - annotated directory listing SYNOPSIS
aels [ option... ][ filename... ] aels -Help aels -VERSion DESCRIPTION
The aels command is used to list information about the files and directories named on the command line. If no files are named, the cur- rent directory is listed. The view presented is from Aegis' perspective. It unifies the development directory with the baseline. OPTIONS
The following options are understood: -Recursive -LOng This option implies the -Show-Mode, -Show-Attributes, -Show-User, -Show-Group, -Show-Size and -Show-When options, unless explic- itly overridden. -Show-Dot-Files This option may be used to show files starting with a dot (.). -Hide-Dot-Files This option may be used to hide files starting with a dot (.). This is the default. -Show-Removed-Files This option may be used to include removed files in the listing. -Hide-Removed-Files This option may be used to exclude removed files from the listing. This is the default. -Show-Mode This option may be used to include the mode column in the listing. The mode column indicates the file type and permissions. -Hide-Mode This option may be used to exclude the mode column from the listing. This is the default. -Show-Attributes This option may be used to include the attributes column in the listing. The attributes column indicates whether the file is part of the change, the project or neither; whether the file is being created, modified or removed; whether the file is a source file, a test file, or neither. This is the default. -Hide-Attributes This option may be used to exclude the attributes column from the listing. -Show-User This option may be used to include file owner information in the listing. -Hide-User This option may be used to exclude file owner information from the listing. This is the default. -Show-Group This option may be used to include file group information in the listing. -Hide-Group This option may be used to exclude file group information from the listing. This is the default. -Show-Size This option may be used to include file size information in the listing. -Hide-Size This option may be used to exclude file size information from the listing. This is the default. -Show-When This option may be used to include the file modification time in the listing. -Hide-When This option may be used to exclude the file modification time from the listing. This is the default. -Help This option may be used to obtain more information about how to use the aels program. See also aegis(1) for options common to all aegis commands. All options may be abbreviated; the abbreviation is documented as the upper case letters, all lower case letters and underscores (_) are optional. You must use consecutive sequences of optional letters. All options are case insensitive, you may type them in upper case or lower case or a combination of both, case is not important. For example: the arguments "-project, "-PROJ" and "-p" are all interpreted to mean the -Project option. The argument "-prj" will not be understood, because consecutive optional characters were not supplied. Options and other command line arguments may be mixed arbitrarily on the command line, after the function selectors. The GNU long option names are understood. Since all option names for aels are long, this means ignoring the extra leading '-'. The "--option=value" convention is also understood. EXIT STATUS
The aels command will exit with a status of 1 on any error. The aels command will only exit with a status of 0 if there are no errors. ENVIRONMENT VARIABLES
See aegis(1) for a list of environment variables which may affect this command. See aepconf(5) for the project configuration file's project_specific field for how to set environment variables for all commands executed by Aegis. SEE ALSO
ls(1) list directory contents aefind(1) search for files in directory hierarchy ael cf List change files. ael pf List project files. COPYRIGHT
aels version 4.24.3.D001 Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Peter Miller The aels program comes with ABSOLUTELY NO WARRANTY; for details use the 'aels -VERSion License' command. This is free software and you are welcome to redistribute it under certain conditions; for details use the 'aels -VERSion License' command. AUTHOR
Peter Miller E-Mail: millerp@canb.auug.org.au //* WWW: http://www.canb.auug.org.au/~millerp/ Reference Manual Aegis aels(1)
All times are GMT -4. The time now is 04:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy