Tom Hunt's user avatar
Tom Hunt's user avatar
Tom Hunt's user avatar
Tom Hunt
  • Member for 9 years, 2 months
  • Last seen more than a month ago
252 votes
Accepted

How to shrink root filesystem without booting a livecd

91 votes
Accepted

Avoid running the script if a variable is not defined

30 votes
Accepted

What does `<&-` do?

24 votes
Accepted

How does Linux differentiate between real and unexisting (eg: device) files?

20 votes

How to know how much space an uncompressed zip will take

19 votes
Accepted

Why does ArchLinux keep some users/groups after package uninstallation?

18 votes
Accepted

Grouping systemd services

16 votes
Accepted

Indirectly expand variables in shell

14 votes

Execute shell commands in Python

13 votes
Accepted

Can I use a variable in a Bash brace expansion?

13 votes

Differences between /home, /root and /usr

12 votes
Accepted

Are chained commands atomic?

12 votes

How to copy a folder recursively in an idempotent way using cp?

11 votes
Accepted

user exists when trying to add user to systemd-journal group

9 votes
Accepted

How can I print the second to last line of many files into one file?

9 votes

Where is the clipboard file located?

8 votes
Accepted

How to fix a very broken grub?

8 votes

List files that match a pattern but ignore files that match another pattern?

8 votes
Accepted

How to rename multiple files to their contents' MD5 sum?

7 votes
Accepted

Predicting the PID of previously started SSH command

7 votes
Accepted

How to save "*" string in a variable in unix/bash?

6 votes
Accepted

How to find missing files with sequential names?

5 votes

bulk renaming files to their folders name

5 votes

Unable to stop a bash script with Ctrl+C

5 votes
Accepted

How do I run a executable .sh file on a remote server from local in its remote-existed path?

5 votes
Accepted

ssh -> screen -> ssh - how to kill remote screened ssh without killing original ssh session

5 votes

cp command which partially resolves symlinks

5 votes

How to Display only the Working Directory Name in Shell Prefix?

5 votes

How can I pad lots of file names with zeros in a directory?

5 votes

Is there a way to source an encrypted (GPG) file on-the-fly in a script?