Developing Your Shell Scripting Proficiency in Linux

Developing Your Shell Scripting Proficiency in Linux

we'll be exploring sophisticated Linux shell programming. Today we will perform the following tasks-

  1. Write a bash script to create [directories.sh]

    Answer:-

  2. Create a Script to back up all your work done till now.

    Answer:-

  3. Read About Cron and Crontab, to automate the backup Script

Answer:-

Linux has a time-based task scheduler called Cron. By planning recurring tasks for particular times or intervals, you can automate them. The "Cron Table," or Crontab, is where these schedules are defined. For example, you can use Crontab to schedule a shell script that backs up your data to run at regular intervals, automating the backup process. This guarantees that your backups take place automatically and without human input.

  1. Read about User Management

Answer:-

A user is an entity, in a Linux operating system, that can manipulate files and perform several other operations. Each user is assigned an ID that is unique for each user in the operating system. In this post, we will learn about users and commands which are used to get information about the users. After installation of the operating system, the ID 0 is assigned to the root user and the IDs 1 to 999 (both inclusive) are assigned to the system users and hence the ids for local user begins from 1000 onwards.

  1. Create 2 users and just display their Usernames

Answer:-


#Linux #DevOps #cloud #AWS #community

#techenthusiast #Devops #CloudComputing


Follow for more:

Linkedin - https://www.linkedin.com/in/samarjeet-patil-921952251/