vi command

I‘m a new to CentOS Linux user. How do I create a file from bash prompt without using GUI tools?


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?


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. […]


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 […]


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 On, readline […]


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, […]