LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   please help me with linux command !! (https://www.linuxquestions.org/questions/linux-newbie-8/please-help-me-with-linux-command-941309/)

samantha904 04-23-2012 10:49 AM

please help me with linux command !!
 
how to redirect the output of a listing of all directory contents for/var/log to a file called Hello and store that file within the folder called Hello ?

suicidaleggroll 04-23-2012 10:50 AM

Code:

mkdir Hello
ls /var/log > Hello/Hello


acid_kewpie 04-23-2012 10:51 AM

Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.


All times are GMT -5. The time now is 01:30 PM.