unix tag

32 questions


3 answers
125 views
0
Understanding the Behavior of Cat Running on Bash (Linux)

If you use Bash on Cloud9 and type cat as shown in the attached image, proceed to the next line without any response.So even if you type -a, it's just a new line.When I pressed Enter, a blank line app...

2 years ago

2 answers
95 views
0
add a constant string to the end of the terminal command filename

This is a mac.The contents of a directory are as follows:1_X.jpg2.jpg3.jpg4_X.jpg5.jpg...The file name is always .jpg or _X.jpg.I would like to make all of these ***_X.jpg.In other words, I would like...

2 years ago

1 answers
98 views
0
Is there a way to check the contents of the .torrent file (not the way to open it)?

Is there a way to check the contents of the .torrent file (not the way to open it)?

2 years ago

1 answers
86 views
0
Even if I type $aaa on UNIX, -bash:aaa:command not found

-bash:aaa:command not found when typing $aa in the Getting Started UNIX shell programming.#!/bin/sht is the default setting?The operating system is a Mac.

2 years ago

1 answers
113 views
0
What command do you all use in the gdb debugger?

I just started gdb, but it's still very difficult.I don't know how it works.Can you tell me what other developers usually use?

2 years ago

1 answers
91 views
0
Is it ENOENT = "No Such file or directory"?

Nosuch file or directory is shortened to ENOFILEWhat does ENT stand for?

2 years ago

1 answers
116 views
0
tail -f ... | What if the log is not one line when tracking the log with grep?

tail -f mylog.log | grep some-keywordIt is possible to filter the log by pipe + grep in the same way as aboveThe problem is that this method does not filter the output of many lines, not one line, and...

2 years ago

2 answers
100 views
0
How to set relative paths by file, not by path criteria for entering commands?

The title is weird because I don't know it well.The result depends on where the command written in the shell script runs the script.For example:#!/bin/shpwdScripts like this home p parent ch Child te...


1 answers
116 views
0
Code to locate the C file currently running

How do I find the location (absolute path) of the C file currently running in the code?I want argv[0] to accept it, but he doesn't.

2 years ago

1 answers
96 views
0
This is a memcpy inquiry.

It is a program that receives two people from a file, checks each of them, and prints them out to the file.Class | Read files with name structure one line at a time.With the class number information o...

2 years ago
« - 3 - »

© 2024 OneMinuteCode. All rights reserved.