Shell Access: Difference between revisions

No edit summary
No edit summary
Line 30: Line 30:


== how 2 use da shell ==
== how 2 use da shell ==
i dont k now.......
At this point you should be connected to pronounmail.com's shell, so you can now run wacky commands on the server!!
 
You can think of the shell as a really fucked up Start Menu. You can type the name of a program at the prompt and press enter, and the shell will attempt to locate and run it. Everything you type after the name of the program is an "argument", which you can use to tell the program what you want it to do. Take this command for example:
mkdir my_folder
This uses <code>mkdir</code> (short for "Make Directory" ("directory" is another word for "folder")) to create a folder called <code>my_folder</code>. In this example, <code>mkdir</code> is the name of the program and <code>my_folder</code> is the single argument.
 
== assorted tips ==
Lots of good information at [https://fishshell.com/docs/current/interactive.html https://fishshell.com/docs/current/]
 
* Press Ctrl+C to tell the currently running command to stop.
* Use Ctrl+W to delete the previous word
* To copy and paste things, use Ctrl+Shift+C/V (or Cmd+C/V on a mac).
* Press Tab to try and autocomplete a thing, keep pressing Tab for more autocompletions.
* Type the name of a command and press Alt+H to see helpful information about it
* Press the up or down arrow keys to go through your command history
 
== list of common commands ==
{| class="wikitable"
|+
!name of thing
!what it does
!example usage
|-
|touch
|Creates a file with no content
|
|-
|rm
|Deletes a file
|
|-
|cp
|Create a copy of a file
|
|-
|mv
|Move a file to a new location
|
|-
|mkdir
|Create a new directory (folder)
|
|-
|clear
|Clear the screen
|
|-
|ls
|List files in the current directory
|
|-
|cd
|Move into a directory
|
|}
[[Category:Pages with some amount of information in them]] [[Category:Pages that need things added to them]]
[[Category:Pages with some amount of information in them]] [[Category:Pages that need things added to them]]