Erlang – file_size
In this guide, we will discuss Erlang file_size. This method is used to determine the size of the file. This method is part of the filelib library. Syntax file_size(filename) Parameters filename − This…
In this guide, we will discuss Erlang file_size. This method is used to determine the size of the file. This method is part of the filelib library. Syntax file_size(filename) Parameters filename − This…
In this guide, we will discuss Erlang rename. This method is used to rename an existing file. Syntax rename(oldfilename,newfilename) Parameters oldfilename − This is the original file name.newfilename − This is the…
In this guide, we will discuss Erlang make_dir. This method is used to create a new directory. Syntax make_dir(directory) Parameters directory − This is the name of the directory which needs…
In this guide, we will discuss Erlang list_dir. This method is used to list down the contents of a particular directory. Syntax list_dir(directory) Parameters directory − The directory for which the…
In this guide, we will discuss Erlang delete. This method is used to delete an existing file. Syntax delete(filename) Parameters filename − The name and destination of the file which needs…
In this guide, we will discuss Erlang copy. This method is used to make a copy of an existing file. Syntax copy(source,destination) Parameters Source − The name of the source file…
In this guide, we will discuss Erlang write. This method is used to write the contents to a file. Syntax write(FileHandler,text) Parameters FileHandler − This is the handle to a file.…
In this guide, we will discuss Erlang file_read. There is a method available to allow the reading of all the contents of a file at one time. This is done…
In this guide, we will discuss Erlang File I/O. Erlang provides a number of methods when working with I/O. It has easier classes to provide the following functionalities for files…
In this guide, we will discuss erlang sum. Returns the sum of elements in the list. Syntax sum(lst) Parameters Lst − The list of elements. Return Value Returns the sum of…