INPUT AND OUTPUT
Hwy guys i wanna tell you guys how to use input and output in linux shell, input means write in shell
and output means print in shell, so lets getting started, i was in previous post i have wrote the java installer for linux and i have to use many many of echo [syntax] >> file and you can use any command to output like tar -zvxf file.tar.gz >> log.txt and your extract log will print on your log, how about input input just like reading, if you want to read a book you mind will receive what are you reading about, as that as programming you can print out the text on each line like this one:
echo $(file), if your file have proclaim file string ,and it will show the "file" in the log
and output means print in shell, so lets getting started, i was in previous post i have wrote the java installer for linux and i have to use many many of echo [syntax] >> file and you can use any command to output like tar -zvxf file.tar.gz >> log.txt and your extract log will print on your log, how about input input just like reading, if you want to read a book you mind will receive what are you reading about, as that as programming you can print out the text on each line like this one:
echo $(file), if your file have proclaim file string ,and it will show the "file" in the log
留言
張貼留言