10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hey, im fairly new to unix and Im trying to make this unix project that would display a menu and do the following.
(p, P) Print users info
(a, A) Add new user
(s, S) Search user
(d, D) Delete user
Enter your choice:
Trying to... (3 Replies)
Discussion started by: ultimaxtrd
2. Shell Programming and Scripting
In the below portion of a bash script the user selects a file from a directory.
select file in $(cd /home/cmccabe/Desktop/NGS/API/5-14-2016/bedtools;ls);do break;done
files in directory
second portion of bash currently (user... (4 Replies)
Discussion started by: cmccabe
3. Shell Programming and Scripting
Am trying to write wrapper shell/bash script on a utility tool for which i need to pass 2 files as arugment to execute utility tool.
Wraper script am trying is to do with above metion 2 files.
utility tool accepts :
a. userinfo file : which contains username
b. item file : which... (2 Replies)
Discussion started by: Optimus81
4. Shell Programming and Scripting
I want to run a script that calls remote ssh and if it gets hung, I want to be able to kill that part of the script and run another command in the script
for example I have a statement like this:
export tapes=$(for tape in $(su - nacct -c 'ssh remote1 "cat... (1 Reply)
Discussion started by: newbie2010
5. Shell Programming and Scripting
This is my sample code in /etc/httpd/conf.d/applications.conf file currently we are creating subdomain mannually for every new subdomain. I want to automate this process througs bash script , how its possible.
ServerAlias google.com... (5 Replies)
Discussion started by: anishkumarv
6. Shell Programming and Scripting
Below is a test script to illustrate a problem from a larger script I am writing.
$ cat /tmp/loggingtest
lvcreate -s -l 100%FREE -n var-data-snapshot vg00/var-data 2> >(logger -t "loggingtest.crit") 1> >(logger -t "loggingtest.info")
lvremove -f... (1 Reply)
Discussion started by: jelloir
7. Shell Programming and Scripting
I have a script which extracts values from a Database (A persons name) and puts it into a variable in my script IE: $NAME
However the Value in the DB is all in uppercase and contains the users first name and last name
> echo $NAME
What I need is only the... (7 Replies)
Discussion started by: grahambo2005
8. Shell Programming and Scripting
URGENTLY NEEDED A SCRIPT TO SELECT AND DELETE LOWER AND MIXED CASE RECORDS FROM A COLUMN IN A TABLE.
FOR EXAMPLE : Table name is EMPLOYEE and the column name is CITY
and the CITY column records will be: Newyork
... (1 Reply)
Discussion started by: abhilash mn
9. Shell Programming and Scripting
I need to check if $1 is A or B
I tried the following but it seems its not correct..would appreciate a suggestion ?
"A" || "B" )
Thanks (4 Replies)
Discussion started by: cosec
10. UNIX for Dummies Questions & Answers
How can convert a Lower case variable value to an upper case in the kron shell script. (3 Replies)
Discussion started by: dchalavadi