Linux All-In-One For Dummies
Book image
Explore Book Buy On Amazon

This list provides some simple command line examples. To open a terminal emulator window, click the Gnome Applications menu and select Accessories → Terminal, then, use these commands:

  • clear Clears the current screen of all text.

  • ls Lists the current directory.

    It's like the MS-DOS dir command.

  • ls dir Lists the specified directory.

  • cat file Concatenates (adds) the contents of the file to your screen.

    It's like the MS-DOS type command.

  • more file Displays the file one page at a time.

  • tail file Displays the file one page at a time from the end of the file.

  • pwd Shows name of the current directory.

  • cd dir Changes to the specified directory.

    It's like the MS-DOS chdir command.

About This Article

This article can be found in the category: