Display the full path of files using ls Posted on 22 October 2015 by kosmas Reply emailFacebookTwitterLinkedinProblem You want to display the full path of files using ls, perhaps to use it as an input to a different command (ie rm). Solution You can use the following: ls -d -1 /path/with/files/*.* 1 ls -d -1 /path/with/files/*.* Taken from: here.
Run a single Minitest test case Posted on 12 October 2015 by kosmas Reply emailFacebookTwitterLinkedinProblem You only want to run a single Minitest test instead of running the whole suit. Solution You can run the following to run your single Minitest: rake test TEST=path/to_your/minitest.rb 1 rake test TEST=path/to_your/minitest.rb Thanks to the post here