![]() The above example will copy all of the files in the current directory to the directory called satire. The wildcard * selects all of the files in the current directory. Here, we copy the file ada_lovelace.txt and place it in the historical/ directory Wildcards (*) $ cp * satire/ cp $ cp ada_lovelace.txt historical/Ĭp copies files or directories. Here, cd jan/memory/ command navigates directly to the jan/memory directory. To navigate directly to a directory, use cd with the directory’s path as an argument. ![]() cd $ cd Desktop/Ĭd takes a directory name as an argument, and switches into that directory. The alias command allows you to create keyboard shortcuts, or aliases, for commonly used commands. When a session starts, it will load the contents of the bash profile before executing commands. It is commonly called the “bash profile”. ~/.bash_profile is the name of file used to store environment settings. You can think of this as “command to command” redirection. ![]() The | takes the standard output of the command on the left, and pipes it as standard input to the command on the right. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |