| 
  • If you are citizen of an European Union member nation, you may not use this service unless you are at least 16 years old.

View
 

On commands

Page history last edited by PBworks 13 years, 5 months ago

On terminal commands

 

If you are browsing the forums, or the web, and read (or told) a command sequence, how can you be sure it is safe? Well if you are smart, you can find out yourself if it is safe to run these commands.

 

One of the main ways of checking terminal commands, and a good way of learning them, is to use the *man* command, man stands for manual. This command precedes the command you would like to find out more about.

 

For example: type the following into the terminal (applications->accessories->terminal)

 

man ls

 

This will give you the manual for the ls command (lists files in a directory), using this simple method will help you work out if it is safe.

 

Also, you can simply wait (in the forum) for somone to reply with more detail, most users will point out if a previous command can harm your system.

 

Another thing to keep in mind is the sudo command, now the sudo command stands for superuser do, this allows you to execute commands that are otherwise only allowed to be run by the root user (system admin), now any command that does not use the sudo command (and the superusers password) should be deemed safe to type in without changing any of the sytems settings. This is because linux is built to be run with multi-users in mind, a system of privileges, where if you dont have the correct privileges you cannot change the system.

 

That is why you are always putting your password in for updates, ect.

 

A thread on malicious commands can be found here

Comments (0)

You don't have permission to comment on this page.