User Tools

Site Tools


opus:fall2012:eolson1:unixpart1

unix Keyword 1

Remote Host

Definition

A remote host is a computer typically refereed to as a server in a private or a public network. The computer or server will be located in a distant location. This server or computer can retrieve and store data and users can even access data off of them. A good example would be the servers located here at the business center when we log on and access files from home.

References

unix Keyword 1 Phase 2

File Listing

Definition

File listing in unix is a command “ls” when you type ls into the terminal it will list all the files or directory's in that directory. File listing can also be used with parameters such as -l. when you type “ls -l” it will list all the files again but you will also see more details about the files such as the various permissions the file or directory has. For more information you can visit the “ls” man page.

References

  • “ls” man page

Demonstration

Demonstration of the indicated keyword.

An example on the Terminal.

lab46:~$ ls
Desktop    Maildir   Public     arc.tar          archives     data         lyrics.mp3    src
Documents  Music     Templates  archive1.tar.gz  closet       file.txt.gz  public_html   the answer.txt
Downloads  Pictures  Videos     archive2.zip     courses.tar  logincnt.sh  puzzlebox.sh
lab46:~$ 
lab46:~$ ls -l
total 48
drwxr-xr-x 2 eolson1 lab46     6 Aug 28 14:21 Desktop
drwxr-xr-x 2 eolson1 lab46     6 Aug 28 14:21 Documents
drwxr-xr-x 2 eolson1 lab46     6 Aug 28 14:21 Downloads
lrwxrwxrwx 1 eolson1 lab46    17 Aug 25 15:40 Maildir -> /var/mail/eolson1
drwxr-xr-x 2 eolson1 lab46     6 Aug 28 14:21 Music
drwxr-xr-x 2 eolson1 lab46     6 Aug 28 14:21 Pictures
drwxr-xr-x 2 eolson1 lab46     6 Aug 28 14:21 Public
drwxr-xr-x 2 eolson1 lab46     6 Aug 28 14:21 Templates
drwxr-xr-x 2 eolson1 lab46     6 Aug 28 14:21 Videos
-rw-r--r-- 1 eolson1 lab46 10240 Sep 21 16:01 arc.tar
-rw-r--r-- 1 eolson1 lab46   237 Sep 21 15:42 archive1.tar.gz
-rw-r--r-- 1 eolson1 lab46   584 Sep 21 15:42 archive2.zip
drwxr-x--x 3 eolson1 lab46    80 Sep 21 16:00 archives
drwxr-xr-x 2 eolson1 lab46    17 Sep 14 16:37 closet
-rw-r----- 1 eolson1 lab46 10240 Sep 22 15:15 courses.tar
lrwxrwxrwx 1 eolson1 lab46    27 Aug 29 13:56 data -> /usr/local/etc/data/eolson1
-rw-r--r-- 1 eolson1 lab46    76 Sep 22 15:00 file.txt.gz
-rwxr-x--- 1 eolson1 lab46   112 Sep 19 16:40 logincnt.sh
-rw-r--r-- 1 eolson1 lab46   658 Sep 21 11:51 lyrics.mp3
drwx-----x 2 eolson1 lab46     6 Aug 26  2009 public_html
-rw-r--r-- 1 eolson1 lab46   447 Sep 22 15:35 puzzlebox.sh
drwx------ 8 eolson1 lab46   108 Sep 19 14:15 src
drwxr-xr-x 2 eolson1 lab46    21 Sep 24 13:25 the answer.txt
lab46:~$ 
opus/fall2012/eolson1/unixpart1.txt · Last modified: 2012/09/25 14:18 by eolson1