Linux swaplabel Command
What is Linux swaplabel Command?
In this tutorial we learn how to use swaplabel command in Linux. swaplabel command is swaplabel - print or change the label or UUID of a swap area.
swaplabel Syntax
swaplabel [-L label] [-U UUID] deviceswaplabel Examples
swaplabel Command Manual / Help
We can use man and info command to see the manual page of swaplabel command. swaplabel command also have --help option to show list of options.
To open man page for swaplabel command we can use command below. To exit man or info page you can press q.
man swaplabelTo open info page for swaplabel command we can use command below.
info swaplabelTo open help page from swaplabel command we can run command below.
swaplabel --helpLinux swaplabel Command Source Code
You can find swaplabel command source code from the folowing repositories:
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use swaplabel in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.