User Tools

Site Tools


linux:bash:check-is-mount

Check if Directory Mounted, Contoh/Sample Kode Bash Script

Kode bash script ini berfungsi untuk melakukan pengecekan apakah folder ter-mount atau tidak

Contoh Script 1

if mount | grep /mnt/md0; then
    echo "folder mounted"
else
    echo "folder not mounted"
fi

Berikan Komentar

Berikan komentar karena komentar anda akan bermanfaat bagi kami dalam meningkatkan kualitas dokumentasi ini ~~DISQUS~~

Layanan

Harga Domain .COM | Harga Domain .ID | Shared Hosting | Email Hosting | MySQL Hosting |
linux/bash/check-is-mount.txt · Last modified: 2016/08/18 00:52 by kbadmin

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki