Search Results

Search: Posts Made By: prathima
43,223
Posted By prathima
How to capture actual error message when a command fails to execute
I want to capture actual error message in case the commands I use in my shell script fails.

For eg:
ls -l abc.txt 2>>errorlog.txt

In this case I understand the error message is written to the...
31,290
Posted By prathima
Thanks a ton! It helped.. Thank you once...
Thanks a ton!

It helped..
Thank you once again!
19,501
Posted By prathima
echo is suppressing multiple spaces.How to avoid it
I am reading a file and copying selected lines from the file into another using echo.
For eg:

while read line
do
if ((some logic to determine whether I need to copy the current line to another...
31,290
Posted By prathima
how to append spaces(say 10 spaces) at the end of each line based on the length of th
Hi,
I have a problem where I need to append few spaces(say 10 spaces) for each line in a file whose length is say(100 chars) and others leave as it is.

I tried to find the length of each line and...
5,794
Posted By prathima
How to display files that have been modifed between a given date range
Hi,
I am new to Unix and was trying different ways of how to display the list of file names modified between a given date range in sorting order.I will get the fromdate and Todate from the browser,...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 11:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy