Hot answers tagged

5 votes

Put a specific file in every Unix user's home directory when they're created and added to a particular group

You can do this by creating specific script to add new users. As Solaris offer a lot of options to useradd I will provide just example: #!/bin/bash # use format <script> <username> <...
user avatar
  • 14.1k
1 vote
Accepted

Remove/move files in a directory with filename filter

Use a wildcard mv 1660649147?????????.jpg frames2/ Depending on whether or not you mean to include the upper limit, maybe also mv 1660649148000000000.jpg frames2/ If there are too many files for the ...
user avatar
  • 91.9k

Only top scored, non community-wiki answers of a minimum length are eligible