Home arrow linux for dummies arrow Linux basic commands

Login Form






Lost Password?
No account yet? Register

Syndicate


SUSE 9.1 Professional PDF Print E-mail
 
During the last week I had the opportunity to test the Proffesional new version of SUSE 9.1. As is usually the first impression is often wedding photographer glasgow verizon wireless prepaid cheap web hosting the most important, I was afraid to open the box. Collected a little courage I opened it. I could not go with admiration. SUSE AG postarala really to give SUSE. Yes it should appear each boxed version of GNU / Linux. In the middle of a consumer who bought the package is 2 books dealing with Linux: Administration Pain medication 50mg online SEO calling phone cards Guide "and" User Guide ", a package of CDs and the 2 disc DVD bilateral (DVD1 and DVD2 installation source), plus a package of regular CD needed for installation - total 7 discs. In addition, SUSE AG, the plate with a full version of the database SQL Anywhere ® Studio for Linux v9.0 and SUSE extra sticker with the logo - with the chameleon. That was a first impression.


Linux basic commands PDF Print E-mail
Written by Administrator   

At the beginning I would like to explain the appearance of the word "command" in this publication. It reflects the same one real bad message. Saying "command" we mean a certain order, some instructions. I say "running" in the publication, I mean the program you want. Linux is not 'famous' dos. Here, everything is separate, ie, at any time, you can even remove the corresponding files on the move! However, it is difficult to use the concept of "program", which can make you uncomfortable. So, I will continue to use the term "command", but you must remember - this is not a Linux!

The method of calling an application depends on its location - global or local. I typed in the command line (console synonym):

imoteph @ debian: ~ $ mc

Linux directories to search the global uruchomieniowymi files, ie / bin, / sbin, / usr / bin, / usr / sbin. If there is a file designated by us as not difficult to guess - it is running.

But how to run a local file, such as our catalog?
Simply precede the name of the character kropi and slesha - "./":

imoteph @ debian: ~ $. / "file name"

Note that the file is in quotes. You must indicate all names containing a space. Another way is to insert a space before the forward slash character - "\":

. / name \ file

The following are the basic commands, without whose work on the console is useless:

Program Description
ls Displays files in specified directory, the same 'ls' will display directory bierzący
imoteph @ debian: ~ $ ls
cd Change directory to the specified
imoteph @ debian: ~ $ cd mp3 /
cp Copy a specified file to the specified path
imoteph @ debian: ~ $ cp skaner.cpp / home / inch /
mv Moves the specified file to the specified path can be used to change the file name
imoteph @ debian: ~ $ mv skaner.cpp / home / inch
imoteph @ debian: ~ $ mv skaner.cpp scanner-1.0.cpp
cat displays the contents of the file
imoteph @ debian: ~ $ cat skaner.cpp
more to the same as' cat ', but were allowed to scroll down the text
imoteph @ debian: ~ $ more skaner.cpp
The less the same as' cat ', but were allowed to move on both sides
imoteph @ debian: ~ $ less skaner.cpp
mkdir Create a directory
imoteph @ debian: ~ $ mkdir linux
rm removes files
imoteph @ debian: ~ $ rm skaner.cpp
chmod Change access rights to the file / directory
imoteph @ debian: ~ $ chmod 666 skaner.cpp
chown Change owner of file / directory
imoteph @ debian: ~ $ chown inch skaner.cpp
passwd Sets a new password for the user
Temporary logging su to another user, same 'su' means log on as root
whoami Displays your user name in which we work out
mount mount partyjce identified in a particular place
imoteph @ debian: ~ $ mount / dev / cdrom

The above-mentioned command, the only substitute that which gives us a Linux. All, however, depends on the software installed on your system.  Information on the use of the program, see the manual directly in the system man. Just type man mount, and the description appears on the screen, the syntax and information about this program. Of course, we can view "summary" option after adding the argument - help or (not necessarily occurring in each program)-h. Sometimes, simply type the name of the program and the program itself will show you how to use and, possibly, how can we get information about him! The great advantage of the system is to link individual Bash commands. This is very useful, for example if you want to view the contents of a large directory - eg / usr / bin. File names that do not fit on the screen, so not all of them.

 
< Prev