/go/list: list from the Command Line

/go/list shows the files in one directory in a compact table. Unlike a plain ls -l, it shows the permissions as a number (such as 644 or 755), which is the form GoAdmio's fix command and most hosting guides use. It also: It only reads information. It never changes files. Every admin action in GoAdmio has a matching /go/ command, so anything you can click you can also script.

Quick start

# List the files in the current directory
/go/list

# List the files in a site's web folder
/go/list /home/example.com/www

Arguments

Position Argument Required Default Notes
1 <path> No The current directory A directory or a file. Relative paths are resolved from where you run the command.

There are no --option value pairs.

Examples

# What is in the current folder?
/go/list

# Check the permissions of a site's files
/go/list /home/example.com/www

# Look at a single file
/go/list /home/example.com/www/wp-config.php

# Show only the files that aren't 644 (for example, to find odd permissions)
/go/list /home/example.com/www | awk '$1 != 644'

Output

The command prints one line per file, with columns aligned and no header row:

644 1 example example 1.2K 2026-11-18 09:41 index.php
755 1 example example 35K 2026-11-02 14:05 wp-cron.php
600 1 example example 3.1K 2026-10-27 21:18 .htaccess

Column Meaning
1 Permissions in octal, such as 644
2 Number of hard links to the file (normally 1)
3 Owner
4 Group
5 Size, in human-readable form (K, M, G; units of 1024)
6 Modified date (YYYY-MM-DD)
7 Modified time (HH:MM)
8 File name
Outcome What you get
Directory has files The table above.
Directory has no regular files Nothing is printed, and the exit status is 0.
Path doesn’t exist Mo such file or directory, exit status 1. (The message has a typo in the script; it means "No such file or directory".)

See the full reference at /go/list and the GoAdmio command index.

GoAdmio is free and open source, with no license fees and no account limits. Read the GoAdmio docs, or see why it is a free cPanel alternative at goadmio.com.

By:

Posted in:


Leave a Reply

Your email address will not be published. Required fields are marked *