Unix tools: what if a file is named minus something?
Let’s learn unix tools: what if a file is named minus something. The most accurate or helpful solution is served by Super User.
There are ten answers to this question.
Best solution
I'm always wondering: most GNU/Unix tools take options in the form "minus something", sometimes followed by an argument. What if you got a file named minus something? $ ls -f $ rm -f $ ls -f $ mv -f abc mv: missing destination file operand after `abc' Try `mv --help' for more information. $ cat -f cat: invalid option -- 'f' Try `cat --help' for more information. or $ ls -ohello.c $ gcc -ohello -ohello.c gcc: fatal error: no input files compilation terminated. This is just out of curiosity...
eepp at Super User Mark as irrelevant Undo
Other solutions
I am looking for the name of the unix utility to segment a larger file in byte length chunks (10k, 100k, etc.) with output files named something on the order of aa, ab,... or aaa, aab,... I've used it in the recent past but cannot recall what the name...
Unix_Question at Yahoo! Answers Mark as irrelevant Undo
I know in perl you just put .pl (filename.pl) at the end of the file you named, and to run the that you just type perl filename.pl. In unix I being told its something like #!/bin/sh? Where does this go? Does this mean I make the file with #!/bin/sh in...
Answer:
that is accessed with the shell in UNIX. Here is some basic commands: cal This command will print a...
Tim4545 at Yahoo! Answers Mark as irrelevant Undo
I know how to write a python program which takes command line arguments and does something with them. And I know how to use python setup tools to create a python installer. But are there any good tutorials that will take me (without using setup tools...
Answer:
If you're going the .deb route, you should look for a tutorial on how to create a .deb. Dependency checks...
Akbar S. Ahmed at Quora Mark as irrelevant Undo
Distance.java:8: class distanceFormula is public, should be declared in a file named Something.java public class Something{
Xz at Yahoo! Answers Mark as irrelevant Undo
At my Pretty Big company, I run a large Unix-based system that does Something Important, and we need to find someone to help me, and ultimately to take over running of the system. My two challenges right now are A) how to describe what I need to the...
Answer:
Yeah, this is a junior with communications skills (bedside manner) and command line proficiency.
intermod at Ask.Metafilter.Com Mark as irrelevant Undo
1.Pacing of the story was horrible. It felt like watching a 3-hour long trailer where dialogue is delivered at a snap pace and given no time to sink in. 2. Despite this fast pace to get all this story crammed in there are at least a good 5-10 minutes...
Answer:
I got to 30 of the 99 problems with the film. And then it dawned on me... its a movie! Im surprised...
Ahmad Ismail at Quora Mark as irrelevant Undo
Hello MeFi peoples, I am trying to find the tool or tools to run my sustainable business consulting practice, which I started in August, and I've been going a bit nuts with too many choices. I've been looking all over, and am getting near hits, but all...
Answer:
ActiveCollab is an open-source, self-hosted basecamp clone, except without 37Signals standing there...
healthyliving at Ask.Metafilter.Com Mark as irrelevant Undo
I'm returning a work laptop and want to delete a personal email profile, including all the emails. First I want to back it up. Since I can't restore anywhere first, I want to be completely certain I have something I can restore. I have two profiles:...
Answer:
Found it myself: "Mail is stored by default within the profile. If you re-configured Thunderbird...
lockedroomguy at Ask.Metafilter.Com Mark as irrelevant Undo
I am interested to find a lightweight View Source editor that I can invoke from IE using the View --> Source command, or the right-click context menu. Constraints: :: must have syntax coloring :: syntax coloring must be configurable :: must be lightweight...
Answer:
Hello, font9a: This question reminds me a problem I had some time ago, so my answer is based on my own...
font9a-ga at Google Answers Mark as irrelevant Undo
Related Q & A:
- What is a C header file?Best solution by Yahoo! Answers
- What is the maximum size of a file we can send from Yahoo?Best solution by Yahoo! Answers
- What are the best tools to analyze a competitor's website?Best solution by Quora
- What does a Unix System Administrator do?Best solution by eHow old
- What do I do if I purchased something from a fake website?Best solution by babyandbump.momtastic.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.