![]() |
| Figure 1: putty |
The ability to learn any language always starts with the basics. In Linux that means setting down the path through the command window similar to DOS. However, utilizing a Fedora workstation rather than the command window of old. Seen in Figure 1.
THE BASIC COMMANDS
Just some of the basic commands are:
Command Description
ls List the contents of the current directory in short form.
-a Added to ls will display hidden files
pwd Prints the working directory
cp Copies files
rm Remove files
cd Change directories
mkdir Creates a new directory
rmdir Remove Directory
COMMON ERRORS
Note that there are many ways that errors can occur in comparison to say C# and Java. In these languages you can notice minor errors such as spelling or spacing. In Linux it is more nuanced and need to pay attention to these errors or can get errors as seen in Figure 2. Here got ahead of the programming and forgot to create the file/directory before calling it.
![]() |
| Figure 2 |
CONCLUSION
In week one are introduced to the Linux formatting and language. From here will build and learn to enhance the ability of using this powerful language and open-source operating system. As the old saying goes a person needs to learn to crawl before you can walk and walk before you can run.


No comments:
Post a Comment