Use find:
find .
find /home/dreftymac
If you want files only (omit directories, devices, etc):
find . -type f
find /home/dreftymac -type f
More Related Contents:
- How do I parse command line arguments in Bash?
- How do I set a variable to the output of a command in Bash?
- How to iterate over arguments in a Bash script
- Timeout a command in bash without unnecessary delay
- What is the purpose of “&&” in a shell command?
- Fast way of finding lines in one file that are not in another?
- Remove the last line from a file in Bash
- How to get Maven project version to the bash command line
- How can I exclude all “permission denied” messages from “find”?
- Recursively rename files using find and sed
- Listing only directories using ls in Bash?
- Error when using ‘sed’ with ‘find’ command on OS X: “invalid command code .”
- awk in bash with ls and variable
- How to recursively find the latest modified file in a directory?
- Delete files older than 10 days using shell script in Unix [duplicate]
- Unexpected operator error [duplicate]
- List files not matching a pattern?
- find files older than X days in bash and delete
- How to run some command before or after every Bash command entered from console?
- How to use arguments from previous command?
- find -exec with multiple commands
- How to reload .bash_profile from the command line
- What is the best way to count “find” results?
- Why do I get “/bin/sh: Argument list too long” when passing quoted arguments?
- What is your single most favorite command-line trick using Bash? [closed]
- Convert line endings [duplicate]
- Multiplication on command line terminal
- -bash: !”: event not found [closed]
- Use GNU find to show only the leaf directories
- Why doesn’t my terminal output unicode characters properly?