8 FAQ tagged "Bash"
Viewing 1-8 of 8 FAQ -- BASH: Prepend A Text / Lines To a File
Q. I can append text to a file using >> operator but how do I prepend a text to a file? I want the opposit of >> operation?
- 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?
- How do I Be More Productive In Vim?
I’m just starting in vim text editor but I’m annoying typing and retyping similar statements. Can you address me about it?
- Configure BASH, KSH, TCSH, ZSH Shell To Logout User Automatically After Idle Time
How can I configure the bash shell to logout any user automatically after a period of idle time under Debian Linux or any other UNIX like operating system?
- FreeBSD Install BASH Shell
I’d like to bash under FreeBSD for bash programming. How do I install bash shell under FreeBSD UNIX operating system?
- Shell script put multiple line comment
Q. I’d like to use multiline comments under shell script. Under C / C++ I can use format
/*
my c code
comment # 2
blah
*/
How do I put multi line comment under a shell script?
A. By default shell script can be commented out prefixing # character for example:
# my comment
For multilinecomment use
# my comment 1
# my comment [...] - How to use bash shell
Q. How do I use bash shell? What command I need to type use bash shell?
A. GNU Bourne-Again Shell is default shell on most Linux systems (distributions). So when you open terminal from X Windows (KDE/Gnome) you directly opens a bash shell. Bash is an sh-compatible command language interpreter that executes commands read from [...] - Shell script to get the time difference
Q. I am able to write PHP or Perl script where I can find out time difference between script executions. Now I have .shtml file that is nothing but a shell script outputting some data to browser. What I want is time difference or time it took to execute a script. How do I write [...]
Viewing 1-8 of 8 FAQ - ( see all popular tags )





Recent Comments
Today ~ 70 Comments
Today ~ 2 Comments
Yesterday ~ 10 Comments
Yesterday ~ 12 Comments
09/03/2008 05:29 pm (2 days ago) ~ 6 Comments