Using wc (GNU coreutils) 7.4:
wc -L filename
gives:
101 filename
More Related Contents:
- In the shell, what does ” 2>&1 ” mean?
- Difference between single and double quotes in Bash
- What is the difference between $(command) and `command` in shell programming?
- Can I export a variable to the environment from a Bash script without sourcing it?
- How to urlencode data for curl command?
- Assigning default values to shell variables with a single command in bash
- I just assigned a variable, but echo $variable shows something else
- Count occurrences of a char in a string using Bash
- How to redirect output of an entire shell script within the script itself?
- Should aliases go in .bashrc or .bash_profile? [duplicate]
- How to read user input into a variable in Bash?
- What is the difference between ${var}, “$var”, and “${var}” in the Bash shell?
- What is the exact meaning of IFS=$’\n’?
- source command not found in sh shell
- How to check if a file contains a specific string using Bash
- Detect if PATH has a specific directory entry in it
- Piping and Redirection
- How to view files in binary from bash?
- How to write a bash script to set global environment variable?
- Test if a command outputs an empty string
- How to reload .bash_profile from the command line
- Floating point comparison in shell
- How to pipe stdout while keeping it on screen ? (and not to a output file)
- Escaping forward slashes in sed command [duplicate]
- How to wait for an open port with netcat?
- run bash command in new shell and stay in new shell after this command executes
- How do I get both STDOUT and STDERR to go to the terminal and a log file?
- -bash: __git_ps1: command not found
- docker entrypoint running bash script gets “permission denied”
- What does `kill -0 $pid` in a shell script do?