Linux CLI - Navigating the File System
Which of the following commands correctly lists files in the user's home directory using the shortcut?
~ is the shortcut for the current user's home directory, so ls ~ lists files there./home is the parent folder for all users, ./home is a relative path that may not exist, and /root is root user's home, not current user.ls ~ lists home files [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions