remove file, if i presents filename in shell [on hold]remove new linesPrint file contents and delete the printed content* from the fileShell Script: Use “find” to execute shell a command that contains “filename”(without extension) returned from “find”Shell script for logrotatingHow to remove a line from a tag in shell script?Linux shell script delete specific contents in fileReplace part of filename by directory nameDelete lines from a fileremove path “/” from file nameDelete file which matches a pattern using linux command
How can a function with a hole (removable discontinuity) equal a function with no hole?
What is the best translation for "slot" in the context of multiplayer video games?
How to write papers efficiently when English isn't my first language?
Purchasing a ticket for someone else in another country?
Are student evaluations of teaching assistants read by others in the faculty?
Pole-zeros of a real-valued causal FIR system
Is there a good way to store credentials outside of a password manager?
What can we do to stop prior company from asking us questions?
How do I go from 300 unfinished/half written blog posts, to published posts?
Closest Prime Number
Is exact Kanji stroke length important?
Detecting if an element is found inside a container
How to draw lines on a tikz-cd diagram
Why are there no referendums in the US?
Proof of work - lottery approach
Escape a backup date in a file name
Applicability of Single Responsibility Principle
What does "I’d sit this one out, Cap," imply or mean in the context?
Is expanding the research of a group into machine learning as a PhD student risky?
Customer Requests (Sometimes) Drive Me Bonkers!
Large drywall patch supports
How does it work when somebody invests in my business?
Risk of infection at the gym?
What is the opposite of 'gravitas'?
remove file, if i presents filename in shell [on hold]
remove new linesPrint file contents and delete the printed content* from the fileShell Script: Use “find” to execute shell a command that contains “filename”(without extension) returned from “find”Shell script for logrotatingHow to remove a line from a tag in shell script?Linux shell script delete specific contents in fileReplace part of filename by directory nameDelete lines from a fileremove path “/” from file nameDelete file which matches a pattern using linux command
If I present in shell, like ./a -f text1,
then text1 will be removed.
a is a directory name
-f if option of delete ( in a )
text1 is file in home directory
so I want to make some code in a (Directory) to make a delete program.
linux shell-script
New contributor
user343703 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as unclear what you're asking by αғsнιη, Kusalananda♦, nwildner, X Tian, Anthony Geoghegan yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
If I present in shell, like ./a -f text1,
then text1 will be removed.
a is a directory name
-f if option of delete ( in a )
text1 is file in home directory
so I want to make some code in a (Directory) to make a delete program.
linux shell-script
New contributor
user343703 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as unclear what you're asking by αғsнιη, Kusalananda♦, nwildner, X Tian, Anthony Geoghegan yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
6
I'm sorry but this is very hard to understand. Please edit your question and add an example of what you want. You might also want to try using a service like google translate to help you translate from your language.
– terdon♦
yesterday
2
also take a look at theformatting tool button; it formats code separately so that it's in a different font and is not mangled by any HTML translation.
– Jeff Schaller♦
yesterday
1
Show us what you want to type, and show us what you want to happen, then show us what you have tried.
– ctrl-alt-delor
yesterday
2
If I understand you correct, then you can't have the command you want: You cant do«directory» «option» «file». You have to do«command» «arguments»where arguments is a list of words (file names, options, directory-names, etc).
– ctrl-alt-delor
yesterday
add a comment |
If I present in shell, like ./a -f text1,
then text1 will be removed.
a is a directory name
-f if option of delete ( in a )
text1 is file in home directory
so I want to make some code in a (Directory) to make a delete program.
linux shell-script
New contributor
user343703 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
If I present in shell, like ./a -f text1,
then text1 will be removed.
a is a directory name
-f if option of delete ( in a )
text1 is file in home directory
so I want to make some code in a (Directory) to make a delete program.
linux shell-script
linux shell-script
New contributor
user343703 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user343703 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited yesterday
ctrl-alt-delor
12.1k42561
12.1k42561
New contributor
user343703 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked yesterday
user343703user343703
1
1
New contributor
user343703 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
user343703 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
user343703 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
put on hold as unclear what you're asking by αғsнιη, Kusalananda♦, nwildner, X Tian, Anthony Geoghegan yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
put on hold as unclear what you're asking by αғsнιη, Kusalananda♦, nwildner, X Tian, Anthony Geoghegan yesterday
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
6
I'm sorry but this is very hard to understand. Please edit your question and add an example of what you want. You might also want to try using a service like google translate to help you translate from your language.
– terdon♦
yesterday
2
also take a look at theformatting tool button; it formats code separately so that it's in a different font and is not mangled by any HTML translation.
– Jeff Schaller♦
yesterday
1
Show us what you want to type, and show us what you want to happen, then show us what you have tried.
– ctrl-alt-delor
yesterday
2
If I understand you correct, then you can't have the command you want: You cant do«directory» «option» «file». You have to do«command» «arguments»where arguments is a list of words (file names, options, directory-names, etc).
– ctrl-alt-delor
yesterday
add a comment |
6
I'm sorry but this is very hard to understand. Please edit your question and add an example of what you want. You might also want to try using a service like google translate to help you translate from your language.
– terdon♦
yesterday
2
also take a look at theformatting tool button; it formats code separately so that it's in a different font and is not mangled by any HTML translation.
– Jeff Schaller♦
yesterday
1
Show us what you want to type, and show us what you want to happen, then show us what you have tried.
– ctrl-alt-delor
yesterday
2
If I understand you correct, then you can't have the command you want: You cant do«directory» «option» «file». You have to do«command» «arguments»where arguments is a list of words (file names, options, directory-names, etc).
– ctrl-alt-delor
yesterday
6
6
I'm sorry but this is very hard to understand. Please edit your question and add an example of what you want. You might also want to try using a service like google translate to help you translate from your language.
– terdon♦
yesterday
I'm sorry but this is very hard to understand. Please edit your question and add an example of what you want. You might also want to try using a service like google translate to help you translate from your language.
– terdon♦
yesterday
2
2
also take a look at the
formatting tool button; it formats code separately so that it's in a different font and is not mangled by any HTML translation.– Jeff Schaller♦
yesterday
also take a look at the
formatting tool button; it formats code separately so that it's in a different font and is not mangled by any HTML translation.– Jeff Schaller♦
yesterday
1
1
Show us what you want to type, and show us what you want to happen, then show us what you have tried.
– ctrl-alt-delor
yesterday
Show us what you want to type, and show us what you want to happen, then show us what you have tried.
– ctrl-alt-delor
yesterday
2
2
If I understand you correct, then you can't have the command you want: You cant do
«directory» «option» «file». You have to do «command» «arguments» where arguments is a list of words (file names, options, directory-names, etc).– ctrl-alt-delor
yesterday
If I understand you correct, then you can't have the command you want: You cant do
«directory» «option» «file». You have to do «command» «arguments» where arguments is a list of words (file names, options, directory-names, etc).– ctrl-alt-delor
yesterday
add a comment |
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
-linux, shell-script
6
I'm sorry but this is very hard to understand. Please edit your question and add an example of what you want. You might also want to try using a service like google translate to help you translate from your language.
– terdon♦
yesterday
2
also take a look at the
formatting tool button; it formats code separately so that it's in a different font and is not mangled by any HTML translation.– Jeff Schaller♦
yesterday
1
Show us what you want to type, and show us what you want to happen, then show us what you have tried.
– ctrl-alt-delor
yesterday
2
If I understand you correct, then you can't have the command you want: You cant do
«directory» «option» «file». You have to do«command» «arguments»where arguments is a list of words (file names, options, directory-names, etc).– ctrl-alt-delor
yesterday