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 15:17] – adminlinux_guide [Unknown date] (current) – external edit (Unknown date) 127.0.0.1
Line 3: Line 3:
 This page is for people who are not familiar with linux. This page is for people who are not familiar with linux.
  
-1. Permission.+__1. Permission__
  
 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** //filename// # **chmod**: give permission, **u**: for owner, **+**: add options, **x**: for execution+ ''**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 *.**//extension//+''**chmod u+x+w *.**//extension//'' 
 + 
 + 
 +__2. Change directory__ 
 + 
 +In order to change to specific directories,  
 + 
 +''**cd** //directory//'' 
 + 
 +In order to go to the child folder,  
 + 
 +''**cd** //child folder//'' 
 + 
 +If you want to go to the parent folder, 
 + 
 +''**cd ..**'' 
 + 
 +- One good tip is to type tap after typing first 3~4 letters of the file. It will automatically fill in the name.  
 + 
 +__3. Move file__ 
 + 
 +In order to move a file,  
 + 
 +''**mv** //current_directory_file new_directory//'' 
 + 
 +In order to move a directory, 
 + 
 +''**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.1472411843.txt.gz · Last modified: 2016/08/28 14:17 (external edit)