I often find Bash syntax very helpful, e.g. process substitution like in diff <(sort file1) <(sort file2). Is it possible to use such Bash commands in a Makefile? I’m...
  • May 22, 2022
  • 0 Comments
Is there any bash command that will let you get the nth line of STDOUT? That is to say, something that would take this $ ls -l -rw-r--r--@ 1...
  • May 22, 2022
  • 0 Comments
I have an archive, which is archived by someone else, and I want to automatically, after I download it, to change a branch of the file system within the...
  • May 22, 2022
  • 0 Comments
I would like to define some aliases in fish. Apparently it should be possible to define them in ~/.config/fish/functions but they don’t get auto loaded when I restart the...
  • May 22, 2022
  • 0 Comments
I was helped out today with a command, but it doesn’t seem to be working. This is the command: find /home/me/download/ -type f -name "*.rm" -exec ffmpeg -i {}...
  • May 21, 2022
  • 0 Comments
I want to transform /foo/bar/.. to /foo Is there a bash command which does this? Edit: in my practical case, the directory does exist. 24 Answers 24
  • May 21, 2022
  • 0 Comments