Activity for Iizukiā
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #291251 |
Post edited: Remove timestamp |
— | about 1 year ago |
Edit | Post #291251 | Initial revision | — | about 1 year ago |
Answer | — |
A: How to get remote container image digest with skopeo? With the `inspect` subcommand, and you probably want to set a format to filter out all the other clutter: ```shell $ skopeo inspect --format='{{ .Digest }}' docker://docker.io/snipe/snipe-it:v6.3.4 sha256:c902a78f9a2f4f13c5b8c8b89430937438c7fdd47abdce945c608cf9adb21e7d ``` (more) |
— | about 1 year ago |
Edit | Post #291250 | Initial revision | — | about 1 year ago |
Question | — |
How to get remote container image digest with skopeo? How to get the (index) digest of a remote container image with skopeo? So this would be your normal container image in a container registry. E.g. in docker.io (more) |
— | about 1 year ago |
Edit | Post #291222 |
Post edited: Grammar |
— | about 1 year ago |
Edit | Post #291222 | Initial revision | — | about 1 year ago |
Answer | — |
A: ==> WARNING: Possibly missing firmware for module: 'foo' Here's the relevant ArchWiki page. The gist of it is that most of those warnings are probably for some fairly obscure hardware, and can be just ignored (provided that your system indeed works fine). If you want to fix them (maybe just for the peace of mind), there are packages that contain these m... (more) |
— | about 1 year ago |
Comment | Post #291099 |
That's a nice addition (more) |
— | about 1 year ago |
Edit | Post #291099 |
Post edited: |
— | about 1 year ago |
Edit | Post #291101 | Initial revision | — | about 1 year ago |
Answer | — |
A: Prettify XML in a shell `xmllint` from `xmllib2` can do this: ```bash $ output-dirty-xml | xmllint --format - ``` The dash in the end tells xmllint to read from stdin instead of a file. Source: manpage (more) |
— | about 1 year ago |
Edit | Post #291099 | Initial revision | — | about 1 year ago |
Question | — |
Prettify XML in a shell How to pretty print XML in a shell? I have command-line tool which outputs XML in a single line, totally unreadable. I would like something to pipe this into, to turn it into human readable XML with newlines and indentation. So something like this: ```bash $ output-dirty-xml Hey there! $ ... (more) |
— | about 1 year ago |
Edit | Post #290163 |
Post edited: Grammar |
— | about 1 year ago |
Edit | Post #291054 | Initial revision | — | about 1 year ago |
Answer | — |
A: How to add a new drive to a BTRFS filesystem? Add a new drive with the device command: ```bash btrfs device add /dev/new-device /path/to/the/filesystem/youre/adding/to ``` Then you probably want to balance the filesystem so that some data will actually live on the newly added drive: ```bash btrfs balance start /path/to/the/filesystem... (more) |
— | about 1 year ago |
Edit | Post #291053 | Initial revision | — | about 1 year ago |
Question | — |
How to add a new drive to a BTRFS filesystem? BTRFS is capable of spanning over multiple drives. How to add one more to an existing filesystem? (more) |
— | about 1 year ago |
Edit | Post #291011 | Initial revision | — | about 1 year ago |
Answer | — |
A: What are the %U and %u parameters in desktop files? They are defined in the Desktop Entry Specification. In fact there are also `%f` and `%F` options. They tell the desktop manager how the program handles multiple files. Like if I select a bunch of files in Dolphin and select "Open with Firefox". The small `%u` means that the program expects onl... (more) |
— | about 1 year ago |
Edit | Post #291010 | Initial revision | — | about 1 year ago |
Question | — |
What are the %U and %u parameters in desktop files? Desktop files always have either `%u` or `%U` as an argument for the program being launched. E.g. here's a line from my `firefox.desktop`: ```desktop Exec=/usr/lib/firefox/firefox %u ``` What does it mean? (more) |
— | about 1 year ago |
Comment | Post #290914 |
Sorry I have no idea how to debug JACK, but Pipewire should be capable of replacing JACK, so maybe you could just try that? https://wiki.archlinux.org/title/PipeWire#JACK_clients
Remove/disable JACK, and install pipewire-jack (more) |
— | about 1 year ago |
Edit | Post #290911 |
Post edited: Add tag |
— | about 1 year ago |
Edit | Post #290912 | Initial revision | — | about 1 year ago |
Answer | — |
A: ldapsearch: how to ignore certificate? This can be done by setting the `LDAPTLSREQCERT` environment variable to `never`. For example like this when issuing the command: ```bash LDAPTLSREQCERT=never ldapsearch -H ldaps://example.com:636 ... ``` (more) |
— | about 1 year ago |
Edit | Post #290911 | Initial revision | — | about 1 year ago |
Question | — |
ldapsearch: how to ignore certificate? How to ignore server certificate when using ldapsearch command-line tool? Of course this isn't something you should be doing regularly, but it would be a handy asset for troubleshooting. (more) |
— | about 1 year ago |
Edit | Post #290902 | Initial revision | — | about 1 year ago |
Question | — |
Find out which process is using a port Sometimes your programs fail because the network port they are trying to use is already in use by some other process. How to find out what this other process is? (more) |
— | about 1 year ago |
Comment | Post #290797 |
Yes this works for most uses, but it's good to keep in mind that this counts newline characters, not lines of text as we humans perceive them. In particular it's not guaranteed that a file ends in a newline, leading to the count being off by one. (more) |
— | about 1 year ago |
Edit | Post #290795 |
Post edited: Grammar |
— | about 1 year ago |
Edit | Post #290796 | Initial revision | — | about 1 year ago |
Answer | — |
A: How to count the lines of a file? One way is to use `grep`: ``` $ grep --count ^ /path/to/the/file ``` The `^` character matches a start of a new line, so it basically counts the number of starting lines. (more) |
— | about 1 year ago |
Edit | Post #290795 | Initial revision | — | about 1 year ago |
Question | — |
How to count the lines of a file? How to get the number of lines in a file? I.e. for a file like this: ```txt Line one Line 2 Final line ``` I would like to do something like this: ```bash $ count-lines /path/to/the/file/above 3 ``` (more) |
— | about 1 year ago |
Edit | Post #290560 | Initial revision | — | over 1 year ago |
Answer | — |
A: How to find user's id (UID)? With the `id` command: ```bash $ id --user linus ``` (more) |
— | over 1 year ago |
Edit | Post #290559 | Initial revision | — | over 1 year ago |
Question | — |
How to find user's id (UID)? How to lookup user-id with the user's name? E.g. What's the UID of user linus? (more) |
— | over 1 year ago |
Edit | Post #290553 | Initial revision | — | over 1 year ago |
Answer | — |
A: Show a timestamp on the right side of prompt when executing a command in ZSH The `preexec` function is called right before executing commands, so it's the place to do this sorta things. This solution is adapted from Dan Berindei's original answer (CC BY-SA 3.0) to a related question: ```zsh preexec () { TIME=`date +"[%H:%M:%S]"` C=$(($COLUMNS-12)) echo -e "\03... (more) |
— | over 1 year ago |
Edit | Post #290552 |
Post edited: |
— | over 1 year ago |
Edit | Post #290552 | Initial revision | — | over 1 year ago |
Question | — |
Show a timestamp on the right side of prompt when executing a command in ZSH How to configure ZSH shell to print a timestamp on the right hand side of the prompt line when executing a command? I don't want to display the time prior to executing a command. Here's about how it should look like (just a very basic prompt for illustration): ```zsh [me@pc ]$ echo Have you tr... (more) |
— | over 1 year ago |
Edit | Post #290473 | Initial revision | — | over 1 year ago |
Answer | — |
A: How to find your public IP address from command-line? Cisco's OpenDNS (nothing to do with open source) has this magic domain `myip.opendns.com` which resolves to your own public IP address when looked up with standard DNS tools. For example with dog (or dig): ```bash $ dog +short myip.opendns.com @resolver1.opendns.com ``` (more) |
— | over 1 year ago |
Edit | Post #290472 | Initial revision | — | over 1 year ago |
Question | — |
How to find your public IP address from command-line? `ip a` command will conveniently show the addresses assigned to your network interfaces, but oftentimes this is not what the internet sees your machine as. So how to find your public IP address from command-line? (more) |
— | over 1 year ago |
- ← Previous
- 1
- 2
- 3
- 4
- Next →