06-07-2010
Quote:
Originally Posted by
bigearsbilly
on linux /bin/sh is /bin/bash
On some linux distributions it happens to be bash yes, but e.g. on Ubuntu it is a link to /bin/dash
10 More Discussions You Might Find Interesting
1. Cybersecurity
I'm using AF_INET in sockets for inter process communication on the same machine. Is AF_UNIX better for IPC on the same machine than AF_INET in terms of performance? If so, how much better? I would like to know if there is sample code available to test this. I'm running the program on Solaris.
... (0 Replies)
Discussion started by: ivkumar
0 Replies
2. UNIX for Dummies Questions & Answers
Hi Gurus!
I recently got my shell account (HP UX v11) created by our sysadmin and am having problem deleting with the backspace key.
After doing some reading, I believe I need to enter a custom "STTY..." statement in my profile.
Can someone please help me with the correct "STTY" sequence... (3 Replies)
Discussion started by: alan
3 Replies
3. Shell Programming and Scripting
Hello,
Can someone explain how to distinguish a LF character and a CR/LF character in a text file from a shell script.
Thanks (1 Reply)
Discussion started by: jerardfjay
1 Replies
4. UNIX for Advanced & Expert Users
I am copying a file system to another one. someone suggest me use
find . -print |cpio -pdmv
but I think cp -r should do the same thing. Am I right?
In addition, by using " find . ", I got all the file names,, why do I have to use the -print option?
Thanks a lot! (1 Reply)
Discussion started by: fredao
1 Replies
5. Shell Programming and Scripting
Hi,
I have to write a program to compute the checksums of files
./script.sh
I wrote the program using bash and it took me forever since I am a beginner but it works very well.
I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies
6. Shell Programming and Scripting
I do not claim to be an expert, but I have done things with scripts that whole teams of folks have said can not be done. Of course they should have said we do not have the intestinal fortitude to git-r-done.
I have been using UNIX actually HPUX since 1992. Unfortunately my old computer died and... (7 Replies)
Discussion started by: awk_sed_hello
7 Replies
7. Shell Programming and Scripting
I have a script that start out with this:
#!/sbin/sh
Several things run.
However I cannot get:
shopt -s nullglob
to run in Bourne. I get:
shopt: not found
So within the main script (after #!/sbin/sh at the top) I start bash with:
bash
and try to run what I need with:
shopt -s... (2 Replies)
Discussion started by: crowman
2 Replies
8. UNIX for Dummies Questions & Answers
Here's the input:
alpha, numeric or alphanumeric string ("line 1 string")
numeric string ("line 2 string")
numeric string ("line 3 string")
numeric string ("line 4 string")
...
where
- each numeric string is in a pattern that can be matched with RE but
- there can be any number of... (2 Replies)
Discussion started by: uiop44
2 Replies
9. Shell Programming and Scripting
for (( i=1; i<=3; i++ )); do
for (( j=1; j<=3; j++ )); do
for (( k=1; k<=3; k++ )); do
echo $i$j$k
done
done
done
Will the above code work on a BOURNE shell?
As far as my understanding is, if I am writing the above code in a file..say lol.sh and then running it through the terminal using... (7 Replies)
Discussion started by: navienavnav
7 Replies
10. Shell Programming and Scripting
I am currently reading a very old reference from O'Reilly: Sed and Awk 2nd Edition reprinted in 2000. So far, it's a solid read and still very relevant. I'd highly recommend this to anyone.
The only problem I have with this book is that I had to resort to bourne shell to get my examples to work... (3 Replies)
Discussion started by: ConcealedKnight
3 Replies
LEARN ABOUT LINUX
regulatory.bin
regulatory.bin(5) Linux regulatory.bin(5)
NAME
regulatory.bin, regulatory.db - The Linux wireless regulatory database
Description
regulatory.bin and regulatory.db are the files used by the Linux wireless subsystem to keep its regulatory database information.
regulatory.bin is read by crda upon the Linux kernel's request for regulatory information for a specific ISO / IEC 3166 alpha2 country
code.
regulatory.db is a newer, extensible database format which (since Linux 4.15) is read by the kernel directly as a firmware file.
The regulatory database is kept in a small binary format for size and code efficiency. The regulatory.bin file can be parsed and read in
human format by using the regdbdump command. The regulatory database files should be updated upon regulatory changes or corrections.
Upkeeping
The regulatory database is maintained by the community as such you are encouraged to send any corrections or updates to the linux-wireless
and wireless-regdb mailing lists: linux-wireless@vger.kernel.org and wireless-regdb@lists.infradead.org
SEE ALSO
regdbdump(8) crda(8) iw(8)
http://wireless.kernel.org/en/developers/Regulatory/
regulatory.bin 21 December 2017 regulatory.bin(5)