kill - is a command that kills a hung process or sends a signal to it.
The load on the processor, the size of the memory involved, the time, etc.
top - lists the main processes involved and constantly updated information about them.
ps -ax - shows a list of all processes.
ps -x - command, issuing in the terminal a list of processes of the current user.
du - shows a list of all folders available on your system partition.
df - is a simple command that will show you the amount of your disk space, including network drives.
In principle, sometimes it is enough just to make a “right click” on the Terminal window and select Clear Scrollback from the context menu.
clear - clears Mac Command line screen.
rm -R new - remove the new directory with all its contents.
rm -R - directory name if you want to delete a directory with a content.
rmdir - allows removing the specified directory.
rm - allows deleting the specified file.
For example, to you create a new directory called “New”, type the following command in Mac Command line: mkdir new Note that, the command is rather case-sensitive, and if some files have the capital K at the beginning, and you typed the usual k, you simply won't see them.
If you want to list only files starting with a particular letter.
ls -lo - in addition to listing existing files, also shows their access rights and the date they were created.
ls -a - lists all files, including hidden ones.
ls -f - shows files with their extension.
ls - lists the file names in the specified directory.
allows you to go up to the higher directory.
cd - allows you to return to the previous directory.
For example, if you decide to go to the directory where your documents are located, the following command will look like this: cd ~ / Documents
Show bluetooth mac in terminal emulator android commands manual#
In order to read the manual for any command and find out what it does, as well as what parameters it has, you need to type man command_name.Ĭd ~ helps you to navigate through various directories.
If you mess up when typing commands in Command line Mac OS, try pressing Control + C, this combination stops the current command as well as closes it.
If you enter two exclamation marks !! and press enter, the last command entered will be executed.
Show bluetooth mac in terminal emulator android commands full#
The full history is stored in the file ~ /. If you continue pressing the up key ↑, you will go through the history of the commands you have executed.
Show bluetooth mac in terminal emulator android commands mac os#
If you press the up key ↑ in the Mac OS Command line, the last command you entered will be displayed.
This function works similarly to autocomplete commands.
Use autocomplete also for names and paths to files and directories.
If there are several commands that start with the characters you have entered, then pressing Tab twice will display all these commands as a hint. For example, you can enter only the first letters of a command and press the Tab, after which the missing letters of the command will be added automatically.