My linux command

A memorandum for myself.

I'm studying Linux commands, so I'll take a note. Note that the memo command is only the basics of the basics.

Tools used for practice

Use Cygwin. Please refer to here for the installation method.

Normally, it seems to be a tool that can be manipulated on the Linux screen (screen like that command prompt) where the folder is GUIed with Explorer.


Command list

I referred to this page.

Folder operation system

Move current directory

cd Example: $ cd C:

List the contents of the current directory

ls Example: $ ls

Move files / folders

mv Example: $ mv targetFolder C: / destinatedpath

Copy files and folders

cp Example: $ cp targetFolder C: / destinatedPath

--Option ---rp: Copy all folders and files under the copy target folder

Clean the screen

clear Example: $ clear

Create a folder

mkdir Example: $ mkdir FolderName

Create file

touch Example: $ touch file.txt

Delete empty folder

remdir Example: $ rmdir target Folder

Delete files and folders

rr Example: $ rm target.txt

Display your current location

pwd Example: $ pwd

Search file

find Example: $ find -name target.txt

View file contents

cat Example: $ cat target.txt

Operation system

Display command history.

history Example: $ history

System management system

Show free memory / used memory

Example: free

Recommended Posts

My linux command
Linux command # 3
Linux command # 5
Linux command list
linux at command
[Linux] Search command
Linux command <Basic 2>
Linux [directory command]
Linux server command
Linux # Command Memo 1
Linux command [read]
Linux [shell command]
[Linux] Command / Knowledge
Linux command <Basic 1>
Linux command collection
Linux mkdir command
Linux command basics
[Linux] Git command
Linux (command memory)
[Linux] Volume configuration command
Linux command cheat sheet
Linux command (sequential update)
Linux basic command memorandum
Linux command [File operation]
Linux command for self-collection
linux command error collection 1
Linux command line shortcut
linux sar command CPU usage
What is Linux? [Command list]
Easy df command on Linux
Linux tar xz command memo
Linux Command Dictionary (for myself)
linux: create original Terminal command
[Note] Useful linux command collection
Linux command memorandum [for beginners]
Linux PC spec check command
[Linux] User / group command summary
[Infrastructure] Linux command, shell script collection
[Linux] OS recovery with restore command
Completion of docker command on Linux
[Linux convenient command] Try inserting csview
Permission and ownership change command [Linux]
LINUX command [wc edition] Usage example
Linux command [ldconfig] LPIC learning memo
[linux] kill command to kill the process
Linux command 16 procedure manual folder (completed)
Linux command (basic in basic) personal memo
I installed Linux on my Mac
How to build my own Linux server
linux memorandum
Linux commands
Linux commands
Linux overview
Command memorandum
direnv (linux)
nkf command
command prompt
linux commands
Linux practice
[Linux command summary] Command list [Must-see for beginners]
[linux] Command notes that you often forget