Quantcast
Channel: Frequently Asked Questions About Linux / UNIX » unix shell
Browsing latest articles
Browse All 14 View Live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Printing 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 Article

Image may be NSFW.
Clik here to view.

Find 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 Article

Image may be NSFW.
Clik here to view.

Bash 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 Article

Image may be NSFW.
Clik here to view.

What Are Linux / UNIX Shells?

Can you explain me UNIX shell? What are Shells?Read answer to: "What Are Linux / UNIX Shells?"    

View Article


Image may be NSFW.
Clik here to view.

How 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 Article

Image may be NSFW.
Clik here to view.

MySQL: 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 Article

Image may be NSFW.
Clik here to view.

Linux / 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 Article


Image may be NSFW.
Clik here to view.

Linux / 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 Article


Image may be NSFW.
Clik here to view.

mysqldump: 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 Article

Image may be NSFW.
Clik here to view.

Linux / 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 Article

Image may be NSFW.
Clik here to view.

Linux / 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 Article

Image may be NSFW.
Clik here to view.

FreeBSD: 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 Article


Image may be NSFW.
Clik here to view.

Open 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
Browsing latest articles
Browse All 14 View Live




Latest Images