rename files in linux

                                                           Rename file at once 

1:)    rename 's/\.html/.php/' *.html


                                            Base64_encoding of csv column 

 awk -F',[[:space:]]*' '{ cmd="echo \042"$1"\042 |  base64"; cmd | getline v;
        close(cmd); print $1","v }' test.csv > base64.csv


                                                    Activate cronjob

For select editor  - select-editor 

Setting cronjob  - sudo crontab -e

example : 

1 * * * * /opt/lampp/htdocs/getMX_record/cron.php

Comments

Popular posts from this blog

preparation analytics

sitemap date format

SQL SELECT statement