ls command

Q. Can you tell me more about dot-files that shell and many UNIX command reads?


How do I check whether a directory is empty or not under Linux / UNIX using a shell script? I’d like to take some action if directory is empty.


Q. How do I create a soft link (symbolic link) under UNIX or Linux operating system? A. To make links between files you need to use ln command. A symbolic link (also known as a soft link or symlink) consists of a special type of file that serves as a reference to another file or […]




Q. Can you specify rules for naming a file name under Linux? A. When you save a data, you nee to select a file name, you need to follow certain rules and regulation regarding the length of the name and the types of characters you include. Rules for naming file names The rules for naming […]


Q. I’m new to Linux and how do I examine filesystem and identify regular files or directories? A. Both Linux and UNIX comes with ls command for examining the filesystem. You can use ls command to look at the filesystem. ls command can display: => Character devices => Regular files => Sym links (symbolic links) […]


Q. Can you explain me what is device files and how do I access or see device files? Why UNIX / Linux has device files? A. Under Linux and UNIX each and every hardware device treated as a file. A device file allows to accesses hardware devices so that end users do not need to […]