Recent Changes - Search:

Academic / Ph.D.

Research

Knowledge

Personal

Hobbies

Professional

Family

edit SideBar

Linux

References:

Useful Commands:

  • wget — downloads via various internet protocols (FTP, HTTP, etc.)
  • lftp — allows directory tree uploads with the “mirror -R ./ ./” command
  • du -h — shows disk utilization in human readable format
  • tar -xzvf file.tgz — Extracts, unzips, verbose, filename (creates subdirectory in current dir)
  • tar -cvzf — Creates, zips, verbosely, a set of files.

VI Keystrokes:

  • CTRL+X - Delete character
  • CTRL+D - Cut line
  • ESC+:w - Save file
  • ESC+:q - Exit

KSH Keystrokes:

CTRL+P - Go up in command history CTRL+B - Go back in commandline CTRL+A - Go to start of commandline CTRL+E - Go to end of commandline CTRL+D - Delete character

MATLAB:

load PDXprecip.dat;         %  read data into PDXprecip matrix 
month = PDXprecip(:,1);     %  copy first column of PDXprecip into month
precip = PDXprecip(:,2);    %  and second column into precip

plot(month,precip,'o');     %  plot precip vs. month with circles

xlabel('month of the year');           % add axis labels and plot title
ylabel('mean precipitation (inches)');
title('Mean monthly precipitation at Portland International Airport');
Edit - History - Print - Recent Changes - Search
Page last modified on May 14, 2008, at 01:18 PM