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 [...]
Q. How do I list or find the smallest directories or files in the current directory under Linux or UNIX like operating system? A. There is no direct command exists for this task. However by using shell pipes and combination of other commands one can produced the desired result. Task: Display list of smallest files [...]
Q. How do I list or display the permission of a file using ssh? I don’t have GUI installed on a remote Linux computer. A.You need to use ls command with -l option. File access permissions are displayed in the first column of the output, after the character for file type. ls command List information [...]
How do I display only hidden (dot) files names under Linux / UNIX / Apple OS X / *BSD family operating systems?
How do I list just directory names under Linux and UNIX operating systems?