IT/Software/Command Line: Difference between revisions

From msgwiki
< IT‎ | Software
Jump to navigation Jump to search
Access restrictions were established for this page. If you see this message, you have no access to this page.
No edit summary
Line 7: Line 7:
==Basic Commands==
==Basic Commands==


=== Changing Ownership ===
===Changing Ownership===
There are many ways to do this.  Half of them may be more clever.
There are many ways to do this.  Half of them may be more clever.
<code>sudo chown 777 /path/to/file</code>
<code>sudo chown 777 /path/to/file</code>


*or
OR
<code>/path/todirectory/</code>
 
<code>sudo chown 777 /path/to/directory/</code>
 
Adding the -R flag after the chown will recusre into directories and files.


=== Changing Permissions ===
===Changing Permissions===


==More modifiers==
==More modifiers==

Revision as of 13:40, 14 February 2020

Welcome to the dark world where most IT people live

  • This is a gui free world
    • If you don't know what a gui is please quietly close the page and go buy a slurpee
    • If you don't know what a slurpee is we feel sorry for you.

Basic Commands

Changing Ownership

There are many ways to do this. Half of them may be more clever.

sudo chown 777 /path/to/file

OR

sudo chown 777 /path/to/directory/

Adding the -R flag after the chown will recusre into directories and files.

Changing Permissions

More modifiers