I want to get size of file into variable ? How to do that?
ls -l | grep testing.txt | cut -f6 -d' '
gave the size but how to store it in shell variable?
See Question&Answers more detail:osI want to get size of file into variable ? How to do that?
ls -l | grep testing.txt | cut -f6 -d' '
gave the size but how to store it in shell variable?
See Question&Answers more detail:os