Open In App

autoscan command in Linux with Examples

Improve
Improve
Like Article
Like
Save
Share
Report

autoscan command in Linux is used to generate a preliminary configure.in file. Basically, this command will check the source file in the directory tree rooted at SRCDIR, or the current directory if none is given. It also searches the source files for common portability problems, check for the incompleteness of `configure.ac‘, and creates a file called `configure. Scanconfigure.scan‘ which is used as the preliminary `configure.ac‘ file for that specific package.

Syntax of `autoscan` command in Linux

autoscan [, OPTION/]... [, SRCDIR/]

Options and Examples:

Options

Description

-h or –help

Displays the help message, providing a brief overview of the command’s usage and available options.

-V or –version

Shows the version number and then exits.

-v or –verbose

Provides verbose reporting during the processing.

-d or –debug

Retains temporary files and prevents their removal.

-h, –help Option

Display the help message and then exits.

autoscan -h or autoscan --help
help message

help message

-V, –version Option

Shows the version number and then exits.

autoscan -V or autoscan --version
version number

version number

-v, –verbose Option

Gives the verbosely report processing.

autoscan -v filename or autoscan --verbose filename
Verbose report

Verbose report

-d, –debug Option

Makes sure to not remove any files that are temporary.

autoscan -d or autoscan --debug
Debug

Debug

Conclusion

In this article, we discussed the `autoscan` command which is a powerful tool that simplifies the generation of preliminary `configure.in` files. Overall, we can say that understanding the command’s syntax and exploring of `autoscan` effectively, improves the efficiency of our Linux workflow.


Last Updated : 31 Jul, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads