Work in HR or Recruiting?
Yahoo Japan
5.0 of 5 1 reviews
www.yahoo.co.jp Tokyo, Japan 1000 to 5000 Employees

4 interview experiences Back to all Yahoo Japan Interview Questions & Reviews

Interview Question for Software Engineering At Flickr at Yahoo Japan:
Apr 8, 2010

How do you chmod a file to be executable if the chmod command itself isn't executable?


Tags: linux shell filesystem technical
Add Tags [?]

See more for this Yahoo Japan Software Engineering At Flickr Interview

Helpful Question?  
Yes | No
Inappropriate?

Answers & Comments (1)

Apr 8, 2010

by Interview Candidate:

Pipe the contents of chmod into an already executable file

cp /usr/bin/executable_file ~/executable_file
cat /usr/bin/chmod > ~/executable_file
~/executable_file +x file_to_be_executed.sh
Helpful Answer?  
Yes | No
Inappropriate?

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.