26 | | [tulaneID@cypress1 ~]$ cd NextDirectoryDown |
27 | | [tulaneID@cypress1 NextDirectoryDown]$ pwd |
28 | | /home/tulaneID/NextDirectoryDown |
29 | | [tulaneID@cypress1 NextDirectoryDown]$ |
30 | | }}} |
31 | | |
32 | | As you can see, !NextDirectoryDown is a ''subdirectory'' of tulaneID. And tulaneID is itself a subdirectory of home, which is a subdirectory of the root directory (/). Thus, the directories form a downward facing tree with all directories stemming from the root directory. You can move one level up in the tree by typing '''cd ..'' |
33 | | |
34 | | {{{ |
35 | | [tulaneID@cypress1 NextDirectoryDown]$ pwd |
36 | | /home/tulaneID/NextDirectoryDown |
37 | | [tulaneID@cypress1 NextDirectoryDown]$ cd .. |
| 36 | [tulaneID@cypress1 ~]$ cd workshop |
| 37 | [tulaneID@cypress1 workshop]$ pwd |
| 38 | /home/tulaneID/workshop |
| 39 | [tulaneID@cypress1 workshop]$ |
| 40 | }}} |
| 41 | |
| 42 | As you can see, workshop is a ''subdirectory'' of tulaneID. And tulaneID is itself a subdirectory of home, which is a subdirectory of the root directory (/). Thus, the directories form a downward facing tree with all directories stemming from the root directory. You can move one level up in the tree by typing '''cd ..'' |
| 43 | |
| 44 | {{{ |
| 45 | [tulaneID@cypress1 workshop]$ pwd |
| 46 | /home/tulaneID/workshop |
| 47 | [tulaneID@cypress1 workshop]$ cd .. |
82 | | [tulaneID@cypress1 ~]$ ls -l |
83 | | total 0 |
84 | | -rw-r--r-- 1 tulaneID MyGroup 0 Aug 14 10:57 a.out |
85 | | -rw-r--r-- 1 tulaneID MyGroup 0 Aug 14 10:57 code.c |
86 | | -rw-r--r-- 1 tulaneID MyGroup 0 Aug 14 10:57 Makefile |
| 94 | [tulaneID@cypress1 ~]$ ls -l workshop |
| 95 | total 100 |
| 96 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 BlasLapack |
| 97 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 CUDA |
| 98 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 Eigen3 |
| 99 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 FlowInCavity |
| 100 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 HeatMass |
| 101 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 hybridTest |
| 102 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 14:23 JobArray1 |
| 103 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 14:42 JobArray2 |
| 104 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 15:20 JobDependencies |
| 105 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 Matlab |
| 106 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 MPI |
| 107 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 OpenMP |
| 108 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 PETSc |
| 109 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 PI |
| 110 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 precision |
| 111 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 PSE |
| 112 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:15 Python |
| 113 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 R |
| 114 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 ScaLapack |
| 115 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:45 SerialJob |
| 116 | drwxr-xr-x 9 fuji hpcstaff 4096 Aug 21 13:06 SimpleExample |
| 117 | drwxr-xr-x 5 fuji hpcstaff 4096 Aug 21 13:06 SLU40 |
| 118 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 TestCodes |
| 119 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 uBLAS |
| 120 | drwxr-xr-x 3 fuji hpcstaff 4096 Aug 21 13:06 VTK |
109 | | [tulaneID@cypress1 ~]$ rm -ri testdir |
110 | | rm: descend into directory `testdir'? y |
111 | | rm: remove regular empty file `testdir/Makefile'? y |
112 | | rm: remove regular empty file `testdir/code.c'? y |
113 | | rm: remove regular empty file `testdir/a.out'? y |
114 | | rm: remove directory `testdir'? y |
115 | | [tulaneID@cypress1 ~]$ |
116 | | }}} |
| 143 | [tulaneID@cypress1 ~]$ rm -ri workshop |
| 144 | rm: descend into directory `workshop'? y |
| 145 | rm: descend into directory `workshop/PI'? y |
| 146 | rm: descend into directory `workshop/PI'? n |
| 147 | rm: descend into directory `workshop/uBLAS'? ^C |
| 148 | [tulaneID@cypress1 ~]$ |
| 149 | }}} |
| 150 | ctrl+c to exit. |
| 151 | |