|
Bugzilla – Full Text Bug Listing |
| Summary: | which command does not find cd command | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Distribution | Reporter: | Forgotten User SpTvqxsYZX <forgotten_SpTvqxsYZX> |
| Component: | Basesystem | Assignee: | E-mail List <bnc-team-screening> |
| Status: | RESOLVED INVALID | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | bwiedemann |
| Version: | Leap 42.1 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
|
Description
Forgotten User SpTvqxsYZX
2015-12-05 01:25:16 UTC
There is no "cd" binary because changing directory only affects the running process Thus "sudo cd" does not make sense. Instead you probably want to do something like sudo bash -c "cd /root ; ls" or su - root -c "cd /root ; ls" |