0% found this document useful (0 votes)
19 views20 pages

P 7

it iss nice

Uploaded by

sagarbhond0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
19 views20 pages

P 7

it iss nice

Uploaded by

sagarbhond0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 20
Protbhca cls Al. What is the Crontab? The crontab is a list of commands that you want to run on a regular schedule, and also the name of the command used ta manage that list. = Crontab stands for “cron table," because it uses the job scheduler cranto execute tasks = The schedule is called the crontab, which is also the name of the program used Piro an ee eae) EfHUSFGI Course - 11 Hours [2024] | Linux Tutorial For Beginners | Linux Training|Ed.. @ @ 42. How many fields are present in a crontab file and what does each field specify? The crontab file has six fields. = The first five fields tell cron when to execute the command: minute(0-59), hour(Q-28), day(!-8!), month(!-12), and day of the week(Q-6, Sunday = 0). = The sixth field contains the command to be executed. = Scene ties edureka! 43. What are the two files of crontab command? Two files of crontab command are: = cronallow - It decides which users need to be permitted from using crontab command. = cron.deny - It decides which users need to be prevented from using crontab command. Tene ae te ak ee ied othe c ls 44. What command needs to be used to take the backup? Ls] ¥) Saves Files Restores Files tar is the command which needs to be used to take the backup. It stands for tape archive. Biren rca ootbh ca cls 44, What are the different commands available to check the disk usage? There are three different commands available to check the disk usage. = df - This command is used to check the free disk space. = du- This command is used to check the directory wise disk usage. = dfspace - This command is used to check the free disk space in terms of MB. Biro ak ra roth co cls 45. What are the different communication commands available in the Shell? There are four different communication commands available in the Shell. = mail = news = wall = motd ei robb ca cls 7A SMR MTL a eM ce) easy epee SMUT TeSys ese Uae) LH CEMTS el gELLTenS Edureka? The total disk space used by Edureka can be found out as shown below. du -s/home/Edureka (ria ek re ed EfHUS FGI Course - 11 Hours [2024] | Linux Tutorial For Beginners | Linux Training|Ed.. @ @ 47. How to debug the problems encountered in shell STH eA Mt Tg Given below are some common methods used to debug the problems in the script. = Debug statements can be inserted in the shell script to output/display the information which helps to identify the problem. = Using “set -x" we can enable debugging in the script. edureka! 48. What is the difference between = and ==? = = This is used for assigning value to the variable. = == This is used for string comparison. Mra to ak ree ee EfHUXCFUI Course - 11 Hours [2024] | Linux Tutorial For Beginners | Linux Training|Ed.. @ @ eR RO EME em ERS T Read-only file can be opened as shown below: vi -R Se Cott cacy ATER CUT esa eB EES CEM Eleaf without extracting in a shell script? The contents of the file inside a jar can be read without extracting as shown below. tar -tvf .tar Pe ek ee cd EfHUSCFUI Course - 11 Hours [2024] | Linux Tutorial For Beginners | Linux Training|Ed.. @ @ a Can you specify 2 methods of passing parameters POM Nase drehaBlocaent a Renae eed. EfHUXFUIl Course - 11 Hours [2024] | Linux Tutorial For Beginners | Linux Training|Ed.. @ @ aK} TCR TCR] UTERUS UTTER ULE) eS and print the record count of each? Training? Call us at othe cls 7 Write a Shell Script that adds two numbers if provided as the command Line Argument and if the Pu eee em Cet A US: ol) g Message. Ce Ae eon A eR ee eee Ld =

You might also like