Chmod help
This commit is contained in:
		
							parent
							
								
									323c7899e0
								
							
						
					
					
						commit
						9dd3d223ba
					
				@ -22,7 +22,6 @@ alias hidedesktop="defaults write com.apple.finder CreateDesktop -bool false &&
 | 
			
		||||
alias showdesktop="defaults write com.apple.finder CreateDesktop -bool true && killall Finder"
 | 
			
		||||
 | 
			
		||||
# Services start-ups and shut-downs
 | 
			
		||||
 | 
			
		||||
alias mysql-start="mysql.server start"
 | 
			
		||||
alias mysql-stop="mysql.server stop"
 | 
			
		||||
alias mysql-restart="mysql.server restart"
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										15
									
								
								zsh/chmod_help.zsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								zsh/chmod_help.zsh
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,15 @@
 | 
			
		||||
# I'm just unable to remember this shit
 | 
			
		||||
# Taken from http://www.analysisandsolutions.com/code/chmod.htm
 | 
			
		||||
 | 
			
		||||
alias chmod-help='echo "\
 | 
			
		||||
+---+-----+-------------------------+
 | 
			
		||||
| 0 | --- | no access               |
 | 
			
		||||
| 1 | --x | only execute            |
 | 
			
		||||
| 2 | -w- | only write              |
 | 
			
		||||
| 3 | -wx | write and execute       |
 | 
			
		||||
| 4 | r-- | only read               |
 | 
			
		||||
| 5 | r-x | read and execute        |
 | 
			
		||||
| 6 | rw- | read and write          |
 | 
			
		||||
| 7 | rwx | read, write and execute |
 | 
			
		||||
+---+-----+-------------------------+\
 | 
			
		||||
"'
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user