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.
dummies
Source:http://www.dummies.com/how-to/content/useful-commands-in-ubuntu-linux.html
No comments:
Post a Comment