ubuntuforums-unanswered team mailing list archive
-
ubuntuforums-unanswered team
-
Mailing list archive
-
Message #01946
[Question #76733]: Can you make a 3 line command into 1
New question #76733 on Ubuntu:
https://answers.launchpad.net/ubuntu/+question/76733
what i want to do is make i 3 line command in to 1 ei
sudo chmod 755 /usr/bin/firefox Let users run fire fox
firefox %u Run fire fox
sudo chmod 754 /usr/bin/firefox Dont let users run fire fox
i tried
sudo chmod 755 /usr/bin/firefox&&firefox %u&&sudo chmod 754 /usr/bin/firefox
sudo chmod 755 /usr/bin/firefox && firefox %u && sudo chmod 754 /usr/bin/firefox
sudo chmod 755 /usr/bin/firefox&firefox %u&sudo chmod 754 /usr/bin/firefox
sudo chmod 755 /usr/bin/firefox & firefox %u & sudo chmod 754 /usr/bin/firefox
sudo chmod 755 /usr/bin/firefoxlfirefox %ulsudo chmod 754 /usr/bin/firefox
and nothing please help
--
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.