-
Junior Member
registered user
Command confusion
There seems to be a conflict between Unix and Linux when it comes to commands.
I reading a book on Unix Shell Programming and when I try it out on Knoppix, certain commands do not work, e.g.
$who am i
$ls *p (although $ ls p* works)
$ls [aeiou]*
$ls a?n
Why is it so? Is there something else called "Linux Shell programming".
-
Administrator
Site Admin-
Re: Command confusion

Originally Posted by
horizon981
Why is it so?
welcome.
I'm not an expert at shell programming (have been in past lives but not for Linux). Linux is actually the name of the the OS Kernel, the rest of the tools are from the GNU library. You might want to look up what the TLA GNU stands for. On good place to start is here. There are also several somewhat different shells provided, and of course there would be no reason for multiple shells if they all looked and ran the same. And yes, the world and particularly the web is filthy with Linux documentation (you do know how to use Google, don't you?)
---
Verifying of md5 checksum and burning a CD at slow speed are important.
-
Senior Member
registered user
Actually, these commands and options which you have listed all work as expected. I have just verified them again, with the exception that "who am i" should be one word: "whoami".
You probably think they didn't work because you executed them in a directory that doesn't contain many files and so the ls commands did not return anything. Try cd /usr/bin and do the commands again. Lots of files to be found there.
Regards.
-
Junior Member
registered user
Yes!!
Thanks a lot!!
Similar Threads
-
By Tuxgrrrl in forum General Support
Replies: 5
Last Post: 02-08-2007, 10:32 AM
-
By Durand Hicks in forum General Support
Replies: 2
Last Post: 04-08-2004, 05:50 PM
-
By darkwid in forum Hdd Install / Debian / Apt
Replies: 4
Last Post: 04-01-2004, 11:07 PM
-
By heffeque in forum Hardware & Booting
Replies: 12
Last Post: 01-07-2004, 08:31 AM
-
By bsaunders in forum General Support
Replies: 2
Last Post: 11-24-2003, 03:43 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

16GB KIT (2x8GB) DDR4 Gamer Desktop RAM PC4 MIXED BRANDS
$65.00

Kingston 16GB DDR4 3200MHz PC4-3200AA-SA2-12 Laptop RAM SODIMM (HP32D4S2S8ME-16)
$64.99
![[ BULK LOT OF 10 ] UNITS of 8GB DDR4 Laptop RAM SAMSUNG, HYNIX etc. picture](/store/img/g/IKQAAeSwEK9qv9TG/s-l225/-BULK-LOT-OF-10-UNITS-of-8GB-DDR4-Laptop-RAM-SAMSU.jpg)
[ BULK LOT OF 10 ] UNITS of 8GB DDR4 Laptop RAM SAMSUNG, HYNIX etc.
$299.99

16GB(2x 8GB) Crucial DDR3L-1600 SODIMM / Lot of 2 8GB / Laptop RAM Memory / A25
$17.99

Major Brand 8 GB PC3L-12800 (DDR3-1600) 2Rx8 DDR3L Laptop Memory RAM
$10.99

G.SKILL Trident Z 16GB (2x8GB) DDR4 3600 PC4-28800 F4-3600C15D-16GTZ w/ XMP
$139.00

32GB (4x8gb) Corsair Vengeance LPX DDR4 2666MHz PC RAM CMK32GX4M4A2666C16R
$100.00

Major Brand 16GB (2x8GB) PC3-12800U DDR3-1600MHz DDR3-12800 DESKTOP RAM NON-ECC
$29.99

Corsair Vengeance DDR3 8GB 16GB 32GB 1866MHz PC3-14900 Desktop RAM Memory DIMM
$85.00

LOT OF 23 Ram Sticks-Corsair Vengeance CMZ8GX3M2A1600C9 4GB (4GBx23=92GB Total)
$129.99