find command

I am login to a remote server using a ssh client. I am annoyed with the arrow key behavior during insert mode in Vim. As soon as I hit arrow keys, vim display A B C D on screen. How do I fix this problem under Unix like operating systems?

{ 3 comments }

How do I find out all empty files and directories under Linux / Apple OS X / BSD / Unix like operating systems and delete them in a single pass?

{ 5 comments }

I‘m a new Unix user and trying to find the hidden directory called .movies but I do not know where it is on the file system. How do I find a hidden folder or directories under Unix like operating systems?

{ 1 comment }

I want to find and edit my xorg.conf file for tweaking and configure it for new settings. The problem is that I’m unable to find the file. According to my research, xorg.conf should in /etc/X11 or /usr/X11R6/lib/X11/ directory. I found directories but not the file in directories. How do I find the xorg.conf under Unix or Linux like operating systems?

{ 1 comment }

How do I set readonly permission for all files stored in /var/www/html directory?

{ 4 comments }

How do I empty a directory (delete all files) under Linux / Unix without deleting directory itself?

{ 8 comments }

A dot-file is generally any file whose name begins with a full stop. In Linux or Unix like operating system it is also called as hidden file. How do I list all dot files in my home directory?

{ 5 comments }