Hello Friends ,
Please subscibe my youtube channel and also like my videos.
If you have any type of doubt then please put in the comment section .
cd Command (Change Directory):- The cd command is used to change the current working directory in the command-line interface. You can navigate to different directories by specifying the directory path as an argument.
Syntax: cd [directory].
Examples:
cd /path/to/directory: Change to the specified directory.
cd ..: Move up one directory (to the parent directory).
cd -: Change to your child directory.
cd ~: Change to your home directory.
cd: Change to your home directory (shortened form).
touch Command:- Description: The touch command is used to create empty files or update the access and modification timestamps of existing files. If the file doesn't exist, it will be created with the specified name.
Syntax: touch -options [filename]
Examples:
touch myfile.txt: Create an empty file named "myfile.txt" in the current directory.
touch file1.txt file2.txt: Create multiple empty files at once.
touch -c file.txt: Update the timestamp of an existing file without creating a new one (useful for changing access or modification times).
touch t YYYYMMDDHHMM.SS file.txt: custom time will be given to the cloudfile file.
touch d ‘Sat Apr 10 10:10:10 IST 2022’ file.txt: another way to set custom time.
On this page of the site you can watch the video online cd Command and touch Command in Linux (Full Detailed Information)| Linux Tutorials | Parsutech with a duration of hours minute second in good quality, which was uploaded by the user Parsu Tech 29 September 2023, share the link with friends and acquaintances, this video has already been watched 43 times on youtube and it was liked by like viewers. Enjoy your viewing!