Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Create a bash script that asks users to change permission

#!/bin/bash
until ["$input"= 'no']
do
    echo "Enter the name of file to change permissions"
    read filename
    chmod 777 $filename
    echo "$filename permissions has been changed"
    echo "Would you like to change the permissions of another file?(yes or no)"
    read input
done
    echo "You typed: $input"
Comment

PREVIOUS NEXT
Code Example
Shell :: check if string in file 
Shell :: ffmpeg scale but keep aspect ratio 
Shell :: airodump output to file 
Shell :: nautilus open random file 
Shell :: view git branch changes graphically just local 
Shell :: kali linux wired connection insted of wifi 
Shell :: splunk error can not create trial 
Shell :: surface area of a spherical shell 
Shell :: git branch not clean 
Shell :: dont want ot type my passphrase everytime i push 
Shell :: “Permission denied while trying to connect to the Docker daemon socket” while accessing docker image on jenkins 
Shell :: http get cli 
Shell :: docker build non-zero code 100 
Shell :: gammu-smsd.service: Unit configuration has fatal error, unit will not be started. 
Shell :: bash rifare ultimo comando 
Shell :: coc.nvim not working after update 
Shell :: close adb shell 
Shell :: iina github 
Shell :: find drive D windows sub system linuc 
Shell :: ansible select inventory file to adhoc command 
Shell :: stackdriver kubernetes gcp 
Shell :: cse github 
Shell :: termux login single command install 
Shell :: terminal bash grep word inside files directory 
Shell :: AMazon linux 2 AMI query 
Shell :: service logs realtime 
Shell :: pip install many packages 
Shell :: linux list zip contents 
Shell :: sed add a line after a match 
Shell :: How to build android cts? And how to add and run your test case? 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =