linux important commands code example
Example 1: linux commands list
The 'mv' (move) command can also be used for renaming directories. Use the below-given format:
mv directoryname newdirectoryname
Example 2: linux commands list
To view a file, use the command -
cat filename