1 shell script tagged "ls command"
- Shell script to find the number of files present in the current directory without using WC command
#!/bin/bash
# Shell script to find the number of files present in the current
# directory without using WC command.
# NOTE/TIP:
# If allowed to use WC command then it should be as follows:
# ls | wc -l
# ————————————————————————-
# Copyright (c) 2005 nixCraft project
# This script is licensed under GNU GPL version 2.0 or above
# ————————————————————————-
# This script [...]
Viewing 1-1 of 1 shell scripts. ( see all popular tags )

