User Tools

Site Tools


notes:unix

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:unix [2019/02/13 15:46] – [Notes] bmurphy7notes:unix [2020/11/04 23:50] (current) – Changed hyperlink to secure variant smalik3
Line 5: Line 5:
 </WRAP> </WRAP>
  
-======Projects======+======Course Notes======
  
-======URLs======+The "man" command can be used on Linux to display the manual of an inputted command. To use this command type "man" followed by a space and then a Linux command. 
 +Example: <code>man cd</code> 
 +This will display the manual for the Linux command "cd". This is very useful for starting off understanding Linux commands. And when in more doubt [[https://www.google.com|Google]] or asking questions to your professor is the answer.
  
-======Notes======+----------------------------------
  
-Commands\\ +The "cd" command is useful for going into directories or folders. 
 +Example: <code>cd</code> 
 +After using "cd" you add the option if which directory/folder you want to go into. Such as "cd familyphotos", you can even get to directories not close to the one you're in like "cd ~/games/somegame/unrelated".
  
-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\\  +The "mkdir" command is useful for creating folders. 
-(make sure you are in your repository directory)\\ +Example: <code>mkdir</code> 
 +After using "mkdir" you add the name of the folder. For example "mkdir folder" will create a folder named "folder" in whatever directory you are in. You can also use full paths like "mkdir ~/classes/unix" to create a folder that may not be in the same directory as you.
  
--'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:syntax|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===== 
-http://www.dokuwiki.org/_media/plugin:wrap_plugin_example2.png 
notes/unix.1550090816.txt.gz · Last modified: 2019/02/13 15:46 by bmurphy7