Published on March 11, 2017 by ProgrammingKnowledge

For more detailed Tutorial visit – goo.gl/vn9xIb

Shell Script has many operators that you can use to test different aspects of a file. For example, you can use the -e operator to ensure that a file exists before deleting it. Or, you can check that a file can be written to before appending to it. By checking the feasibility of the impending file operation, you can reduce the number of errors that your program will encounter.

My Website – www.codebind.com
My Blog – goo.gl/Nd2pFn
My Facebook Page – goo.gl/eLp2cQ
Google+ – goo.gl/lvC5FX
Twitter – twitter.com/ProgrammingKnow
Pinterest – goo.gl/kCInUp
Text Case Converter – goo.gl/pVpcwL
Epoch Timestamp Converter – goo.gl/Zedjo5
Decimal – Binary – Hexadecimal Converter – goo.gl/rkX3JE
8-bit Checksum Calculator – goo.gl/inxvIT

Leave a Reply

8 Comments on "Shell Scripting Tutorial for Beginners 6 – File test operators"

Notify of
avatar

Ergis Hotza
Guest
Ergis Hotza
12 days 3 hours ago

Very well explained thnx

Mohammad Faizan
Guest
Mohammad Faizan
13 days 4 hours ago

Nice…Very understandable..Thankx

faiz shaikh
Guest
faiz shaikh
14 days 2 hours ago

ECOMMERCE BASED…

faiz shaikh
Guest
faiz shaikh
14 days 2 hours ago

PLEASE….

Ajmery Yeasmeen Bithi
Guest
Ajmery Yeasmeen Bithi
14 days 2 hours ago

is it helps for marketing sir?

lexand007
Guest
lexand007
13 days 20 hours ago

Learn marketing with shell? I don't think it's the best idea.

Ajmery Yeasmeen Bithi
Guest
Ajmery Yeasmeen Bithi
14 days 2 hours ago

i wanna learn about marketing please help me.

faiz shaikh
Guest
faiz shaikh
14 days 2 hours ago

SIR MAKE AN PROJECT IN ASP.NET MVC ….

wpDiscuz