Tagged: ls


Linux ls Command Tutorial To List Files and Directories

ls is base command provided by all Linux distributions. We can use ls command to list files, folders or directories. In this tutorial we will look different use cases about ls. List Files and Directories We will start with a simple example. We will use ls command without an option. This will list regular files and directories of the current working path.

List Detailed Information While listing files and directories we may...


How To Find File By Name In Linux?

Linux provides different tools to find file for different attributes. We can find files according to their size, name, modification time location etc. But one of the most used metric is finding file according to its name. In this tutorial we will look different tools to find files by name in Linux. Using find find  is the most feature-full tool to find files according to its name. find provides a lot...


How to Deal With Dashed File Names Like Open, Remove?

Dash (-) have important role in Linux and other operating systems. It is used by commands to specify options and arguments. This popular use case may create problems if we have files those provides dash. Linux commands generally need explicit operations to cope with file names those starts with dash. Create File Name Starts with Dash We will start by creating a file which name starts with a dash – ....

How To Find Files, Folders and Directories In Linux From Command Line? 0

How To Find Files, Folders and Directories In Linux From Command Line?

Linux provides different ways to find and locate files and folders. We can use GUI tools like GNOME and KDE file managers or other 3’rd party applications designed for finding files. In this tutorial, we will look at how to find files, folders, and directories from the command line. Tools As stated previously there are a lot of tools that can be used to find files and folders. We will...


How To Linux Bash For Loop In Files?

Bash provides a lot of useful programming functionalities. for loop is one of the most useful of them. We can use for loop for iterative jobs. Linux system administrators generally use for loop to iterate over files and folder. In this tutorial, we will look at how to use for loop to iterate over files and directories in Linux. This example can be used any of Linux distribution which uses...


Useful Linux Commands A System Administrator Should Know

Linux is command based operating system. Most of things are done in cli based environment bash . In this tutorial we will look popular and useful commands used by Linux system administrators and user. You can access detailed tutorials simply clicking links below. tr tr command is used to translate or delete characters in the given text. Linux tr Command Tutorial With Examples ps ps command is used to list and get detailed...


Linux wc Command Word and Line Count Tutorial With Examples

Linux provides a lot of tools for text related operations. wc is one of them. This tool is a little tool less than 10 options. In this tutorial we will look how  to count bytes? How count words? How to count Lines? and How to use wc with other Linux commands like find and grep? Syntax Syntax of wc is like below.

Help Fast help about the wc can be...


How To Show Linux File Size In Different Ways?

One of the most asked question about files in Linux is how can I list file sizes in different formats? In this post we will look different commands to get file sizes. ls Command ls command is primary command to list and get information about files and directories in Linux. ls command can be used with -l parameter to get size of files.

We listed file nmap-7.31.tgz file size...


Linux ls Command Tutorial With Examples

Linux operating system provides a lot of different functionalities with different tools and commands. ls is the most used command in linux. ls is the arm and leg of Linux system administrator. ls provides a lot of different functionalities with different options. Man ls Man page of ls command can be retrieved like below.

List Files We can list files and folders simple without providing any parameter. This will list all files except hidden files...

Enjoy this blog? Please spread the word :)