Answers for "create a file in a specific directory bash"

0

create a file in a specific directory

# create a text file for writing
with open(r'E:pynativereportsprofit.txt', 'w') as fp:
    fp.write('This is first line')
    pass
Posted by: Guest on August-21-2021
0

with which command make file and directory in linux

$ ls -FR thesis
chapter_1/

thesis/chapter_1:
section_1/

thesis/chapter_1/section_1:
subsection_1/

thesis/chapter_1/section_1/subsection_1:
Posted by: Guest on January-17-2021

Code answers related to "create a file in a specific directory bash"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language