# Command line

The atril command can open any number of files, at specific pages and in various modes.
Phil Bull
philbull@gmail.com
Tiffany Antopolski
tiffany@antopolski.com

Creative Commons Share Alike 3.0

Ilmar Kerm
ikerm hot ee 2001, 2002.
Tõivo Leedjärv
toivo linux ee 2002, 2003.
Priit Laes
plaes plaes org 2004–2006, 2008, 2009
Ivar Smolin
okul linux ee 2005–2010, 2014–2015, 2018.

# The command line

To startAtril from the command line, type atril. You can open a specific file by typing the filename after the atril command:

    atril file.pdf

You can open multiple files by typing the filenames after the atril command, separating the filenames by a space:

    atril file1.pdf file2.pdf

Atril also supports the handling of files on the web. For example, after the atril command you can give the location of a file on the web:

# Opening a document at a specific page

You can use--page-label switch to open a document at a specific page. For example, to open a document to page 3, you would type:

    atril --page-label=3 file.pdf

The page label should be in the same format as the page number displayed in Atril header bar.

# Opening a document in fullscreen mode

    atril --fullscreen file.pdf

# Opening a document in presentation mode

    atril --presentation file.pdf

# Opening a document in preview mode

    atril --preview file.pdf