mettastar Posted September 28, 2016 Report Posted September 28, 2016 Hello experts nenu oka script raasa and while executing that script I want each step execution withi in the script to be written into a log file. Tell me how to achieve this I tried this bash -x script.sh param >logfile.log 2>&1 But this is giving me lot of info which i don't need.. Quote
micxas Posted September 28, 2016 Report Posted September 28, 2016 >> filename.txt iste work avvatledha.... Quote
mettastar Posted September 28, 2016 Author Report Posted September 28, 2016 Just now, micxas said: >> filename.txt iste work avvatledha.... nop Quote
dkchinnari Posted September 28, 2016 Report Posted September 28, 2016 bash -x script.sh param >logfile.log 2>&1&1>3 Quote
kiladi bullodu Posted September 28, 2016 Report Posted September 28, 2016 7 minutes ago, mettastar said: Hello experts nenu oka script raasa and while executing that script I want each step execution withi in the script to be written into a log file. Tell me how to achieve this I tried this bash -x script.sh param >logfile.log 2>&1 But this is giving me lot of info which i don't need.. ayethey grep kottu Quote
k2s Posted September 28, 2016 Report Posted September 28, 2016 2 minutes ago, dkchinnari said: bash -x script.sh param >logfile.log 2>&1&1>3 Quote
k2s Posted September 28, 2016 Report Posted September 28, 2016 9 minutes ago, mettastar said: Hello experts nenu oka script raasa and while executing that script I want each step execution withi in the script to be written into a log file. Tell me how to achieve this I tried this bash -x script.sh param >logfile.log 2>&1 But this is giving me lot of info which i don't need.. separate ga monitoring/logging with color coding for type of messages ki oka wrapper rayi.. Quote
mettastar Posted September 28, 2016 Author Report Posted September 28, 2016 Just now, k2s said: separate ga monitoring/logging with color coding for type of messages ki oka wrapper rayi.. point me vuncle Quote
dkchinnari Posted September 28, 2016 Report Posted September 28, 2016 Just now, k2s said: separate ga monitoring/logging with color coding for type of messages ki oka wrapper rayi.. uncle neeku raani subjects em undadha Quote
dkchinnari Posted September 28, 2016 Report Posted September 28, 2016 1 minute ago, mettastar said: point me vuncle paidi try chesava Quote
k2s Posted September 28, 2016 Report Posted September 28, 2016 Just now, dkchinnari said: uncle neeku raani subjects em undadha Quote
mettastar Posted September 28, 2016 Author Report Posted September 28, 2016 14 minutes ago, dkchinnari said: bash -x script.sh param >logfile.log 2>&1&1>3 chesaa na mottaa.. script end avatledu.. ey command adi what is '3' there? 1- stdout 2- stderr 3- ? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.