9 FAQ tagged "vi_command"
Viewing 1-9 of 9 FAQ -- How to: Create Files in Linux from a Bash Shell Prompt :
Q. I’m new to Linux and installed CentOS on my Laptop. How do I create a file from bash prompt without using GUI tools?
A. Linux / UNIX offer many command line tools and text editors for creating text files. You can use vi or JOE text editor. It is a terminal-based text editor for Linux/Unix [...] - How to Set JAVA_HOME / PATH variables Under Linux Bash Profile :
Q. I just need a help to show me how to setup java path on Linux. How can I set JAVA_HOME and PATH variables for every user under my Linux system?
A. ~/.bash_profile is a startup script which generally runs once. This particular file is used for commands which run when the normal user logs [...] - OpenBSD set up default boot time by modifying boot.conf file :
Q. I’m using OpenBSD as VPS os (guest os) under VMWARE server. However OpenBSD pauses for a few seconds to give me a chance to provide parameters to the kernel at boot> prompt. I’d like to force boot loader to wait for 30 seconds instead of default timeout. How do I setup bootloader timeout?
A. [...] - How to backup the remote files in Linux / UNIX :
Q. How do I make remote backups under Linux? I’ve CentOS 5 Linux server located in remote data center and I’d like to backup it to local or another server?
A. Both Linux / UNIX come with handy tools to make secure remote backups. You can use tool called rsync for automating remote backups of your [...] - BASH Shell setup filename tab-completion case insensitive :
Q. I’m using BASH shell filename tab completion feature to complete file names and other stuff. However default tab-completion in bash case-sensitive. It cannot show me /tmp/Y* or /tmp/Y* files. How do I force filename tab-completion in bash case insensitive?
A. According to bash man page completion-ignore-case set to Off. If set to [...] - Linux: Openssh (ssh server) deny root user access :
Q. How do I block access to root user over ssh session?
A.. sshd (OpenSSH Daemon) is the daemon program for ssh. Server side ssh configuration is defined in /etc/ssh/sshd_config file.
You need to use DenyUsers option to block access to root user.
This option can be followed by a list of user name patterns, separated by [...] - Linux display or change a pre-login message - /etc/issue file :
Q. How can I configure or change the Virtual Console login to display a pre-login message?
A. The file /etc/issue is a text file which contains a message or system identification to be printed before the login prompt. It may contain various @char and \char sequences, if supported by [...] - How to: Formatting Linux Filesystem :
Q. How do I format Linux file system? Can you tell me command names to format and create a Linux file system?
A. Formatting linux filesystem required for many reasons. If you want to expand file system or you just added new hard disk drive or create separate partitions for security and performance reasons. Whatever [...] - Linux: Find out Ethernet card driver name :
Under Linux, you use term called modules for device drivers. The driver can be loaded or unloaded as per your requirement using commands. Each driver or module gives the Linux information on how to control that particular Ethernet card. The name of each module (driver) is listed in the /etc/modules.conf file.
Command to find out [...]
Viewing 1-9 of 9 FAQ - ( see all popular tags )


Recent Comments
Today ~ 5 Comments
Today ~ 10 Comments
Today ~ 1 Comment
Today ~ 3 Comments
Today ~ 57 Comments