|
- Getting 256 colors to work in tmux - Unix Linux Stack Exchange
I have 256 colors working just fine in konsole, I thought I'd give tmux a try because, unlike screen, it seems to support vi mode However I find that the colors of my prompt show up and this is
- How to stop the find command after first match?
For example find -exec echo \{\} \; -quit | exit does not stop on the first file found (as without the | exit) and might descend into an endless slow NFS volume for years
- Is there a reason why var log lastlog is a huge sparse file (1. 1TB)?
What I hence wonder is, what is the need backgrounding motivation to have those files as sparse, huge files (in my case it was 1 1TB)? This is how it's supposed to be var log lastlog is not a log file like var log syslog, and its name should be read as "last logins list" rather than "last logfile" It's maintained by the pam_lastlog(8) module, and it's basically an array like this: struct
- select - bash - How can I re-display selection menu after a selection . . .
@GerardvanHelden That depends on what the user means by "after a long script" I don't really see how their answer is any "cleaner" if a long sequence of commands is to be fitted into it Also, as I wrote, the purpose of the select loop is to get a selection from the user, not to be the main event loop of the script
- How to pass an environment variable when change rooting?
I don't seem to be able to pass an environment variable to a chroot: $ sudo apt-get install debootstrap dchroot $ sudo debootstrap trusty mychroot $ sudo chroot mychroot bin bash -c "MY_VAR=5; ec
- Booting stops at Loading initial ramdisk - Unix Linux Stack Exchange
I have installed Arch Linux on 40GB HDD on ga-g4mt-s2p1 Motherboard ( Intel Core 2 multi-core,2Gb of Ram) I have made 4 Partitions: boot 100Mib Swap 4Gib 20Gib home The rest of the disk It r
- Cron vs systemd timers - Unix Linux Stack Exchange
5 “systemd timers” vs “cron” is like to “systemd“ vs “SysV init” You know the endless debate around systemd? Often very subjective, very emotional Most arguments for and against it, valid and not, could be repeated here almost verbatim Including technical aspects and aspects which are technical at first glance
- How to show the CUPS printer jobs history? - Unix Linux Stack Exchange
I am printing some files from a remote computer to a network printer with the lpr command It apparently worked, but some minutes later when I typed lpstat or lpq, the job had already disappeared,
|
|
|