10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
The following is a multi-line shell command example:
$cargo build
Compiling prawn v0.1.0 (/Users/ag/rust/prawn)
error: failed to resolve: could not find `setup_panix` in `human_panic`
--> src/main.rs:14:22
|
14 | human_panic::setup_panix!();
| ... (2 Replies)
Discussion started by: yogi
2 Replies
2. Shell Programming and Scripting
I am currently try to write a simple script with the following condition, but so far not having luck as the exit code would always be 0.
Run remote command to read a file and grep for test word.
if test word is in the file, send email.
if not, do nothing
also possible to ssh to multiple... (3 Replies)
Discussion started by: jaapar
3 Replies
3. Shell Programming and Scripting
Hi Gurus,
I have requirement to compare current result with previous reuslt.
The sample case is below.
1 job1 1
1 job2 2
1 job3 3
2 job_a1 1
2 job_a2 2
2 job_a3 3
3 job_b1 1
3 job_b2 2
for above sample file, GID is group ID, for input line, the job run... (1 Reply)
Discussion started by: ken6503
1 Replies
4. Shell Programming and Scripting
Hey everyone
I have a file 'agenda' which contains:
Object Day Month Year
Birthday 09 02 2012
i want to extract from a script the line which contains the day the user typed.
for example if he type 09 the line is showed using... (4 Replies)
Discussion started by: Goldstein
4 Replies
5. Shell Programming and Scripting
I am looking for a free whois lookup tool or some "scripting help" that will give uniform result for whois lookup from the linux command line.
Currently:
whois of a .co.nz domain results nameserver as follows.
ns_name_01: ns1.domain.co.nz
ns_name_02: ns2.domain.co.nz
While that of a .net... (5 Replies)
Discussion started by: anilcliff
5 Replies
6. Shell Programming and Scripting
Hi All;
I need to send emails from command line in some of my shell scripts.
I tried : mail -s "Subject" member@body.com < testfile
where test file contains body of the mail
This work on my mac computer at work BUT not on my mac laptop.
Does anyone have any ideas why?
Thanks
Walforum (1 Reply)
Discussion started by: walforum
1 Replies
7. Shell Programming and Scripting
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
Discussion started by: 4dirk1
4 Replies
8. Shell Programming and Scripting
Hello,
I am trying to learn how to pass something more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
______________________________________________
${0##*/}
run... (0 Replies)
Discussion started by: Narnie
0 Replies
9. Shell Programming and Scripting
I would like to send results as log to a file on unix.
When I try to run following command, no command_result file occured. I can't see logs.
How can I put the results to a file with java command on unix ?
java -classpath . HelloWorld $parameter>command_result (2 Replies)
Discussion started by: senem
2 Replies
10. UNIX for Dummies Questions & Answers
Hi, I am trying to send mail in ubuntu. I have installed postfix. In Redhat I could just type:
mail name@domain.com
I get the error that the command mail is not found. Does anyone know if there is a different command line to send mail? Can I install the command?
Thanks,
Eric (1 Reply)
Discussion started by: ejbrever
1 Replies