Dak Prescott: The Cowboys have a Gem

I am not a Cowboys fan but this preseason seems to be revealing something that we didn’t think the Cowboys had, a good quarterback situation.

Dak Prescott is something else. This guy is showing a lot of promise. I know it is too early to conclude and preseason games shouldn’t be taken too seriously, but I am really starting to like this guy. I think he has a really promising future.

I wonder how well he will perform against the Seahawks tonight


Another set of commands that will come in handy is the list and search commands. In the earlier chapter you would have seen me use the ls command to list the contents in a directory. There is another variation to this. If you need to see more details about the file then type ls -l and hit enter to show the contents in a long format with more details.

screenshot terminal2


If you need to search for a specific file one powerful command id locate FILE_NAME. FILE_NAME being the file being looked for. Below is a simple example of its use. Note that this command will search your entire file system.



Navigating the file system

Now that you have been through the introduction to shell scripting lets get to know more about navigating the file system.

To navigate the file system in the unix environment the main commands you will need are pwd(print working diretory), ls, cd(change directory)

Now lets see this in action.

Open your terminal and type pwd and hit the return button. The rerminal should return the path to current directory from which you are working. This is a quick way to know your current location.
user@ubuntu:~$ pwd



Now lets move directories. But where do we go. A nice way to know that is to type ls and hit return. this command will list all directories and sub directories available in your current location. Now to move the the Documents directory type cd Documents and hit return. This will bring you to the Documents folder. You can enter ls to list all the contents of this folder.

If you want to get back to the previous folder enter cd .. and hit return.

This will bring you to the parent directory of Documents. Type pwd to check your current location.

Other shortcuts you can user are cd / this command takes you to your root directory and cd ~ will take you to your home directory.

The image below illustrates how these commands are used.


Screenshot terminal


Introduction to shell scripting

Shell scripting basically means writing commands that can be read my shell program for execution on a unix system . There are a number of shell programs like

  • Bash – Bourne Again Shell
  • Ksh – Kornshell
  • Zsh – Z shell

Each of these shell programs does the same job with differences in syntax and built in functionality, but for these series of blog posts i will focus on the Bash shell program.

In order to interact with a shell program using modern day Unix operating systems like Ubuntu Linux you will need a program called the terminal. on Ubuntu you can use the keyboard shortcut ctrl + alt + T  to open the terminal. Also note that if your Linux installation doesn’t have a (GUI) graphical user interface then you can interact with the shell using your already available command line interface.  If you have access to ny of these then you are ready to start shell scripting.


Shell scripting might sound a little intimidating for some but trust me its not difficult and it is a useful skill. I hope you enjoy the rest of the series.


Back again [Update]

I have been away for a while. Work has been tough the past couple of months and before you know it you forget to blog one week then that week turns into a month. Thankfully the month wont turn in to a year.

Anyways I am back again and I will be updating this blog with all the things that interest me from music, funny videos, my favorite articles, politics and gaming .

I just want to let you know that I appreciate you for passing by.

Thanks.  🙂