10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am still learning shell scripting. Recently I see a function for read configuration. But some of special character make me confused. I checked online to find answer. It was not successful. I post the code here to consult with expert or guru to get better understanding on these special characters... (3 Replies)
Discussion started by: duke0001
3 Replies
2. Shell Programming and Scripting
Please help me understand how sort -k3,3 -k 4,4 short* works , is it sorting 3 and 4 th field ? what is the use of specifying 3,3 and 4,4 in sort and what is actually does and i see sort -k3 short* and sort -k3,3 -k 4,4 short* giving the same output.
Sort output attached
Please help (2 Replies)
Discussion started by: Antony Ankrose
2 Replies
3. OS X (Apple)
Hi all...
After mentioning the generation of a sinewave sweep generator in a previous thread in this forum this is the method I decided upon.
It plots a sinewave inside an 80 x 24 terminal window.
Although the original used bc (and the line is in the code but commented out) it is now... (4 Replies)
Discussion started by: wisecracker
4 Replies
4. Shell Programming and Scripting
I am learning SED and just following the shell scripting book, i have trouble understanding the grep and sed statement,
Question : 1
__________
/opt/oracle/work/antony>cat teledir.txt
jai sharma 25853670
chanchal singhvi 9831545629
anil aggarwal 9830263298
shyam saksena 23217847
lalit... (7 Replies)
Discussion started by: Antony Ankrose
7 Replies
5. UNIX for Dummies Questions & Answers
I have a text file called file1 which contains the text: "ls -l"
When I enter this command:
bash < file1 > file1
file1 gets erased. However if I enter this command:
bash < file1 > newfile
the output from "ls -l" is stored in newfile. My question is why doesn't file1's text ("ls -l") get... (3 Replies)
Discussion started by: phunkypants
3 Replies
6. Shell Programming and Scripting
Hi again :)
I still need your help now...
#!/bin/bash
SIZE=`ls -s text.txt`
while
do
done
My problem is that the line "while ..." still print the same value after the first loop.
In one instruction change the size of text.txt
I've run my bash script in debug mode, and the... (6 Replies)
Discussion started by: Link_
6 Replies
7. Shell Programming and Scripting
Hi everyone,
I have some questions regarding bash and my initializer files:
when I look at my bashrc file, I see lots of "export".. export MAGICK_HOME="$HOME/bin..etc".. what does export really mean?
in my bashrc, I have a line: "umask 0002" ... what does that do?
I have a bash_profile... (6 Replies)
Discussion started by: patrick99e99
6 Replies
8. Shell Programming and Scripting
Dear all,
I have been working with Linux for quite few years but never required to learn Bash and Linux really dep doan.
I want to learn bash I bought books and Have been reading on the Internet but I cannot find my answers, maybe I am blind.
For example:
What does this means?
# for i in... (4 Replies)
Discussion started by: renpippa
4 Replies
9. Shell Programming and Scripting
Hi, experts.
Whould anybody clear explay me difference and usage of these 3 commands (particulary in bash) :
exec
eval
source
I've tryed to read the manual pages but did not get much.
Also could not get something useful from Google search - just so much and so not exactly, that is... (3 Replies)
Discussion started by: alex_5161
3 Replies
10. UNIX for Dummies Questions & Answers
I tried PC-BSD a year or 2 ago, but the command-stuff wasn't clear to me, not knowing anything about UNIX.
I decided to go from scratch to learn more and installed FreeBSD7.
Now I find this is taking too much time (which I don't have; full time job + playing music + being over 50) to learn... (5 Replies)
Discussion started by: catch22
5 Replies