New answers tagged

0 votes

transfer files from icloud and one drive to desktop running ubuntu

Great question! Like most things on Linux thesedays, there's a snap for that! I've listed native apps avaliable which will let you bulk download all your files, and even sync them with the cloud! This ...
1 vote

How should I glob for all hidden files?

In case anyone need an alternative that doesn't require environment variables or shell options enabled like dotglob or extglobyou can use the following: .[!.]* it works because it matches at least two ...
0 votes

What is the difference between the properties of using ZFS on whole disks, partitions or files as a volume?

Disclaimer: This may or may not directly answer your question. ZFS is an advanced block storage technology, primarily geared towards enterprise-level storage arrays. Let's take a look at man zpool: (...
0 votes

Too many open files

I think, there are different cases why this might happen: System wide limit (Run cat /proc/sys/fs/file-max to see the limit, for me it's 9223372036854775807) Hard user limit (Run ulimit -nH: 1048576) ...
  • 436
0 votes

Text editor to edit large (4.3 GB) plain text file

I used madedit in the past, the only one that survives opening files more than my RAM. https://github.com/madedit/madedit
  • 445
1 vote

Why is it possible to convert a file just by renaming its extension?

On the command line, you can also use file to give some basic information about the file, e.g. cp test.png test.png.jpg file test.png.jpg Output: test.png.jpg: PNG image data, 557 x 237, 8-bit/color ...
2 votes
Accepted

How to generate multiple files in sequence with data in sequence?

From google bash loop padded to StackOverflow How to zero pad a sequence of integers in bash so that all have the same width? I ended up with: for i in $(seq -f "%02g" 1 50) do echo &...
  • 845
0 votes

Can't access Google Drive via Files

This issue cleared up for me when I removed the account from the Settings Online accounts panel and readded it.
2 votes
Accepted

How to change the location of a swapfile?

You can create a new swap file anywhere you like. Then update /etc/fstab and add there the new path, also remove the old one. Then you can reboot and delete the old swap file. It can be done without ...
  • 85.7k
0 votes

Getting rid of the p7m file extension

Nowadays (not sure if this work in the 2015's version of openssl) one can use just openssl smime -inform DER -in smime.p7m -verify -out email_body openssl smime itself is able to get the certificates ...
  • 101
1 vote

'Files' icon on lock/login screen

This occurred for me as well 22.04, this is what did the trick for me to stop it from showing up. Settings > Notifications > Files Uncheck Lock screen notifications
  • 11
1 vote

Is it possible to create a series of text files with names based on a pattern and fill them with X characters from /dev/urandom?

In bash, you can use a for ...; do ...; done loop with braces expansion(e.g. {00..10} or {000..999} etc.) with head -c 256 to read 256 bytes(IMO more than that is an over-kill for your purpose and a ...
  • 18.4k
2 votes

Is it possible to create a series of text files with names based on a pattern and fill them with X characters from /dev/urandom?

One option would be to pipe data to the split utility NAME split - split a file into pieces SYNOPSIS split [OPTION]... [FILE [PREFIX]] DESCRIPTION Output pieces of FILE to ...

Top 50 recent answers are included