PBA changes: Linux
This commit is contained in:
parent
2b9d54408a
commit
15ac77056a
|
@ -6,7 +6,8 @@ def get_linux_commands_to_hide_files():
|
|||
return [
|
||||
'touch', # create file
|
||||
HIDDEN_FILE,
|
||||
'; echo \"Successfully created hidden file\" >', # write to
|
||||
'; echo \"Successfully created hidden file: {}\" |'.format(HIDDEN_FILE), # output
|
||||
'tee -a', # and write to file
|
||||
HIDDEN_FILE
|
||||
]
|
||||
|
||||
|
@ -17,7 +18,8 @@ def get_linux_commands_to_hide_folders():
|
|||
HIDDEN_FOLDER,
|
||||
'; touch', # create file
|
||||
'{}/{}'.format(HIDDEN_FOLDER, 'some-file'), # random file in hidden folder
|
||||
'; echo \"Successfully created hidden folder\" >', # write to
|
||||
'; echo \"Successfully created hidden folder: {}\" |'.format(HIDDEN_FOLDER), # output
|
||||
'tee -a', # and write to file
|
||||
'{}/{}'.format(HIDDEN_FOLDER, 'some-file') # random file in hidden folder
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue