AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Mac command line cheat sheet4/11/2023 ![]() ![]() Options include -l, -a, -t which may be combined e.g. List the names of files and subfolders in the current directory. Doc?.docx can refer to Doc1.docx, DocA.docx, etc. Wildcard symbol referring to a single character, e.g. *.txt refers to all files with the TXT extension. Wildcard symbol for variable length, e.g. ![]() file*.txt, or the stream output of a piped command (in which case the syntax would be X | command instead of command X) Y is a single directory A and B are path strings of files/directories. In the following commands: X may refer to a single file, a string containing a wildcard symbol referring to a set of multiple files e.g. Hence there are only 4 lines in the standard input delimited by EOF. | is the pipe character feeds the output of the command cmd1 and sends it to the command cmd2, e.g. Commandĭisplay a line of TEXT or the contents of a variable.Īlso interprets escape characters in TEXT, e.g. These are helpful for logging program output and error messages. Show the current date and time of the machine. Show calendar where the current date is highlighted. ![]() Superuser use this before a command that requires root access e.g. Show how long the system is running and load information.ĭisplay what users are online and what they are doing. Kernel release information, such as kernel version These provide information about your Unix machine. With these commands, you can obtain critical information about your Unix machine and perform key operations.
0 Comments
Read More
Leave a Reply. |