Getting the working directory
Files / Basic operations
Checking whether a file exists
Deleting a file
Copying a file
Moving a file
Getting file properties
Getting the working directory
Creating a directory
Deleting a directory
Deleting a non-empty directory
Copying a directory
Listing files in a directory
Joining path components
path <-
getwd
()
# path = /tmp/work
cat
(
"path ="
, path,
"\n"
)
Languages
Python
C
C++
Java
C#
JavaScript
Rust
Delphi
PHP
Ruby
Swift
Kotlin
Lua
TypeScript
Clojure
Bash
Objective-C