echo " This is a test" | sed -e 's/^[ \t]*//'
If not works, maybe you file have some special not visable charters, like BOM or M-oM-?M-
you can reove them to output to some temporary file and use sed or vi editor to remove them.
echo " This is a test" | sed -e 's/^[ \t]*//'
If not works, maybe you file have some special not visable charters, like BOM or M-oM-?M-
you can reove them to output to some temporary file and use sed or vi editor to remove them.
sed '/^\s*$/d'
rpm -Uvh –nodeps
yum --showduplicates list php | expand
Mode 1 – Doesn’t crash MySQL when it sees a corrupt page
Mode 2 – Doesn’t run background operations
Mode 3 – Doesn’t attempt to roll back transactions
Mode 4 – Doesn’t calculate stats or apply stored/buffered changes
Mode 5 – Doesn’t look at the undo logs during start-up
Mode 6 – Doesn’t roll-forward from the redo logs (ib_logfiles) during start-up
If you have this error on docker:
rpm -e cracklib-dicts --nodeps && yum install cracklib-dicts -y
cp /boot/initrd-$(uname -r).img /boot/initrd-$(uname -r).img.bak
mkinitrd -f -v /boot/initrd-$(uname -r).img $(uname -r)
cat /etc/virtual/usage/*
This message can mean user sent emails limit is reached, maybe some user send spam messages. Also it can be really DNS issues.
sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-spotify.repo
sudo dnf install spotify-client
cd /home/username/domains/example.com/public_html
find . -name '*.php' | while read FILE; do if grep 'eval(base64_decode' "$FILE"; then echo "$FILE" >> maybeinfected; fi ; done
mount –bind /vz/private/100/share /vz/root/200/share
You shoud check EP number. lveinfo –period=1d –by-fault=mep –display-username
root@srv [~]# lveinfo –period=1d –by-fault=mep –display-username
+——–+—-+—-+—-+—+—+—+——+—–+—–+—-+—–+—–+—–+—–+
| ID |aCPU|mCPU|lCPU|aEP|mEP|lEP|aPMem |mPMem|lPMem|EPf |PMemF|aIOPS|mIOPS|lIOPS|
+——–+—-+—-+—-+—+—+—+——+—–+—–+—-+—–+—–+—–+—–+
|username| 35 |100 |100 | 8 |149|200|484.4M| 2.4G| 6.8G|6829| 0 | 0 | 22 | 1024|
+——–+—-+—-+—-+—+—+—+——+—–+—–+—-+—–+—–+—–+—–+
lvectl limits $(id -u website_username)
lvectl set ID –maxEntryProcs NEW_NUMBER –save
VBoxManage list hdds
VBoxManage modifyhd [UUID] –resize [size in MiB]
btier_setup -f /dev/md0:/dev/md1 -B -c
Check devices: cat /sys/block/sdtiera/tier/device_usage