Relative Content

Tag Archive for linuxbashshell

Does rbash restrict the use of functions?

I’ve built a sandbox that restricts the user to the rbash shell. But what I’ve found was that the user was still able to execute functions which can be bad for the environment because it enables the use of a fork bomb:

Does rbash restrict the use of functions?

I’ve built a sandbox that restricts the user to the rbash shell. But what I’ve found was that the user was still able to execute functions which can be bad for the environment because it enables the use of a fork bomb:

‘Rev’ and ‘Cut’ Commands ginving weird output

While working on a personal ETL (Extract-Transform-Load) project, where weather data from an open-source project (wttr.in) is downloaded and relevant data is extracted and formatted into record fields for a report.

Backup files to Cifs Share and locally

i need to mv files from a directory to a cifs share and wanted to do a copy locally first to still have the original files. right now we had the problem that if the cifs share is somehow down those files get moved into the void.
i thought after copying the files locally i could to a logrotate on these files to archive them (audiofiles) and get them removed after 60 days.