Perl Display And Pass Command Line Arguments With @argv
How do I read or display command-line arguments with Perl?Read answer to: "Perl Display And Pass Command Line Arguments With @argv"
View ArticlePrinting output of c program to a file in Linux
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...
View ArticleFind and Delete File If It Is More Than One Hour Old in UNIX Shell
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.Read answer to: "Find and Delete File If It Is More Than One Hour...
View ArticleBash Shell Loop Over Set of Files
How do I run shell loop over set of files stored in a current directory or specified directory?Read answer to: "Bash Shell Loop Over Set of Files"
View ArticleWhat Are Linux / UNIX Shells?
Can you explain me UNIX shell? What are Shells?Read answer to: "What Are Linux / UNIX Shells?"
View ArticleHow To Find Files by Content Under UNIX
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()...
View ArticleMySQL: Find Out Which Table is Consuming Resources
Q. How do I find out which table is consuming resources under MySQL Database server from UNIX shell prompt?Read answer to: "MySQL: Find Out Which Table is Consuming Resources"
View ArticleLinux / UNIX: Run Commands When You Log Out
I've written a Perl script that connects to our central server for me and it allows me feed data so that I make a timesheet later. How do I run my script when I log out from Apple OS X or Linux / UNIX...
View ArticleLinux / Unix: Look Up IP Addresses
How can I look up IP addresses under UNIX or Linux operating systems using command line options?Read answer to: "Linux / Unix: Look Up IP Addresses"
View Articlemysqldump: Copy Database Using Shell Pipes
How do I use mysqldump command with Unix shell pipes?Read answer to: "mysqldump: Copy Database Using Shell Pipes"
View ArticleLinux / Unix Shell: Set Default Printer
How do I set default printer in my Bash shell under CentOS Linux or FreeBSD unix desktop operating systems?Read answer to: "Linux / Unix Shell: Set Default Printer"
View ArticleLinux / Unix Shell Scripting: Create Filename By Day Of The Week
I need to create a log file using the following format:myapp_monday.log myapp_tuesday.log .... ... myapp_sunday.log How do I create log filename with day of the week in it under Linux or Unix...
View ArticleFreeBSD: Install zsh Shell
How do I install the Z shell ( zsh ) shell under FreeBSD 9 operating systems?Read answer to: "FreeBSD: Install zsh Shell"
View ArticleOpen Gnome Nautilus File Manager For The Current Linux / Unix Command Line
Nautilus is the file manager for the GNOME desktop. How do I open Nautilus from the Linux or Unix shell prompt?Read answer to: "Open Gnome Nautilus File Manager For The Current Linux / Unix Command...
View Article
More Pages to Explore .....