Skip to content

Why cant I get mv to rename and copy file?

The last thing I want to do in this script is take the userinput to rename the corresponding files to include .bak extension rather then .txt which will copy into a backup directory. I keep receiving an error messaging saying e.g. The snippet in question (right at the bottom of full code): Full code: Answer T…

Linux using date Command to subset files then count the files

I am using linux verison CentOS Linux 7 (Core). I have files that look like this: NameofArea_year_dayofyear_input For example: SanAntonio_2021_186_input I would like to count how many files there are on yesterdays date. For example this works and counts my files I am trying to make -name flag in find use the …

Why `which pushd` doesn’t return anything? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about programming within the scope defined in the help center. Closed 1 year ago. Improve this question My understanding is that all commands in linux must exist on the $PA…

how to kill bottom n procceses in linux [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …