User Tools

Site Tools


notes:unix

This is an old revision of the document!


Corning Community College

CSCS1730 UNIX/Linux Fundamentals

Course Wiki Page

Projects

URLs

Notes

Commands

How to claim participation points
-from lab46 prompt type: 'wcp unix wcp1' (putting the proper week number at the end instead of the 1)

Commands for your repository
(make sure you are in your repository directory)

-'hg status' (shows files and whether or not they are tracked)
-'hg add' (begins tracking all untracked files, put a filename at the end to just do one)
-'hg commit -m “description here”' (tracks changes with a comment)
-'hg push' (updates repository with commits)

Commands That we Have Learned:
(Note: commands are used as written so if capitalized it needs to be capitalized and if a “ ” is used you need to put what is in there.)

  • ls - Lists the files in your current directory. If combined with a -l (ls -l) will give more info including permissions for the files.
  • pwd - print the working directory. Will show you where you currently are.
  • cd - change directory. Allows you to change your current directory. You can set up the absolute path to go through multiple directories in one command.
  • mkdir “name” - make a new directory with the name “name”
  • cp “name of file you wish to copy” “where you are copying it” - copies the file and put it somewhere if combined with a -R you copy a directory
  • mv “name of file you wish to move” “where to move/new name” - allows you to move a file to a different directory. If in the second argument the name is not a directory it will rename the file to what was imputed.“

Login Problems

Some people have reported problems logging into the wiki. There seems to be a few sources of problems experienced:

  • User cannot log in.
  • User cannot log in using “Secure Login”.
  • Attempting to connect over http versus https (ALWAYS USE https!!!)

If you are confident you are using the correct username and password, and are using a version of Internet Explorer, it is suggested that you use a different browser, such as Firefox, Safari, or Chrome.

If the “Secure Login” doesn't seem to be working for you, the behavior seems to occur when user passwords contain symbols like quote marks and asterisks. In which case, you can either:

  • Uncheck “Use Secure Login”. This sort of defeats the purpose of having security though, so it isn't outwardly recommended.
  • Change your password to something that doesn't contain quote marks or asterisks. We don't yet know exactly which characters cause this problem, but we suspect it is characters that aren't being properly escaped that could have special syntactical meaning.

Syntax

For those unfamiliar, here is a page on wiki editing syntax that can be used here.

Course Notes Wiki

This is a space for members of the UNIX/Linux Fundamentals class to create a source of information reflective and assisting to the course.

Aside from assignments that may have you specifically perform operations here, you should contribute when you encounter any of the following:

  • Some neat bit of information related to the class
  • Some clarification or understanding you've had with respect to concepts in the class
  • Organizational/style improvements to existing content
  • Questions you have that may deserve a more visual answer

DokuWiki wrap plugin

notes/unix.1550090816.txt.gz · Last modified: 2019/02/13 15:46 by bmurphy7