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 nest the for…

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 command rajeshkumar replied…

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 @ twitter.com/RajeshKumarIn rajeshkumar…

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 values in computer…

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??

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, which are supplied…

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 command line argument….

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 + addition – subtraction…

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, I have one…

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 command, telling it…

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: Re: Run php…

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 && /bin/mail -s…

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 argument, and if…

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 supplies as command…

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 # # Linux Shell Scripting…

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 + addition –…

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 # # Linux…

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 replied the topic:…

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 123 it must…

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 no is 123…

Read more »