7. Linux Help

This chapter gives some help on using Linux on ARCHER.

7.1 Linux Quick Reference Sheet

Linux Quick Reference Sheet

A brief guide to basic shell commands. Includes examples for core utilities, text editors and PBS functions.

7.2 Finding Linux Help and Documentation from the Command Line

Finding Linux Help and Documentation from the Command Line

7.3 Linux on ARCHER - some hints and tips

7.3.1 File meta-data

Accessing large amounts of file meta-data (file size, file type...) can be slow. For this reason, avoid using commands which depend on this meta-data unless it is actually necessary.

For example:

ls -l
ls --colour=auto
ls -F

will run much more slowly than a simple

ls

However

ls --group-directories-first

produces a windows-like list which puts the directories first followed by the files and

ls -p

is also a lightweight option to show which are directories in a listing.

There is more extensive explanation and advice to be found at http://www.nas.nasa.gov/hecc/support/kb/lustre-best-practices_226.html where they are using a different, but similarly configured, lustre system.