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.
Go to this existing directory "/var/log", create a log file called "texas.log". Make the following entries in the file and save it:
Dallas
Austin
Houstin
Welcome to LQ! We'd very much like to help, but your current thread makes that difficult. Please visit http://www.linuxquestions.org/questi...#faq_lqwelcome for some additional information on how you can help us help you. If you have any questions or need additional clarification, just let us know.
Thanks , the question is in existing directory " /var/log " create a log file call texas.log include the following entries in the file, dallas,austin,houstin and safe it .how do i go about the commands to this , creating the file ,and making the entries in the file and safe it.
might need to be root or sudo in terminal to write to var maybe?
Code:
harry@biker1:~$ cat /var/log/texas.log
Pecos
Balmorreh
Terlingua
Austin
Dallas
Houstin
Luckenbach
Uvalde
Presidio
Ft Hancock
Esperanza
##more to come at a location near you##
harry@biker1:~$
Thanks to you all, i think i got a lead.
i did ...
cd /var/log
ls
touch texas.log
ls
but where i got real lost is to make the entries dallas,austin ,houstin in the file created.
Thanks for the lead will try to do it again.
Thanks to you all, i think i got a lead.
i did ...
cd /var/log
ls
touch texas.log
ls
but where i got real lost is to make the entries dallas,austin ,houstin in the file created.
Thanks for the lead will try to do it again.
It's a text file, so open it up in a text editor and add whatever you want. vi, pico, nano, gedit, kate...all are text editors, pick one, there are tons of choices.
This sounds like it's homework...
Last edited by suicidaleggroll; 07-27-2015 at 02:53 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.