Online Test Banks
Score higher
See Online Test Banks
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

Useful Commands in Ubuntu Linux

Part of the Ubuntu Linux For Dummies Cheat Sheet

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.

  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus

Inside Sweepstakes

Win an iPad Mini. Enter to win now!