diff --git a/Userland/ls.cpp b/Userland/ls.cpp index fdba463f8e..bdeba14361 100644 --- a/Userland/ls.cpp +++ b/Userland/ls.cpp @@ -288,6 +288,8 @@ static bool print_filesystem_object(const String& path, const String& name, cons else printf("%c", st.st_mode & S_IXOTH ? 'x' : '-'); + printf(" %u", st.st_nlink); + auto username = users.get(st.st_uid); if (!flag_print_numeric && username.has_value()) { printf(" %7s", username.value().characters());