Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.
for file in `ls` do Count=`echo cat $file | wc -l` echo " my count is $Count" if [ "$count" -gt 1 ]; then echo $count echo $file >> /home/log.txt else echo "there is no file to write" fi done
|Process one CSV vs another with reverse wildcard search and numeric calculation and export results to new file||4||104|
|Get a Perl script to return content from a module||7||79|
|ROboscript to move a file to another Servers Directory||10||67|
|Powershell Script need assistance to make some changes||4||79|
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
15 Experts available now in Live!