Search Results

Search: Posts Made By: iwant2learn
8,745
Posted By iwant2learn
Hi I did as you instructed but it doesn't work,...
Hi I did as you instructed but it doesn't work, it gives me a syntax error: invalid arithmetic operator (error token is ""1+1.5" | bc -l")


do
FEE=$((echo "$FEE + 1.5" | bc -l)) ...
8,745
Posted By iwant2learn
Using Fractional Numbers in Shell Variables
Hello everyone,

Before I state my problem I would like to inform you that this is not an assignment. I'm just trying to learn some shell programming in my free time.

I'm trying to write a...
7,935
Posted By iwant2learn
Thank you both! :)
Thank you both! :)
7,935
Posted By iwant2learn
Thank you for you reply, but what I mean is how...
Thank you for you reply, but what I mean is how can I make the data use the values of the variables in subject and print them on the screen? Am I using the export incorrectly or is the problem...
7,935
Posted By iwant2learn
Nope, self learning. :)
Nope, self learning. :)
7,935
Posted By iwant2learn
Exporting Values of Variables to Another File
Hello,

I'm very new to Linux, and I have a question, I'm hoping you could help me with. :)

I have created a file called subject, contains this code:


#!/bin/bash

read -p "Student Name: "...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 12:48 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy