Questions tagged [read]
The read tag has no summary.
15 questions
7
votes
1
answer
639
views
Why don't tail or cat display new content of a file to which another process is writing?
I developed a process named X0 that continually appends some lines to a CSV file to register some electrical data as voltage or power.
This process run a python program and is started using following ...
6
votes
3
answers
7k
views
read in Bash and ZSH
I'm observing differences between zsh and bash when using read on macOS.
With bash this script
echo "characters" | while IFS= read -d '' -n 1 a; do printf %s "$a-"; done
Produces
...
2
votes
2
answers
6k
views
Using read to capture multiple variables from a command's output
I have a youtube-dl command that when run outputs two new lines, and I'm trying to capture each of those to variables.
Here is what I have so far, but for some reason I can't understand, it only ...
2
votes
1
answer
7k
views
High read error rate for a Seagate 14TB HDD, is this normal range?
This is a new HDD, but it looks like the read error rate is too high.
It is higher than the threshold, but not sure if this a normal for a new HDD.
Should I request for a replacement?
1
vote
1
answer
136
views
Why is this Bash command output different from what is expected when I run the command in Debian?
The bash version in my system’s running version of Debian is:
bash --version|awk 'NR==1'
GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)
In Eyal Levin's answer on this other Stack Overflow ...
1
vote
1
answer
547
views
Reading Maildir files
How can I locally open a read-only Maildir backup archive in Windows in order to browse through e-mails, run keyword searches, filter/sort by date or recipient, extract attachments, display e-mails ...
1
vote
3
answers
2k
views
Using read -r within in-line shell scripting
I have a file that contains a list of absolute paths of several files. I need to move all of the files listed in the file to another directory. Unfortunately, I have to do this using in-line shell ...
1
vote
2
answers
85
views
Why man read don't contain any argument description in my debian? [duplicate]
As far as i know that read in bash contains many argument such as -a -d -e -r.
The webpage list all arguments of read.
read's arguments
In my console, man read contains no argument on it.
I upload man ...
1
vote
1
answer
2k
views
How do I print a newline after there user enters a password with zshbuiltin read command
I want to read a user's password securely within the execution of a curl command. A made a basic proof of concept which mostly works, but the output of the echo command is coming on the same line as ...
1
vote
0
answers
754
views
Export fileserver permissions for folders and subfolders with read and write permissions in PowerShell ISE
Okay so I want to have the read and write permissions for users on a fileserver to be exported in CSV format.
With the script below am not getting all of the subfolders on Powershell ISE
Can someone ...
1
vote
0
answers
581
views
Bash: read from socket file descriptor returns always the same data instead of blocking
I have a postgres started like this:
exec 3< <(su -l postgres -c "/usr/local/pgsql/bin/postmaster -p '$port' -d 3 -D '$backupDir' 2>&1 & echo \$!")
This redirects all logs ...
1
vote
2
answers
2k
views
How to read files name last character and and rename them by running a batch file
I have 3 files in a folder which are:
XXX_a.txt
XXX_b.txt
XXX_c.txt
The filename can be varied, only the last character of the 3 files
a, b and c are not changed
I need to rename the files as below:
...
0
votes
1
answer
2k
views
How to disable 'Save As' option and prohibiting file saving in Adobe Acrobat?
I'm seeking guidance on how to implement restrictions in Adobe Acrobat for a PDF document.
I have password-protected the file, but I'm looking to further restrict users from accessing the 'Save As' ...
0
votes
1
answer
514
views
Speed up reading a large number of files (random read)
I'm trying to run a bash script on all the xml files inside a folder. After some effort I found the likely bottleneck is reading the files, given the filenames. My script is likely running fast enough ...
0
votes
1
answer
224
views
Where do I find whether I did or did not send an Outlook read receipt?
In Outlook (Office 365, desktop app) I sometimes receive an email with a read receipt request. My Outlook settings are such that Outlook always asks me if I want to answer that request. Sometimes I ...