unix shell

Q. How do I find out which table is consuming resources under MySQL Database server from UNIX shell prompt?

{ 3 comments }

Q. I had written lots of code in C for my school work and saved it as source code under /home/user/c/*.c and *.h. How do I find files by content such as string or words (function name such as main() under UNIX shell prompt?

{ 23 comments }

Can you explain me UNIX shell? What are Shells?

{ 0 comments }

How do I run shell loop over set of files stored in a current directory or specified directory?

{ 37 comments }

How do I find out if a file is more than one hour old in a UNIX shell and take action on all matching file such as delete or move files.

{ 3 comments }

Q. I’ve written a small program that does something useful for me. I always get output on screen. Sometime I need to send output to a file. How do I print output of my program to a file w/o making any changes to code? A. Bash shell (and many other modern UNIX shell) supports the […]

{ 5 comments }

How do I read or display command-line arguments with Perl?

{ 15 comments }