User Tools

Site Tools


Writing /users/jbklauda/pub/wiki/data/cache/6/6193a558dc90ed4c190004bf67ecff70.captchaip failed
linux_guide

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
linux_guide [2016/08/28 21:44] – adminlinux_guide [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 7: Line 7:
 Often, the OS will say "permission denied", when you try to run/edit a file. Do not panic and follow this guide. Often, the OS will say "permission denied", when you try to run/edit a file. Do not panic and follow this guide.
  
- **chmod u+x+w** //filename// # **chmod**: give permission, **u**: for owner, **+**: add options, **x**: for execution, **r**: for writing.+ ''**chmod u+x+w** //filename//'' # **chmod**: give permission, **u**: for owner, **+**: add options, **x**: for execution, **w**: for writing.
  
 If you want to edit all the files with certeain extension, try If you want to edit all the files with certeain extension, try
  
-**chmod u+x+w *.**//extension//+''**chmod u+x+w *.**//extension//''
  
  
Line 18: Line 18:
 In order to change to specific directories,  In order to change to specific directories, 
  
-**cd** //directory//+''**cd** //directory//''
  
 In order to go to the child folder,  In order to go to the child folder, 
  
-**cd** //child folder//+''**cd** //child folder//''
  
 If you want to go to the parent folder, If you want to go to the parent folder,
  
-**cd ..**+''**cd ..**''
  
 - One good tip is to type tap after typing first 3~4 letters of the file. It will automatically fill in the name.  - One good tip is to type tap after typing first 3~4 letters of the file. It will automatically fill in the name. 
Line 34: Line 34:
 In order to move a file,  In order to move a file, 
  
-**mv** //current_directory_file new_directory//+''**mv** //current_directory_file new_directory//''
  
 In order to move a directory, In order to move a directory,
  
-**mv -r** //directory new_directory//  # -r : recursively+''**mv -r** //directory new_directory//''  # -r : recursively
  
 +__4.make directory__
  
 +In order to make a new directory,
  
 +''**mkdir** //new  directory//''
  
 +__5.Move file to other computer __
  
 +If you want to download or upload your file, try this: 
  
 +
 +''%% scp projectFile good@server:location %%''
 +
 +
 +if you want to transfer a folder, then,
 +
 +''%% scp -r projectFile good@server:location %%''
 + 
 +If you want to download a file, try
 +
 +''%% scp good@server:location/projectfile local_location %%''
 +
 +
 +**Do this code on your local machine**
  
  
linux_guide.1472435071.txt.gz · Last modified: 2016/08/28 20:44 (external edit)