Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
echo is also an external command coming from coreutils. The code is derived from the bash source code. Maybe the coreutils' one is more readable, being in a stand-alone C file.
ofcourse echo can do other things as i said can change the colour of foreground and background and also can set some effetcs, echo can create a file.
and now i wannna know can echo display the access time of a file, if yes then how?
when i type the following command
echo *|wc
the output will be- 1 25 55
here i know what is 25(no of files in current directory), but what are 1 and 55 for?
plz tell me if anyone knows..........
waiting for reply...
thankyou!
when i type the following command
echo *|wc
the output will be- 1 25 55
here i know what is 25(no of files in current directory), but what are 1 and 55 for?
plz tell me if anyone knows..........
waiting for reply...
thankyou!
Please read the first line of the wc man page. It is there, as clear as day.
First look at the output echo *, then try to figure out what those numbers mean after having read the man page as suggested by pwc101. This is a general advice: carefully read the man pages! Most of the answers are there.
thankyou for ur useful suggestion.
now following are some combinations with echo and their outputs, i jst tried randomly, plz tell me what the output are abt........
First look at the output echo *, then try to figure out what those numbers mean after having read the man page as suggested by pwc101. This is a general advice: carefully read the man pages! Most of the answers are there.
You can find all the answers here. You should really read a shell programming guide, where you can find all the proper answers to your basic questions. Have a nice time!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.