Last active
November 12, 2020 01:42
-
-
Save StuffbyYuki/b85862d077e744bd18483f291d6980ba to your computer and use it in GitHub Desktop.
List of some linux commends
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # move to a different directory | |
| cd <yourDirectory> | |
| # show what's in the current directory | |
| ls | |
| # show what's in the current directory with more details | |
| ls -l | |
| # show what's in the current directory with more details - pretty much the same as above but show hidden files | |
| ls -al | |
| # make a new directory | |
| mkdir <newDirectoryName> | |
| # create a compressed tarball file. use this from the parent directory | |
| tar -czf <fileNameYouMake>.tar.gz <directoryName> | |
| # download file from the remote server to your local computer | |
| scp <yourRemoteServer>:<remoteFilePath> <localDirectoryToCopyFileInto> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment