UrbanPro
true

Learn Unix Shell Scripting Training from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Learn Unix Shell Scripting Training with Free Lessons & Tips

Ask a Question

Post a Lesson

All

All

Lessons

Discussion

Lesson Posted on 03/03/2021 Learn Unix Shell Scripting Training

Unix (Automation for Disk space Alert on Server using Shell Script)

Umesh Prasad

I am having 10+ years of vast experience in Python, Unix ,Linux ,Shell Scripting and Perl Scripting.I...

disk_check_advance.sh#!/bin/kshvar=`df -a|grep home|tail -1|awk '{print $3}'`HOST=`hostname`echo $var1if ; then df -h|grep home >data# du -s /home/* 2>/dev/null| sort -rn |head -20>>data # cat data| # mail -s "Alert: Almost out of disk space on $HOST" umesh.prasad@fedex.com while read line;... read more

disk_check_advance.sh
#!/bin/ksh
var=`df -a|grep home|tail -1|awk '{print $3}'`
HOST=`hostname`
echo $var1
if [ $var -le 3000000 ]; then
df -h|grep home >data
# du -s /home/* 2>/dev/null| sort -rn |head -20>>data
# cat data|
# mail -s "Alert: Almost out of disk space on $HOST" umesh.prasad@fedex.com
while read line; do

ED=`echo $line|cut -d "/" -f3`
ID=`echo $line|cut -d "/" -f3|cut -c1`

if [ "$ID" == "f" ]
then

ID1=`echo $ED|cut -c2-`
`echo $line | mail -s "Alert:Almost out of Disk space on $HOST" $ID1@fedex.com`
else
ID1=`echo $ED|cut -c3-`
`echo $line | mail -s "Alert:Almost out of Disk space on $HOST" $ID1@fedex.com`
fi
done < data
fi

read less
Comments
Dislike Bookmark

Lesson Posted on 07/11/2019 Learn Unix Shell Scripting Training

Internal and external commands Linux

Ramesh Gundlapalli

Having 11 years of IT experience and key skills are Unix-ShellScripting and database Oracle .

Internal and external commands cmd: help To see all available internal commands cmd: type <your cmd> To check your cmd is internal or external.
Comments
Dislike Bookmark

Answered on 17/01/2019 Learn Unix Shell Scripting Training +3 UNIX Certification Unix Unix Shell programming

Jyoti Khera

#! Is shebang operator to tell your script exact path of shell
Answers 1 Comments
Dislike Bookmark

Learn Unix Shell Scripting Training from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Answered on 31/12/2018 Learn Unix Shell Scripting Training +3 UNIX Certification Unix Unix Shell programming

Zafrul Umar

Computer Trainer

You can take just linux kernel and start building you complete OS layer on top of the kernel wich most of the linux flavouored OS do.
Answers 1 Comments
Dislike Bookmark

Answered on 02 May Learn Unix Shell Scripting Training +3 UNIX Certification Unix Unix Shell programming

Deepika Agrawal

"Balancing minds, one ledger at a time." "Counting on expertise to balance your knowledge."

Because of its open-source status, adaptability, control, and reliability, Linux is a preferred operating system among ethical hackers. For hacking and penetration testing, Linux provides a wide range of tools and applications. Its command-line interface makes difficult and automated tasks simpler. read more

Because of its open-source status, adaptability, control, and reliability, Linux is a preferred operating system among ethical hackers. For hacking and penetration testing, Linux provides a wide range of tools and applications. Its command-line interface makes difficult and automated tasks simpler.

read less
Answers 1 Comments
Dislike Bookmark

Answered on 02 May Learn Unix Shell Scripting Training +3 UNIX Certification Unix Unix Shell programming

Deepika Agrawal

"Balancing minds, one ledger at a time." "Counting on expertise to balance your knowledge."

Shell is a generic term for a command line interpreter. On Unix/Linux there are many of them you can choose: sh, bash, csh, ksh, zsh etc, all slightly or substantially different. To get a feel for how they differ and which one you might like best, read several of the manual pages.
Answers 1 Comments
Dislike Bookmark

Learn Unix Shell Scripting Training from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Answered on 01 May Learn Unix Shell Scripting Training +3 UNIX Certification Unix Unix Shell programming

Deepika Agrawal

"Balancing minds, one ledger at a time." "Counting on expertise to balance your knowledge."

The ps command writes the status of active processes and if the -m flag is given, displays the associated kernel threads to standard output. While the -m flag displays threads associated with processes using extra lines, you must use the -o flag with the THREAD field specifier to display extra thread-related... read more

The ps command writes the status of active processes and if the -m flag is given, displays the associated kernel threads to standard output. While the -m flag displays threads associated with processes using extra lines, you must use the -o flag with the THREAD field specifier to display extra thread-related columns.

read less
Answers 1 Comments
Dislike Bookmark

Answered on 17/01/2019 Learn Unix Shell Scripting Training +2 UNIX Certification Unix

Jyoti Khera

You can use expect script within shell script to connect ssh.
Answers 1 Comments
Dislike Bookmark

Answered on 20/01/2019 Learn Unix Shell Scripting Training +2 UNIX Certification Unix

HET DESAI

I would like to answer this from Unix perspective. I would share a couple of experience where I saw the things went messy. The 1st and formost thumb rule is to avoid use of find and rm in your shell script eventhough you are removing the perticular file set from a specific directory because when you... read more

I would like to answer this from Unix perspective.

I would share a couple of experience where I saw the things went messy.

The 1st and formost thumb rule is to avoid use of find and rm in your shell script eventhough you are removing the perticular file set from a specific directory because when you are doing the trouble shooting from developer's work area then it would remove the files recursively and it would take time to realise what went wrong.

Point 2) Always have time to time backup of .ssh directory where you store the public or private keys as this is the most critical directory where you maintain server connectivity which may impact your deliverables.

Now from oracle perspective:

 

If you work on complex queries, run your queries and check at least thrice on different environments( where you have multiple data stored) that I am not missing any join which is leading to cartesian product.

 

2) check that you table doesnt contain any NULL record in the column being used in where condition because we dont always use this check ( column is not NULL)

read less
Answers 1 Comments
Dislike Bookmark

Learn Unix Shell Scripting Training from the Best Tutors

  • Affordable fees
  • Flexible Timings
  • Choose between 1-1 and Group class
  • Verified Tutors

Answered on 18/09/2020 Learn Unix Shell Scripting Training +2 UNIX Certification Unix

Santosh

It's a command-line os. More secure compared to the rest of the os and all the servers integrated with Linux os only.
Answers 2 Comments
Dislike Bookmark

About UrbanPro

UrbanPro.com helps you to connect with the best Unix Shell Scripting Training classes in India. Post Your Requirement today and get connected.

Overview

Questions 316

Total Shares  

+ Follow 6,597 Followers

Top Contributors

Connect with Expert Tutors & Institutes for Unix Shell Scripting Training

x

Ask a Question

Please enter your Question

Please select a Tag

X

Looking for Unix Shell Scripting Training Classes?

The best tutors for Unix Shell Scripting Training Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn Unix Shell Scripting Training with the Best Tutors

The best Tutors for Unix Shell Scripting Training Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more