http://Bj83.de

Category: Operating Systems

crontab and cronjobs

write your command best in a shellscript and add runnable to it chmod +x /home/scripts/yourscriptfile.sh   add it to /etc/crontab # /etc/crontab: system-wide crontab # Unlike any other crontab you don’t have to run the `crontab’ # command to install the new version when you edit this file # and files in /etc/cron.d. These files…

Aside

Add Script to Startup

$ nano /etc/init.d/startscript.sh
$ chmod +x /etc/init.d/startscript.sh
$ nano /etc/init.d/rc.local  
//add the call to the script at the end

 

Aside

browse files on a server with ssh

with gnome:

  • File-Browser->Menue
  • File->Connect to Server
  • choose SSH Protokoll

else use konquerer or dolphin with:

  • fish://servername

Desktop App Starter

create a file with anyname.desktop [Desktop Entry] Version=1.0 Type=Application Name=DebDev.sh Comment=DebDev Exec=/home/mount_debdev.sh Icon=utilities-terminal Terminal=true StartupNotify=false GenericName=Test – Name: Text that will be displayed – Exec: script/file to run

Batch Bilder Resize auf Commando Zeile

ganz ohne zusatzprogramm gehts leider nicht, aber Imagemagic is sehr klein und fein und faellt kaum auf ๐Ÿ˜‰ apt-get install imagemagick Das eigentliche “Script” der Kommando Zeile (fรผgt den neuen Dateien das vorzeichen “resized_” hinzu): for i in $( ls *.jpg); do convert -resize 50% $i resized_$i; done Will man die Dateien auch gleich konvertieren…

really blank webserver with ubuntu

i got a tipp from a friend to setup a even faster webserver with less hardware resources, and faster to setup (you dont have to remove the gaming crap) to make it virtual get a copy of VirtualBox (its free, cross plattform and fast ๐Ÿ™‚ https://www.virtualbox.org/wiki/Downloads Instead of Xubuntu Desktop Version grab the server edition…

Setting Up an Ubuntu Webserver

quick and dirty ๐Ÿ˜‰ i guess you can setup ubuntu yourself ๐Ÿ™‚ i use xubuntu (less eyecandy, more performance with less memory) before i install the server i remove all games, mail clients and such useless things for a webserver. set the pc name with sudo gedit /etc/hostname download lampp from http://www.apachefriends.org/de/xampp-linux.html#52 set root password…

Follow

Get every new post on this blog delivered to your Inbox.

Join other followers: