Linux uses the PWD command to view the full path of the current working directory. Simply put, every time you operate on a terminal, you have a current working directory.
When you are unsure of the current position, you use PWD to determine the
background:The database audit platform for Group self-research has implemented the ability to pull Oracle database performance reports in a single click in a Windows environment.Recently received the small task of the Audit platform development: The
Dbproxy account is unified, that is, connect dbproxy, connect the main MySQL, the connection from the MySQL account must be the same, in order to isolate the use of dbproxy people do not perceive MySQL, need to separateConfiguration
It is meaningless to simply execute $ CD 'dirname $ 0' in the command line state. Because it returns "." of the current path ".".
This command works only when it is written in a script file. It returns the directory where the script file is stored
In Linux, it is estimated that you often use the PWD command, which is to print the current working path, that isPRINTWOrkingDIrectroy, today we also come to the C language to implement this command.To implement this function, you need to use the
1. Directory Operations:(1) CD (Switch directory)CD ~ Back to home directoryCD Back to home directoryCd.. Back to top directoryCD-Go back to the directory just nowCd/var/spool/mail Absolute PathCd.. /mqueue relative Path (written by/var/spool/mail
Today's command parameters are relatively simple, so I want to learn more. The clear command is used to clear the screen. Ctrl + L has the same effect. The pwd (printworkingdirectory) command displays the current directory (absolute path ). The
ObjectiveStarting from this article, each article will write 10 Linux commands, the personal writing idea is:1, the Common Linux command, those rare, not commonly used will not write2, from the actual consideration, only lists the common usage and
ObjectiveStarting from this article, each article will write 10 Linux commands, the personal writing idea is:1, the Common Linux command, those rare, not commonly used will not write2, from the actual consideration, only lists the common usage and
Today's command parameters are relatively simple, so I want to learn more. The clear command is used to clear the screen. Ctrl + L has the same effect. The pwd (print working directory) command displays the current directory (absolute path ). The
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.