Problem : Why does ls -ltr show different total? We have same files in both unix and linux environment please […]
Tag: ls
How to create a fixed size virtual disk with qemu-img?
Problem : What’s the best way to create a fixed size disk with qemu-img ? I tried doing this., and […]
How to list files recursively and sort them by modification time?
Problem : How do I list all files under a directory recursively and sort the output by modification time? I […]
Kali Linux chmod 666
Problem : I’m using a user I created with adduser that I logged into. I created a directory through this […]
List files of folder page by page with LS command
Problem : I’m wonder if there is some way to list all files of a folder by ls, I know […]
is there a way to read the cumulative size of all files in a folder?
Problem : I want to read the size of a folder from the command line. ls -lh shows all folders […]
Why does Red Hat 7.3 (not RHEL) `ls` show file sizes in bytes, even when `-k` or `–block-size` is specified?
Problem : We have an old Linux server, some OS version information, as follows: $ uname -a Linux dm.inside.com 2.4.18-17.7.xsmp […]
How do I recursively list the contents of all files in a repository (extension-agnostic) into a single text file?
Problem : I know that using “ls -R .” in bash you can recursively list the filenames. Can I use […]
how to make ls show hidden files then directories then regular files in order
Problem : Is there a way to get ls to show all dot files including hidden directories first then regular […]
How to have Linux ls command show second in time stamp
Problem : Something annoying about ls -l command is it shows only hour and minute for a file(like 08:30). How […]