Questions tagged [write]
The write tag has no summary.
97 questions
0 votes
0 answers
120 views
Slow Write Speed on Internal/External HDD/SSD on Debian 13 With GNOME
I've recently migrated from Ubuntu 24.04 to Debian 13 with GNOME (thought it doesn't have that much issues but alas). I've read tons of information trying to find a solution or an answer (some say it'...
2 votes
2 answers
87 views
Unable to write to self in graphical terminal session?
Essentially, I noticed I am unable to write to my user who is using gnome-terminal. tty returns /dev/pts/1, but I am unable to write there as root. Instead, it returns as follows: myuser@pegasus:/$ ...
0 votes
1 answer
66 views
dd cannot write to an ext4 HDD using oflag=direct
I attempted to write a file to an ext4 voulume on an external USB hard disk drive: $ dd if=/dev/zero of=file bs=1M count=10 iflag=fullblock oflag=direct dd: failed to open 'file': Invalid argument ...
0 votes
3 answers
454 views
Append N hexadecimal numbers to a binary file with Bash
I have a Bash script that appends bytes written as hexadecimal values. I use echo to write the bytes and it works hex="1F" byte="\x$hex" echo -en $byte >> "output.bin&...
0 votes
2 answers
3k views
How can I get write/wall commands working as intended?
OS: xUbuntu 22.04 I want to use the write / wall commands for sending msgs to other users sharing the same computer. But when I try to use the write command, I get the following error: √ ~ $ who user1 ...
0 votes
0 answers
131 views
what size does stat return while write?
On Linux, suppose I do a write() to end of a file, and while this is still completing, from another thread I do a stat-type call on that file (such as fstat() or lstat()). I would expect, that the ...
0 votes
1 answer
121 views
Does the echo command create a swap file when it writes a line to a file?
I am currently working on a personal project, and I would like to simply record logs in the following way using the echo command. My question is if the echo command accesses the same file at the same ...
0 votes
1 answer
296 views
How does the Kernel implement synchronisation techniques on file access
I've read that the kernel implements synchronisation mechanisms when accessing files. For example, if we try and write or read to a file in the file system using read() or write() from different ...