Command to start SMTP

scmuser created the topic: command to start SMTP Hi… To start SMTP service use the below command #/etc/init.d/sendmail start To stop the SMTP service use the below…

Read More

Copy only modified or added files using tar

scmuser created the topic: copy only modified or added files using tar Hi, i want to make a tar with only files which got added to modified…

Read More

/bin/tar: Removing leading `/’ from member names

scmuser created the topic: /bin/tar: Removing leading `/’ from member names Hi, When i run following script i get a error somthing like /bin/tar: Removing leading `/’…

Read More

Shell Bash Scripting: Assignment & Excercise – 18

scmuser created the topic: how to restore the dump file using shell scripting I have created a script file to dump the application files using the following…

Read More

Starting sonar issues in linux

scmuser created the topic: Starting sonar issues in linux Hi, when I am starttign a sonar, I am getting following error… Any help? Starting sonar…./sonar.sh: line 490:…

Read More

How to access windows share folder from linux

scmuser created the topic: How to access windows share folder from linux Hi, Can you tell me How to access windows share folder from linux? Reagrs, scm…

Read More

Shell Script to Find All New Files Added

scmuser created the topic: shell script to find all new files added Hi, i am looking for a shell script to find all new files added or…

Read More

Shell Script Program 1

scmuser created the topic: shell script program 1 Device a script that takes a filename as argument ( which must exist in the current directory) and locates…

Read More

Find Out If Running Kernel Is 32 Or 64 Bit

rajeshkumar created the topic: Find Out If Running Kernel Is 32 Or 64 Bit Type the following command at the terminal, run: $ uname -a Output: Linux…

Read More

How to gunzip and untar all at once!

rajeshkumar created the topic: How to gunzip and untar all at once! How to gunzip and untar all at once! gunzip myfile.tar.gz tar -xvf myfile.tar INTO ONE…

Read More

Shell script program 2

scmuser created the topic: Shell script program 2 Use a script to take two numbers as arguments and output their sum using (i) bc (ii) expr. include…

Read More

$# and $* Questions

scmuser created the topic: $# and $* questions If a script is run as foo -l -t bar [1-3], what are the values of $# and $*?…

Read More

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…

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…

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…

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…

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 Rajesh…

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…

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…

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…

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…

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…

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

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…

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…

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…

Read More

File Copying and Transfer between two machine

rajeshkumar created the topic: File Copying and Transfer between two machine File Copying and Transfer between two machine or within machine. Command 1: cp – Copy SOURCE…

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…

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…

Read More