![]() ![]() On Linux the current directory is represented by a single dot (. relative pathname for cd command in Linux Understanding. cd /etc/httpd/) or as local pathname relative to the root directory (e.g. The name can be written as an absolute pathname (e.g. The cd command changes the current directory when a directory name provided by the user. Let us go back to user’s home directory, run: Want to list the files in the /usb/sbin/ directory? Try the ls command: ![]() Let us change the directory to /usr/sbin/, run: When cd command used without stipulating any directory name, cd command returns to the home directory. ![]() ![]() To display the name of the current/working directory, type the following pwd command: Join Patreon ➔ How to print the current working directory in Linux How to protect Linux against rogue USB devices using USBGuard.A podman tutorial for beginners – part I (run Linux containers without Docker and in daemonless mode).How to set up Mariadb Galera cluster on Ubuntu or Debian Linux.How To Set Up SSH Keys With YubiKey as two-factor authentication (U2F/FIDO2).How to set up Redis sentinel cluster on Ubuntu or Debian Linux.Join my Patreon to support independent content creators and start reading latest guides:.In-depth guides for developers and sysadmins at Opensourceflare✨. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |