10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have a csv file that looks like this
My code looks like this
sed 1d $file_name | while read Name Food Sport
mkdir -p $Name
#echo "Name: $Name" (3 Replies)
Discussion started by: darklord173
2. Shell Programming and Scripting
I am trying to initialize a file name in bash but not having much luck. For example, one of my bash scripts outputs a file named "FILE_1000G.vcf". I would like to rename FILE to match with the user's name. This is my code:
echo "Please enter your filename:"
rename... (6 Replies)
Discussion started by: Geneanalyst
3. Shell Programming and Scripting
Migrating Unix batch jobs (Korn Shell) running in HP-UX server to Linux environment.
Please help me to understand the easiest way to migrate Kernel Shell scripts to Linux Bash. Also let me know
1. Any automated scripts or tools available for this.
2. Challenges and issues... (5 Replies)
Discussion started by: cpremesh
4. Shell Programming and Scripting
I am trying to gather output of df -k from remote server to local server using below line:
rsh <host> df -k >/tmp/space_remote_host.txt
Why above throws following error message:(I've deleted the IP address in below chunk)
connect to address ..: Connection refused
Trying... (2 Replies)
Discussion started by: InduInduIndu
5. Homework & Coursework Questions
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
6. Shell Programming and Scripting
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
7. Shell Programming and Scripting
This is my program.
if ; then
echo "pbx program is running"
nohup php pbxconnect.php > logpbx-$today.txt &
On executing using "sh myprogram.sh" , i get the following error.
myprogram.sh: line 4: '
My... (7 Replies)
Discussion started by: gskumar1234
8. Shell Programming and Scripting
Linux lxs3er06 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 i686 i686 i386 GNU/Linux
While executing shell scripts in bash shell, following error messages are thrown:
rm:command not found
On doing little investigation, I added '/bin' to $PATH and on doing echo... (9 Replies)
Discussion started by: a1_win
9. Shell Programming and Scripting
as many, I have a problem with a script...
I wrote a shell script in which I want to read a variable value. the problem is that I can't use the arrow keys.
Here is the script I use :
stty erase ^H
the problem is... (2 Replies)
Discussion started by: Moumou
10. Shell Programming and Scripting
I have file named script1 as follows:
count=`expr $count + 1`
when I run it, I get
./script1: line 9: syntax error near unexpected token `done'
./script1: line 9: `done'
I... (6 Replies)
Discussion started by: npatwardhan