hi
when i tried to run the follwing script in the vi editor of Linux, I got the error like "bc: command not found"
script is:
a=2
b=5
echo "$a * $b"|bc
hi Jean-Pierre,
Thanks for your kind response. I got to know that there is no bc command in Linux, so could you please let me know if there is an alternative way to execute the previous script.
Also the same script can be run by usng 'expr' command in Linux however it can't be used for the complex arithmetic expressions.
Hello,
I am on a Mac and trying to clean up some monthly files with a very simple SED:
sed '3,10d;/<ACROSS>/,$d' input.txt > output.txt
(from the input, delete lines 3 - 10; then delete from the line containing <ACROSS> to the end of the file)
then output to output.txt
Even when I try... (2 Replies)
I just started a new semester and I started my UNIX class yesterday. I've already decided to use python along with my learning process but what I really want to use with it is Kali as my UNIX/Linux platform to learn off of since I already wanted to learn Cyber Sec. anyways. I just wanted to know if... (12 Replies)