Przeskocz nawigację

Category Archives: linux

cp /opt/SickGear/init-scripts/init.systemd /usr/lib/systemd/system/sickgear.service
chmod a+x /usr/lib/systemd/system/sickgear.service
//fix path on botton of script if using defult username, groups, paths
vi /usr/lib/systemd/system/sickgear.service
systemctl enable sickgear.service
systemctl start sickgear.service
systemctl status sickgear.service

reboot to verify!


Just execute in shell:


Aby przyśpieszyć odbudowę macierzy w QNAPie:
Zaloguj się SSH:
Odczytaj prędkości:

cat /proc/sys/dev/raid/speed_limit_max
cat /proc/sys/dev/raid/speed_limit_min


echo 50000 >/proc/sys/dev/raid/speed_limit_min
echo 150000 >/proc/sys/dev/raid/speed_limit_max

Informacje o odbudowie:
cat /proc/mdstat

while true; do date +"%T";cat /proc/mdstat; sleep 5; done

Za :

@"F:\Program Files (x86)\WinSCP\" /command "option batch on" "option confirm off" "open" "put F:\zxc\torrent /home/pigers/rtorrent/watch" "exit"
@cd \zxc\torrent
@del *.torrent /q

How to mount a Samba (Windows) file share to a folder in Ubuntu Linux
17 Apr 2009

To mount a Samba (Windows) file share to a folder in Ubuntu Linux, you need to have Samba Filesystem Support installed. The easiest way to do this is via apt-get on the command line:

sudo apt-get install smbfs

After the installation has finished, create a directory that the Samba share will be mounted to (e.g. „windows_share” in the „/mnt” directory):

sudo mkdir /mnt/windows_share

Finally, use the mount command to mount the remote shared folder to your newly created directory (change the IP address, paths, username and password in the example below as needed):

sudo mount -t smbfs //
/mnt/windows_share -o username=Guest,password=

To unmount the Samba share, use the umount command (change the path in the example below as needed):

sudo umount /media/windows_share

To automatically mount the Samba share when you boot up your computer, you’ll need to edit your „/etc/fstab” file as detailed on this page on the Ubuntu Forums.

The setting you are looking for can be found in /etc/default/grub.

Edit the line GRUB_TIMEOUT=10 to your needs, and run sudo update-grub afterwards.

Znaleziono na :

sudo apt-get install nethogs


sudo nethogs

wyjście klawisz Q

cd /
sudo mkdir SERWIS
sudo mkdir KLIENCI
sudo chmod -R ugo+rw SERWIS KLIENCI

%d blogerów lubi to: