Nested for loop in Linux Shell Script

scmuser created the topic: Nested for loop in Linux Shell Script As you see the if statement can nested, similarly loop statement can be nested. You can…

Read More

Find a Number of File in Directories Recursively

scmuser created the topic: find a number of file in directories recursively I have several directories and files underneath…how to find only files from all directories… any…

Read More

List all the users in linux

rajeshkumar created the topic: List all the users in linux List all the users in Linux cat /etc/passwd | cut -d”:” -f1 Regards, Rajesh Kumar Twitt me…

Read More

Character values in computer

scmuser created the topic: Character values in computer Hi, Every character has a value associated with it. What is it called? scmjobs replied the topic: Re: Character…

Read More

Execute batch script using cygwin

scmuser created the topic: execute batch script using cygwin How to execute batch script using cygwin? any help or any suggestion on this?? Rajesh KumarI’m a DevOps/SRE/DevSecOps/Cloud…

Read More

Shell script that will add two nos, which are supplied as command line

scmjobs created the topic: Shell script that will add two nos, which are supplied as command line How to write shell script that will add two nos,…

Read More

Find out biggest number from given three nos

scmjobs created the topic: Find out biggest number from given three nos Write Script to find out biggest number from given three nos. Nos are supplies as…

Read More

Write Script, using case statement to perform basic math operation

scmjobs created the topic: Write Script, using case statement to perform basic math operation Write Script, using case statement to perform basic math operation as follows +…

Read More

Linux Tutorials: execute command from linux to windows machine using rsh

scmuser created the topic: Execute Command from Linux to Windows machine Hi, Could you please help me in my following scenario… Problem Statement: In one windows machine,…

Read More

Linux Tutorials: find commands examples

rajeshkumar replied the topic: Re: Find files with the Linux find command This next example is similar, but here I use the -i argument to the grep…

Read More

Run php script using cronjob / crontab

scmuser created the topic: Run php script using cronjob / crontab How can i Run php script using cronjob / crontab??? Any ideA? rajeshkumar replied the topic:…

Read More

Crontab condition, if a file size is more than 5000K than send an email

scmuser created the topic: crontab condition, if a file size is more than 5000K than send an email find /var/www/vhosts/domain/folder/ -name ‘*.flv’ -size +5000k | grep flv…

Read More

Shell Bash Scripting: Assignment & Excercise – 17

rajeshkumar created the topic: Shell script that will add two nos How to write shell script that will add two nos, which are supplied as command line…

Read More

Script to find out biggest number from given three nos

rajeshkumar created the topic: Script to find out biggest number from given three nos Write Script to find out biggest number from given three nos. Nos are…

Read More

Write script to print nos as 5,4,3,2,1 using while loop

rajeshkumar created the topic: Write script to print nos as 5,4,3,2,1 using while loop Write script to print nos as 5,4,3,2,1 using while loop. #!/bin/bash # #…

Read More

Write Script, using case statement to perform basic math operation as

rajeshkumar created the topic: Write Script, using case statement to perform basic math operation as Write Script, using case statement to perform basic math operation as follows…

Read More

Write Script to see current date, time, username, and current directory

rajeshkumar created the topic: Write Script to see current date, time, username, and current directory Write Script to see current date, time, username, and current directory #!/bin/bash…

Read More

Write Script to see current date, time, username, and current directory

scmjobs created the topic: Write Script to see current date, time, username, and current directory Write Script to see current date, time, username, and current directory??? rajeshkumar…

Read More

Write script to print given number in reverse order

rajeshkumar created the topic: Write script to print given number in reverse order Write script to print given number in reverse order, for eg. If no is…

Read More

Write script to print given numbers sum of all digit,

rajeshkumar created the topic: Write script to print given numbers sum of all digit, Write script to print given numbers sum of all digit, For eg. If…

Read More

List of Example Shell script can be found

rajeshkumar created the topic: List of Example Shell script can be found www.it.uom.gr/teaching/linux/lsst/scripts/q7 Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn rajeshkumar replied the topic: Re: List of…

Read More

Find and display files last modified les than 90 days ago

rajeshkumar created the topic: Find and display files last modified les than 90 days ago Find and display files last modified les than 90 days ago. find…

Read More

Shell script to read file line by line

rajeshkumar created the topic: Shell script to read file line by line processLine(){ line=”$@” # get all args # just echo them, but you may need to…

Read More

Files modified on a certain date

scmuser created the topic: files modified on a certain date To find all files modified on a certain date, for example, ‘2007-06-07’ the final input is: find…

Read More

Shell script to Print only Size and file name using unix command.

rajeshkumar created the topic: Shell script to Print only Size and file name using unix command. Shell script to Print only Size and file name using unix…

Read More

How to change the permission of multiple files which has 655 to 755

pavani created the topic: how to change the permission of multiple files which has 655 to 755 Hi How to change the permission of files which has…

Read More

Linux Tutorials: expect commands examples

scmuser created the topic: expect command in unix /linux? Hello, I am doing a project which asks me to enter password 4 times in a row. I…

Read More

Verifying that the Secure Shell Daemon is running

rajeshkumar created the topic: Verifying that the Secure Shell Daemon is running To verify that the Secure Shell Daemon (sshd) is running you need to log in…

Read More

How to find success/failure status of a command in different shells?

rajeshkumar created the topic: How to find success/failure status of a command in different shells? Ksh/Borne/Bash shell $ ls /usr/bin …. # when success value is 0…

Read More

VIM custom settings.

rajeshkumar created the topic: VIM custom settings. Hi, I was required to set my tab to 4 space. I got some inputs and based on google search…

Read More