Personal tools
You are here: Home Docs Help! Reference Manuals Introduction to Linux Quickstart Absolute basics General remarks

2.2.2. General remarks

Up one level

-

You type these commands after the prompt, in a terminal window in graphical mode or in text mode, followed by Enter.

Commands can be issued by themselves, such as ls. A command behaves different when you specify an option, usually preceded with a dash (-), as in ls -a. The same option character may have a different meaning for another command. GNU programs take long options, preceded by two dashes (--), like ls --all. Some commands have no options.

The argument(s) to a command are specifications for the object(s) on which you want the command to take effect. An example is ls /etc, where the directory /etc is the argument to the ls command. This indicates that you want to see the content of that directory, instead of the default, which would be the content of the current directory, obtained by just typing ls followed by Enter. Some commands require arguments, sometimes arguments are optional.

You can find out whether a command takes options and arguments, and which ones are valid, by checking the online help for that command, see Section 2.3.

In Linux, like in UNIX, directories are separated using forward slashes, like the ones used in web addresses (URLs). We will discuss directory structure in-depth later.

The symbols . and .. have special meaning when directories are concerned. We will try to find out about those during the exercises, and more in the next chapter.

Try to avoid logging in with or using the system administrator's account, root. Besides doing your normal work, most tasks, including checking the system, collecting information etc., can be executed using a normal user account with no special permissions at all. If needed, for instance when creating a new user or installing new software, the preferred way of obtaining root access is by switching user IDs, see Section 3.2.1 for an example.

Almost all commands in this book can be executed without system administrator privileges. In most cases, when issuing a command or starting a program as a non-privileged user, the system will warn you or prompt you for the root password when root access is required. Once you're done, leave the application or session that gives you root privileges immediately.

Reading documentation should become your second nature. Especially in the beginning, it is important to read system documentation, manuals for basic commands, HOWTOs and so on. Since the amount of documentation is so enormous, it is impossible to include all related documentation. This book will try to guide you to the most appropriate documentation on every subject discussed, in order to stimulate the habit of reading the man pages.

Linux Rackmount Server
For high quality performance Multi-core RAID servers at unbeatable prices with ongoing maintenance and support.
IT Support Bristol
IT Services and IT Support provider based in Bristol. Computer maintenance with server support as standard.
Mobile broadband
Compare mobile broadband deals and offers at the UK's best mobile broadband comparison site
Best Mobile Broadband Deals
Compare wireless mobile internet deals on Mobile Broadband Genie, the independent UK price comparison website.
IT Support
Award winning IT Support from help4IT, providing all the IT services of a dedicated IT department to businesses in London and the UK.
Call 0800 043 4448.
Introduction to Linux
Comprehensive 5 day introductory course in London, 8-12 March/10-14 May. Covers installation, command-line, Gnome, power tools, Shell scripting, Office Applications and more.
Broadband Packages
Compare broadband packages in your area with Broadband Choices, the UK's leading Ofcom-accredited broadband comparison calculator
IT Support Bristol
Netzen provide business IT Support for London, Bristol & Bath, Supporting Microsoft, Cisco, Linux & Mac
IT Support
For The Best IT Support In London Make Our IT Department Your IT Department. Microsoft Gold Certified Partner.
Rugs
Rugstore North East is the largest stockist of high quality modern and traditional rugs in the North East and provides great value and service to customers throughout the UK.
IT Support London
IT Services and IT Support London and Microsoft Small Business Specialist.
IT Support London
Efficent IT Support & Hosted Services for SME businesses in and around greater London.
IT SUPPORT
Award winning IT Services from London provider Wavex offering support, advice, and training
IT Support
A full range of services, from hosting, data recovery and day-to-day support through to Board-level IT advice through our virtual IT Director offering.
Data Recovery
Professional data recovery services