| Who Am I? | Where's my stuff? | File Storage |
| Menus | Sound Applications | Other Applications |
| Basic Unix Commands | Learning More | Quotas |
| Backups | CMC Linux Machine List |
elmo@music.columbia.edu
You will occasionally receive important notices at your music email address, so you'll want to either check it often or have your mail forwarded to another account. Contact me for information on forwarding your mail. You can use either a command-line email program like pine or a POP3 client such as Eudora or Netscape to check your mail.
Please note that you can only do email from music.columbia.edu. None of our other linux machines are set up for email. See ssh below for information on logging on to music from one of the workstations.
You can also set up a web site on the music server. All you have to do is make a directory called "public_html" in your home directory. Once that directory exists anything you put in it will be visible on the web. The URL for elmo's website would be:
http://music.columbia.edu/~elmo
[elmo@yowl elmo]$ cd /music/username
to move into your directory on the music file server. Or to copy a file from the file server to your home directory on the local workstation you would do:
[elmo@yowl elmo]$ cp /music/username/filename ./
Please note that you should still work on files on the local machine. Our network is not yet fast enough to support working on files across the network. So each time you log on to one of the workstations you'll need to transfer your files from one of the servers to your local home directory. When you are finished for the day you should transfer them back to the file server and delete the local copies. It is important that you do not keep lots of copies of files sitting around -- see Quotas below for more information.
The menu bar has a number of useful icons on it. The large foot icon on
the left side is a pop-up menu that contains various sub-menus and
commands. One of the most important is the "Log out" command. Make sure
that you log off of the machine every time you finish a session.
If you're more comfortable with a command line environment, you can get a
terminal window by clicking on the "monitor with a footprint" icon in the
menu bar at the bottom of the screen. All of the usual UNIX commands will
work.
You can add items (like clocks and CPU monitors) to your menu bar. Just
poke around the menu bar and you'll discover all sorts of cool things to
do. Feel free to customize your desktop environment. You can change
colors, add icons, background images, etc.
In the foot menu on the menu bar is a submenu called "Sound
Applications." To run one of the applications in this menu just select it
and it will run. Only non-command line applications can be run in this
way.
Running command-line applications is a tiny bit more complicated, but it's
still pretty easy:
[elmo@yowl elmo]$ CMIX < myscore.sco
You'll get more specific information on running various sound applications
from your instructor. Feel free to poke around in the /usr/local/soundapps
directory and in the "Sound Applications" menu to see what's installed on
the machines.
If there is an application you'd like installed on one of the machines just let me know and I will look into it.
[elmo@yowl elmo]$ man ls
[elmo@yowl elmo]$ ls -la
[elmo@yowl elmo]$ cd ../
To change into a directory called "bunny":
[elmo@yowl elmo]$ cd bunny
To change into your folder (assuming you're elmo) on the fileserver music:
[elmo@yowl elmo]$ cd /music/elmo
To change into your home directory:
[elmo@yowl elmo]$ cd ~
[elmo@yowl elmo]$ cp yanni.aiff nerf.aiff
Note that now you have two copies of the same file, one called yanni.aiff and one called nerf.aiff. The files are identical, except for the name. To copy a file from your current directory to your directory on the fileserver music:
[elmo@yowl elmo]$ cp yanni.aiff /music/elmo/yanni.aiff
Again, note that you new have two copies of the file. That may or may not be what you want...
To copy a file to a different machine use either sftp or scp, both listed below.
[elmo@yowl elmo]$ mv yanni.aiff nerf.aiff
Note that there is no longer a file called yanni.aiff. It has been renamed to nerf.aiff. So unlike cp above, when you mv something you don't end up with two copies. To move a file called yanni.aiff from the fileserver music into your current directory:
[elmo@yowl elmo]$ mv /music/elmo/yanni.aiff yanni.aiff
This will remove the file from the file server, and place it in your current directory.
[elmo@yowl elmo]$ rm yanni.aiff
[elmo@yowl elmo]$ mkdir sounds
To make a directory called "scores" on the fileserver music:
[elmo@yowl elmo]$ mkdir /music/elmo/scores
[elmo@yowl elmo]$ cat myideas
cat has many other uses ("cat" is short for concatenate), so read the man page.
[elmo@yowl elmo]$ grep monstertruck *.sco
The "*" is a wildcard, so "*.sco" tells the system to search in any file ending with ".sco". grep can do many tricks, so read the man page.
[elmo@yowl elmo]$ locate magicrobot
Locate works from a database of files that is created each night -- so if you've just created a file and then try to locate it it will not show up. Also note that locate works on the whole filesystem -- it will find all files called "magicrobot" on the system. A more flexible and powerful (and a bit harder to use) way to find files is via the find command. See the find man page for details.
[elmo@yowl elmo]$ ssh yowl.music.columbia.edu
[elmo@yowl elmo]$ sftp woof.music.columbia.edu
[elmo@yowl elmo]$ scp bleep.txt niaou.music.columbia.edu:bleep.txt
A great book that you'll use constantly: UNIX in a Nutshell from O'Reilly. You should be able to find it in any bookstore with a computer section.
Who Am I?
When your account is created you will be given a username. The name elmo will be used in the examples on this page. Elmo's email address on our system is:
Where's my stuff?
User directories are in the /home directory. Your personal home directory
is /home/username where username is the name you used to log onto the
system. You have a different home directory on each of our Linux machines
-- if you store something in your home directory on one machine, it won't
show up on the other machines.
File Storage
We have two file servers set up for you to use as storage space for your projects. You should not keep important files on the local sound workstations, as they are not backed up and if a disc crashes you will lose your data. In Dodge the file server is music, in Prentis it is bark. The file servers are mounted on the local machines, so it is very easy for you to move your files back and forth from the servers to the workstations. On the linux machines in Dodge music is mounted at /music and in Prentis bark is mounted at /bark. So you can simply:
Menus
When you log onto one of the local workstations you'll see a folder on the top left of the screen called
"Home directory", and a menu bar at the bottom of the screen. If you
double-click on the "Home directory" icon you'll get a graphical file
browser, much like you've seen in Windows or the MacOS. You can use it to
move, open, create, delete, copy files.
Sound Applications
Some of the applications on our systems can be run by clicking on an icon,
just as you would in MacOS or Windows. Others need to be run from the
command line.
Other Applications
There are many applications installed on the Linux machines. Text editors,
graphics editing packages, web tools, games, programming environments, etc. Look around on the menu
bar to see what's there. Probably one of the most important is the
Netscape browser, which is accessible via the familiar Netscape icon on
the menu bar. Another important application is the graphical FTP client,
gFTP. You can launch it from the foot menu. gFTP is used for moving files between workstations or from a CMC machine to another machine not on our network.
Quotas
Users have a limited amount of storage space on each of our machines. You
should not leave large or important files on the local workstations. See File Storage above for information on where you should store your files.
If you go over your alloted amount of storage space your account will automatically be disabled, so pay attention to the warnings that the system will send to you as you get close to your limit. The limit on sound workstations is 1 gigabyte. On the file servers music and bark the limit is 3.5 gigabytes.
Backups
The only machines that we back up are the two file servers, music and
bark. You are responsible for backing up your data on all other
machines. This, and the quotas mentioned above, are two good reasons why
you should get in the habit of keeping your work on the fileservers, not
on the local machines. Backups happen once a week on Sunday night.
Basic Unix Commands
Linux is a version of UNIX, one of the oldest and most widely used operating systems. So if you know UNIX, you pretty much know Linux. Here are a few of the most used command-line (i.e. text-based) tools in UNIX:
Learning More
At some point you'll need to learn more about using the Linux terminal and
command line tools. We have several books in the office which you can
check out from Kate. There is also a lot of information on using Linux and
UNIX on the web. Many of the CMC staff and students are experienced UNIX
users, so don't be afraid to ask for help.
CMC Linux Machines and Locations
machine name location purpose
blurp 803 Dodge (little room) sound work
music Dodge Dodge email/web/fileserver
yowl 803 Dodge sound work
bark Prentis Prentis fileserver
gogogo 324 Prentis sound work
niaou 314 Prentis sound work
woof 314 Prentis sound work