```ruby
def silent_system(cmd)
  silent_cmd = cmd + " 2>&1 > /dev/null"
  system(silent_cmd)
end
```

Reorder shell direction so 2 is actually appended to 1
user
```ruby
def silent_system(cmd)
  silent_cmd = cmd + " > /dev/null 2>&1"
  system(silent_cmd)
end
```
assistant