Re-install Ubuntu.

First of all, my first posting is pretty late. I’m so sorry.

I was using Oracle VM VirtualBox to run Ubuntu until last night. It was slow and inconvenient to use it. I could not take this anymore. Therefore, I decided to make an Ubuntu PC with my 5-years old Netbook. My netbook is the first ’Eee pc’ series, which was made by ASUS. (It really doesn’t look like netbook. Heavy and Thick)

I used the program ‘Universal USB installer’ to make bootable USB installer. After setting the boot priority configuration, I plugged in my USB. Installing Ubuntu was pretty easy. What I did was just few clicks and set my name and password for my account. The installation took 50min including update. Everything works well. One thing that I realized was I did not need to install drivers for graphic, sound and network.  Since I had used only Windows before, it was pretty interesting.

 

Here is the link to Universal USB installer website.

http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/#button

SAMSUNG SAMSUNG

 

Re-install Ubuntu.

First of all, my first posting is pretty late. I’m so sorry.

I was using Oracle VM VirtualBox to run Ubuntu until last night. It was slow and inconvenient to use it. I could not take this anymore. Therefore, I decided to make an Ubuntu PC with my 5-years old Netbook. My netbook is the first ’Eee pc’ series, which was made by ASUS. (It really doesn’t look like netbook. Heavy and Thick)

I used the program ‘Universal USB installer’ to make bootable USB installer. After setting the boot priority configuration, I plugged in my USB. Installing Ubuntu was pretty easy. What I did was just few clicks and set my name and password for my account. The installation took 50min including update. Everything works well. One thing that I realized was I did not need to install drivers for graphic, sound and network.  Since I had used only Windows before, it was pretty interesting.

 

Here is the link to Universal USB installer website.

http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/#button

 

The File System

This week, we learned a little more about the UNIX file system. The file system is similar to that of any other major operating system. There are some exceptions however. For instance, instead of having multiple drives (ie. C:\, D:\), everything is located under the root directory (/) as seen below. All other devices (disk drive, etc.) are located under /dev.

Unix File System

One very important command to keep in mind is chmod or change mode. This command allows you to change the permissions of files and directories. I decided to do a little more exploring of the command. While searching, I came across a list of common chmod combinations (below) here.

Command

Purpose

chmod 400 file To protect a file against accidental overwriting.
chmod 500 directory To protect yourself from accidentally removing, renaming or moving files from this directory.
chmod 600 file A private file only changeable by the user who entered this command.
chmod 644 file A publicly readable file that can only be changed by the issuing user.
chmod 660 file Users belonging to your group can change this files, others don’t have any access to it at all.
chmod 700 file Protects a file against any access from other users, while the issuing user still has full access.
chmod 755 directory For files that should be readable and executable by others, but only changeable by the issuing user.
chmod 775 file Standard file sharing mode for a group.
chmod 777 file Everybody can do everything to this file.
chmod +x file Enables only the file execution.

Takin’ To [command] School

So for one of the first exercises in ECE 2524, we were assigned a couple UNIX commands and were told we needed to teach them to fellow classmates. Surprisingly, this activity was actually beneficial! The fact that we needed to have enough knowledge to not only know the commands but actually go above and beyond to effectively teach others about those commands made this assignment pretty cool and worth the time put into it. I definitely hope this class has a few more in class exercises because my group was actually cool. We were also able to go through all the commands since everyone was prepared!

Basic Shell Commands and Python Exercises

Basic Shell Commands

This week in ECE 2524, we took a look at some of the basic shell commands listed below.

alias diff man rmdir unalias
cat echo mkdir script whereis
cd exit more source which
cp hostname mv ssh whoami
chmod less pwd tar ps
date ls rm touch grep
find head tail ln wc

The exercise was pretty straight forward. As a small group, we divided the commands for each person to research. For each of our commands, we had to find the usage of the command, common flags and options, and some examples. In my opinion, the exercise would have been more helpful if after we discussed our commands, we had an exercise where we would have to use some or most of the commands. However, overall the exercise was a good learning exercise.

 

Python Exercises

We have been following along with an online book, Learn Python the Hard Way, that will teach us how to program in python. I have made it through exercise 9, and so far it has been very helpful. I have quite a bit of experience in various other languages, and this book helps me see the connection Python has with them. I look forward to going through the rest of the book.

Initial Unix Experience

Let me start out by saying I have used a Unix based operating system before, but at the time it was because it was mandatory. I regret that I ever stopped. I think that all computer science and computer engineering students should be forced to use Unix in thier programming classes. We are far too accustomed to dealing with GUI’s, where the navigating is much slower than using a terminal.  I think with enough time using a terminal one will prefer it over using a GUI.

ii – command school

Today in class we had our command school assignment. I was in charge of learning multiple commands. Four other students were in my group and they were in charge different commands. As a whole we went through all of the assigned commands to try and teach one another what all 35 commands do.

Overall, it was an effective way to learn about Unix commands. I thought it was effective because I took my time to thoroughly learn the commands I was assigned. I believe it worked out well that people were in charge of specific commands because it put pressure on us to know them. Therefore, if a group member were to question us we should be responsible for being able to answer questions about commands.

I found it a little hard to learn the commands my teammates were supposed to teach. Since there is not much space in the room it was extremely hard to hear people when they were talking. One thing that prevented me from really understanding the commands that were being taught was visualization. I prefer to view things rather than hear someone just talk about something. Therefore, if I were to have the commands in front of me with a brief description, I think I would have better understood the commands being taught.

goodbye world.

i – intro to unix

Unix/Linux is something that is very new to me. I am fairly familiar with it but only from things I have heard and nothing I have personally experienced. I just finished up the command school assignment not too long ago. I had a list of 7 commands that I had to go through. For the most part, the commands were very straight forward and easy to understand. There were a few that I had some trouble with. The two commands “ps” and “grep” made me think a little harder. I think the main reason why I had some trouble following the commands was due to the mass amount of information each command had in the manual. There are many different options to add on to the commands in regards to what you would like to look for and how you would like items displayed. After looking through a few different webpages and also trying the commands myself, I was able to have a better understanding of what is occurring when the commands are used.Tomorrow, we will be going over the commands in groups and teaching them to one another.

goodbye world.

First Impression on Unix/Ubuntu (Entry# 1)

Upon installing Ubuntu over the summer, I was excited to test its functionality. I was eager to see if there were any differences between Ubuntu’s terminal and Microsoft Dos. This excitement only lasted for two days as Ubuntu was not able to boot when I started the computer. I installed Ubuntu 12.04 by following the directions on their home page. The error message said “missing wubuilder…”, and the computer froze on the log in screen. I did some research by reading several blogs, but ended up with no simple solution. Consequently, I decided to re install Ubuntu. It worked normal as before, but I decided to Await till the class begin so that I won’t mess up again.

The first day of class was more about history and the fundamentals of Unix. I was disappointed to learn about the history, but I realized that it was the best way to start. On the weekend, I sat down and completed the first exercise which taught the basic commands. The commands were straight forward and easy to learn. I also believe that this class would help me get a better grade in ECE 3574(Into to Software Engineering) which also uses Unix. My first week of actual Unix experience went really well and I am eager to learn more command and the application of Unix in multiple disciplines.

 

Intro to Unix ECE 2524 Entry #1

Alright so I guess it’s about time to start the first entry to this blog.  This class is my first experience in Unix, and so my first objective was to install Ubuntu.  Since I already had a virtual box running on my laptop, I figured that would be the fastest ad easiest way to get Ubuntu up and running.  After downloading the ISO file and creating a new partition in the virtual box, all I had to do was simply install it. Once it finished installing, I played around with learning what everything was; I was surprised to see products already installed that were so similar to Microsoft Office.  So far everything has been running smoothly, and I haven’t had any problems.

I began going through the lecture and exercise for week 2 today and found the exercises  to be very intuitive and easy to complete.  Probably took only about 15 minutes to complete  and definitely worth not having to go to class on Monday.  Also started looking at the commands to learn for Wednesday. Some are very self explanatory, while others took a little bit more time to understand as some commands can be used in different ways to do multiple different things.  I’m also programming in Linux for ECE 3574 in the qtcreator.  I may also write about some of my experiences with that throughout the semester as they relate to this class.