Mkdir: Creates A Subdirectory (Equivalent Dos Command: Md); Rmdir: Deletes The Subdirectory Which Must Be Empty (Equivalent Dos Command: Rd); Rm: Deletes (Removes) The File Or Directory (Equivalent Dos Command: Delete); Cp: Copies One Or More Files (Equivalent Dos Command: Copy) - ICP DAS USA LP-22 Series User Manual

Hide thumbs Also See for LP-22 Series:
Table of Contents

Advertisement

3.1.3. mkdir: creates a subdirectory (Equivalent DOS Command: md)

Parameter
No error if the subdirectory exists, and creates the parent
-p
directories as needed
3.1.4. rmdir: deletes the subdirectory which must be empty (Equivalent DOS
Command: rd)
Parameter
Removes the specified DIRECTORY, then attempts to remove
-p
each parent directory component with the same path name
3.1.5. rm: deletes (removes) the file or directory (Equivalent DOS Command:
delete)
Parameter
–i
Displays a warning message before deleting
–r
Deletes the directory even if it isn't empty
–f
No warning message displayed when deleting

3.1.6. cp: copies one or more files (Equivalent DOS Command: copy)

Parameter
–R
Performs a recursive copy
–i
Displays a confirmation prompt before overwriting
-l
Links the files instead of copying them

3.1.7. mv: moves or renames a file or directory (Equivalent DOS Command: move)

Parameter
-f
Does not display a confirmation prompt before overwriting
–i
Displays a confirmation prompt before overwriting

3.1.8. pwd: displays the full path of the current working directory

3.1.9. who: displays a list of the users current logged on

AM335X-PAC Series User Manual
Copyright © 2019 ICP DAS Co., Ltd. All Rights Reserved.
Description
Description
Description
Description
Description
version 2.0.1
Example
mkdir -p directory
Example
rmdir -p directory
Example
rm –i test.exe
rm –r test.exe
rm -f test.exe
Example
cp -R test bak
cp –i test bak
cp –l test bak
Example
cp –f sour des
cp –i /sour /des
Page: 54
E-mail: service@icpdas.com

Advertisement

Table of Contents
loading

Table of Contents