Linux Shell Scripting: In 8 Hours, For Beginners, Learn Coding Fast! Linux Programming Language Crash Course, A QuickStart Tutorial Book by Script Example, In Easy Steps! An Ultimate Beginner's Guide by Yao Ray
Author:Yao, Ray [Yao, Ray]
Language: eng
Format: mobi, epub
Publisher: Linux Shell Scripting bootcamp cookbook bash tutorial for linux and unix beginners book teach yourself
Published: 2019-08-28T16:00:00+00:00
-b file
If the object is a block device file, return true.
-c file
If the object is a character device file, return true.
Example 5.2
# Assume that the file “myFile . sh” does not exist, but we still check the property of this file.
#!/bin/bash
file="/root/myFile.sh"
if [ -r $file ] # check if the object is readable
then
echo "The object is readable"
else
echo "The object isn't readable"
fi
if [ -w $file ] # check if the object is writable
then
echo "The object is writable"
else
echo "The object isn't writable"
fi
Download
Linux Shell Scripting: In 8 Hours, For Beginners, Learn Coding Fast! Linux Programming Language Crash Course, A QuickStart Tutorial Book by Script Example, In Easy Steps! An Ultimate Beginner's Guide by Yao Ray.epub
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7764)
Filmora Efficient Editing by Alexander Zacharias(5786)
The Infinite Retina by Robert Scoble Irena Cronin(5264)
Learn Wireshark - Fundamentals of Wireshark. by Lisa Bock(3978)
Linux Device Driver Development Cookbook by Rodolfo Giometti(3935)
Edit Like a Pro with iMovie by Regit(3428)
Linux Administration Best Practices by Scott Alan Miller(2858)
Linux Command Line and Shell Scripting Techniques by Vedran Dakic & Jasmin Redzepagic(2836)
MCSA Windows Server 2016 Study Guide: Exam 70-740 by William Panek(2520)
Mastering PowerShell Scripting - Fourth Edition by Chris Dent(2403)
Docker on Windows by Stoneman Elton(2319)
Kali Linux - An Ethical Hacker's Cookbook: End-to-end penetration testing solutions by Sharma Himanshu(2315)
Creative Projects for Rust Programmers by Carlo Milanesi(2249)
Hands-On AWS Penetration Testing with Kali Linux by Karl Gilbert(2108)
Hands-On Linux for Architects by Denis Salamanca(2051)
Programming in C (4th Edition) (Developer's Library) by Stephen G. Kochan(2005)
Computers For Seniors For Dummies by Nancy C. Muir(2001)
The Old New Thing by Raymond Chen(1940)
Linux Kernel Debugging by Kaiwan N Billimoria(1762)
