ls
ls is a Linux command in the File Operations category, rated beginner difficulty. Lists directory contents. One of the most frequently used commands. The syntax is ls [options] [path]. Key options and parameters: path — directory to list (default: current dir). It returns list of files and directories. A practical example: ls -la /home # -l: long format, -a: show hidden files # Output: drwxr-xr-x 2 user user 4096 Jun 1 10:30 Documents A close relative is cd, which changes the current working directory. A close relative is pwd, which prints the current working directory path. A close relative is mkdir, which creates one or more directories. More about this category: Linux file operation commands — ls, cd, cp, mv, rm, mkdir, touch, and more. Create, delete, copy, and manage files and directories. Related File Operations commands: cd, pwd, mkdir, rmdir, rm, cp, mv, touch.