Day - 2 of internship at Aartronix

19)grep:- 

 

20) ar :- it is used to create and manage archive(examples of archive are multi module library in python)

*Well I can try this for daily codes (/d1/c1,d1/c2,d2/c1)

21) curl :-  A tool to transfer data to or from a server, using any of the supported protocols

we can use curl to send email:

curl --url [SMTP URL] --mail-from [sender_mail] --mail-rcpt [receiver_mail] -n --ssl-reqd -u {email}:{password} -T [Mail text file]

For calling API : 

curl -X POST -d "q=22.237481,70.675301&key=value" http://api.weatherapi.com/v1/current.json 

For downloading files:

curl weather.png cdn.weatherapi.com/weather/64x64/day/116.png

To handle authentication -u is used -u <user>:<password>

22)xdg-open :- it simply opens specified file or url.

23) args : 

24 ) export : basically we can set path variables in linux and it takes immediate effect.

Comments

Popular posts from this blog

Day - 1 of internship at Aartronix