PYpriyanka yadavinlearning-ocean.hashnode.dev·Apr 5, 2023 · 5 min readFile Permissions and Access Control Lists1.Create a simple file and do ls -ltr to see the details of the files. As a task, change the user permissions of the file and note the changes after ls -ltr ubuntu@ip-172-31-13-215:~/file_permissions$ vi new_file.txt ubuntu@ip-172-31-13-215:~/file_pe...01G
PYpriyanka yadavinlearning-ocean.hashnode.dev·Apr 5, 2023 · 3 min readAdvanced Linux Shell ScriptingWrite a bash script create Directories.sh that when the script is executed with three given arguments (one is directory name and second is start number of directories and third is the end number of directories ) it creates specified number of directo...00
PYpriyanka yadavinlearning-ocean.hashnode.dev·Apr 4, 2023 · 3 min readBasic Linux Shell ScriptingWhat is Shell? Shell is a command line interface for users. It provides an environment for a user to execute the commands and interact with the kernel. There are several shells are available for Linux systems like – BASH (Bourne Again SHell) – It i...00
PYpriyanka yadavinlearning-ocean.hashnode.dev·Apr 4, 2023 · 3 min readLinux commands for DevOpsTo view what's written in a file. cat :- cat command is used to view the contents of a file. syntax: cat <file_name> To change the access permissions of files. chmod:- Change the permission of a file or directory. syntax: chmod parameter <file...00
PYpriyanka yadavinlearning-ocean.hashnode.dev·Apr 3, 2023 · 5 min readLinux Basic Commands1. ls command In Linux, the command "ls" is one of the most commonly used. It's used to display a list of files and sub-directories in the current directory. A Linux command has the following basic syntax: ls [ Options ] [File] OptionsDescriptio...00