Exit status of command
scmuser created the topic: Exit status of command What are the exit status of a command? what is its normal value and where is the value stored?
Read more »tty terminals related script??
scmuser created the topic: tty terminals related script?? Develop script logic that allows only romeo and henry to execute a program, and only from the terminals tty05 and tty06
Read more »Df and Du issues with script
scmuser created the topic: df and du issues with script A script named test containing the df and du commands displays nothing when executed. Why does that happen? state two…
Read more »Grep and Sed Questions with Shell script
scmuser created the topic: grep and sed questions with shell script Search for a pattern with grep and sed and look for a file with find. Test the return value…
Read more »Character validation in shell script?
scmuser created the topic: character validation in shell script? Write shell code to accept a string from the terminal, and echo a suitable message if it does not have at…
Read more »Find absolute path name of a file
scmuser created the topic: Find absolute path name of a file Use expr to extract the parent directory from the absolute path name of a file
Read more »Find Last Modification Time of File
scmuser created the topic: find last modification time of file Write a script that accepts a filename as argument and displays the last modification time if the file exist and…
Read more »Make sure script is running using korn shell
scmuser created the topic: Make sure script is running using korn shell If you have developed a script using the Korn shell, how will you make sure the script will…
Read more »Identical file validation using shell script?
scmuser created the topic: identical file validation using shell script? Device a script that accepts two directory names, bar1 and bar2, and deletes those files in bar2 which are identical…
Read more »Linux Tutorials: ps commands examples
rajeshkumar created the topic: Useful Command for Process and Jobs in Unix/Linux List out all background Job running in machine i.e. list current jobs > jobs How to sent Job…
Read more »Unix command to Know some useful system Information
rajeshkumar created the topic: Unix command to Know some useful system Information Unix command to Know some useful system Information top show system stats and top CPU using processes uptime…
Read more »Find c file Recursivly and Copy to Directory
scmuser created the topic: find c file recursivly and copy to directory Write a shell script to find c file recursivly and copy to one common directory? rajeshkumar replied the…
Read more »Wget with proxy
rajeshkumar created the topic: wget with proxy Hi, Please find a following commmand which can used to wget with proxy…. export http_proxy=:3128 && wget –proxy-password= –proxy-user= -r -l 1 http://www.yahoo.com/…
Read more »List all the Grups and users in linux
scmuser created the topic: List all the Grups and users in linux Hi, How can we list our all the users in Linux? How to list all the users created…
Read more »Command Not Found With Visudo
scmuser created the topic: command not found with visudo Hi, I want to edit visudo and include one user for running apache but when i type following command as a…
Read more »Remove blank line using Grep and sed
scmuser created the topic: Remove blank line using Grep and sed Hi, How do you remove blank line using grep and sed in shell scripting? rajeshkumar replied the topic: Re:…
Read more »Find command return type
scmuser created the topic: Find command return type I am looking for following answer if anybody can help me out… How to Return a message when a file is not…
Read more »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 »