7 creating files, 8 managing files, 9 managing directories – HP NonStop G-Series User Manual
Page 6
Introduction to Text Editors...................................................................................................90
Creating Sample Files With the vi Editor...............................................................................91
Listing Contents of the Current Directory................................................................................93
Listing Contents of Other Directories.....................................................................................94
Flags Used With the ls Command........................................................................................94
Sending Files to a Printer (lp)...............................................................................................99
Displaying Print Status (lpstat)..............................................................................................99
Canceling Print Jobs (cancel).............................................................................................100
Copying Files Within the Current Directory..........................................................................101
Copying Files From One Directory to Another Directory.........................................................101
Copying an Entire Directory..............................................................................................102
Comparing Files (diff)............................................................................................................104
Sorting File Contents (sort).....................................................................................................105
Removing Files (rm)...............................................................................................................106
Hard Links......................................................................................................................108
Symbolic Links.................................................................................................................108
Links and File Systems.......................................................................................................108
Using Links......................................................................................................................109
How Links Work—Understanding Filenames and inode-numbers............................................109
Removing Links................................................................................................................110
Creating a Directory (mkdir)...................................................................................................113
Changing Directories (cd)......................................................................................................114
6
Contents