Search Results

Search: Posts Made By: mitthan
23,843
Posted By mitthan
try this printf "%s\n" 1 2 3 4 >temp tail -r...
try this
printf "%s\n" 1 2 3 4 >temp
tail -r temp
2,315
Posted By mitthan
Hi can you send me a sample input file and a...
Hi can you send me a sample input file and a expected output, Its not clear here
10,230
Posted By mitthan
for file name use this command export...
for file name use this command
export file_name=`ls -l | awk '{print $9}'`
echo $file_name to display
for size file_size=`ls -l | awk '{print $5}'`
echo $file_size to display
1,345
Posted By mitthan
try scp -r <directory name> user@<sever B>:<path>...
try scp -r <directory name> user@<sever B>:<path> from server A
10,829
Posted By mitthan
awk ' NF > 0 ' test.txt >tmp.txt : remove the...
awk ' NF > 0 ' test.txt >tmp.txt : remove the blank lines
awk '{ print NR ": " substr($0, length($0)-1) }' tmp.txt
24,810
Posted By mitthan
sed -e 's/^[ ]*Width:[ ]*//' -e 's/[ ]*$//'` ...
sed -e 's/^[ ]*Width:[ ]*//' -e 's/[ ]*$//'`

try this way ..you need to change according to your format in the file
24,810
Posted By mitthan
Please use this command sed -e "s/\º//g" -e...
Please use this command
sed -e "s/\º//g" -e "s/\ª//g" tt1.txt> tt2.txt

I have tested it with this input
tt1.txt input file contains
helªlo º helªlo2º
helªlo3º

output file tt2.txt comtains...
Showing results 1 to 7 of 7

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