28 FAQ tagged "shell script"
Viewing 1-10 of 28 FAQ -- Linux Gnome: Add Open Terminal Here / Open Shell Prompt Here Right Click Menu To a File Manager
Question: How do I open a shell prompt or gnome-terminal at the current location while browsing directories and files via nautilus file manager? I’d like to see Open Terminal / Prompt here option added to my right click menu. How do I open command prompt in a single selected directory or otherwise in current directory?
- Explain: #!/bin/bash - or #!/bin/bash -- In A Shell Script
Q. I know #!/bin/bash is shebang line. But, I noticed a few shell script shebang line ends with a single dash ( #!/bin/bash - ) or double dash ( #!/bin/bash – ). Can you explains me purpose of such shebang line?
- FreeBSD csh / tcsh: Export Shell Variable
Q. I’m using FreeBSD 7 with csh (tcsh) shell. How do I export shell variable under FreeBSD operating systems?
- Linux: pathmunge Command in Shell Script
Q. I see pathmunge used in few scripts under Red Hat Enterprise Linux. Can you explain the use of pathmunge under RHEL / CentOS / Fedora Linux?
- Access Any Remote Server Port Without Modifying Firewall Settings
I’ve couple of remote servers and I’d like to access few admin only application running on port 10000 and 3001. My firewall only allows port 80, 443, 25, 22 and 110 for public access. Do I need to open port 10000 and 3001 for everyone using firewall? How do I access my admin only apps without opening port 10000 and 3001?
- Debian / Ubuntu Linux: Send Automatic Email Notification When Security Upgrades Available
How do I force apt-get to send me email when upgrades or security updates available under Debian or Ubuntu Linux? Do I need to write a shell script which generates a mail with a list of all packages currently pending an upgrade?
- How To Show Line Numbers In vi / vim Text Editor
How do I display vi / vim text editor line numbers while writing a shell script or c program? How can I turn on or off this feature?
- 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?
- MySQL Run SQL Queries From A Shell Prompt / Command Line
How do I specify MySQL SQL queries on the UNIX / Linux command line?
- 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.
Next Page »
Viewing 1-10 of 28 FAQ - ( see all popular tags )






Recent Comments
Today ~ 2 Comments
11/26/2008 08:55 pm (6 days ago) ~ 18 Comments
Today ~ 8 Comments
Yesterday ~ 4 Comments
Yesterday ~ 6 Comments