Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  Linux command's programming Blog  > 

2017-05-03 10:38
  #!/bin/bash#Below I change to 1 if I want to send the archive and not an email#CHANGE AND PARAM FOR LOGINFTP_STATUS=0FTP_USER=FTP_PASSWORD=FTP_URL=#tuka ima nqkakava izmama shto ne mo… Read More
2017-02-08 18:00
import osimport pyunpackclass Main:  def __init__(self, PATH, razshirenie): self.PATH = PATH self.razshirenie = razshirenie def search(self): for files in os.l… Read More
2016-10-12 15:41
# -*- coding: utf-8 -*-import requests #For get url source codefrom bs4 import BeautifulSoup as bs # For search to answerfrom Tkinter import * #For tkinterdef translate(Entry, Ask_Lang, Ret_… Read More
2016-09-17 17:10
#####IMPORT SOME MODULE'S#####from Tkinter import *import socket, sys, timefrom datetime import datetimefrom threading import *name = socket.gethostname()name_pr = socket.gethostbynam… Read More
2016-09-12 17:24
#IMPORT SOME MODULE NEED pip install pillow #if not esists import os, sys, Tkinter from PIL import Image, ImageTk #FIRST GLOBAL PARAM TO PATH #USES Pictures folder of user that ru… Read More
2016-09-03 16:12
# -*- coding: utf-8 -*-#IMPORT SOME MODULE'Simport sqlite3import win32cryptimport osfrom collections import defaultdictimport pprint#GLOBAL PARAM'SGOOGLE_FILE = "Login Data"GOOGLE_PATH = os… Read More
2016-08-26 18:10
#!/bin/bash#WORK ON DEBIAN BASE SYSTEM!#CHECK USER IS ROOT OR NOTif [ $UID -ne 0 ];then        echo "Must run with root privileg!!!"        exitfi#GET… Read More
2016-08-14 13:13
# -*- coding:utf-8 -*-#IMPORT MODULEimport itertoolsfrom itertools import islice#FILE TO WRITE RESULTFile = "password_list.txt"#FUNCTION GENERATE PASSWORD WORD'Sdef generate(): for z in x… Read More
2016-08-09 10:18
1 . x11vnc -auth /tmp/.Xauth1000 -forever -rfbauth /home/folder/x11vnc.pass -rfbport 59002 . x11vnc -nap -wait 5 -noxdamage -pasword "password" -display :0  -forever Read More
2016-08-03 11:27
ps -p `top -b -n1 | grep firebi* | awk '{print $1}'` -o etime=if row is more then one:ps -p `top -b -n1 | grep firebi* | sed '1!d' | awk '{print $1}'` -o etime= Read More
2016-05-08 18:35
apt-get updateapt-get install openvpn easy-rsagunzip -c /usr/share/doc/openvpn/examples/sample-config-files/server.conf.gz > /etc/openvpn/server.confvim /etc/openvpn/server.confuncoment:#… Read More
2016-03-23 17:39
#!/bin/bashstart=$1end=$2ar=/usr/bin/arpingarp=/usr/sbin/arpecho "Start is $start and end is $end"echostart_end=${start##*.}end_end=${end##*.}for i in $(seq $start_end $end_end);do &nbs&hell…Read More
2016-02-20 19:24
#!/bin/bashDIRECTORY=/home/testfind $DIRECTORY -name "* *"|while read fname;do new_name=`echo $fname | tr " " "_"` if [ -e $new_name ];then echo "Exists" else mv "$fname" $new_name fidone Read More
2015-12-31 19:37
#---------------Import Modules-------------------import subprocess, platform, os, ConfigParser, timefrom Tkinter import *from tkFileDialog import askopenfilename#---------------Tkinter… Read More
2015-10-05 20:56
dpkg-reconfigure grub-pccd /etc/initramfs-tools/scripts/local-topcp /usr/share/initramfs-tools/scripts/local-top/mdadm . Replacelog_failure_msg "failed to assemble all arrays."With this… Read More
2015-07-24 14:15
import os,shutil, subprocess from datetime import datetime file_destination = ["/home/borko/base/firebird.fdb"] #Must change path to folder if user not called "borko" copy_destinati… Read More
2015-05-12 16:57
Add in the end of the file /etc/samba/smb.conf [samba]comment = samba_sharepath = /real_path/to/shareread only = noguest ok = novalid users user1,user2 (or @users for access group user to ac… Read More
2015-04-29 19:56
Folder is Z:attrib -H -S Z:\* /S /D-    #Clear attributeH   #Hidden file attributeS   #Show system file attribute/S  #Matching file in the curent and subdirectory/D… Read More
2015-04-16 15:16
Create file.bat and put text:@echo offSET /P myVariable="Choice options: 1 - First 2 - Second 3 - Third"echoif %myVariable%==1 goto :First if %myVariable%==2 goto :Second if %myVar… Read More
2015-04-16 10:49
Create file change_bat_brat.bat with content:@echo offecho.......................................................color 2ipconfig | find "IPv4 Address"echo … Read More
2015-04-16 09:42
# -*- coding: utf-8 -*-from PIL import Image, ImageFilter, osformat = ["jpg", "JPEG", "jpeg", "png"]size = (128, 128)try: for root,dirname,filename in os.walk("d:\\snimki"): for fi… Read More
2015-04-15 08:06
Create faile:touch unrar.sh && chmod +x unrar.shAnd then paste this in terminal:cat <<EOF >>unrar.sh#!/bin/bashif [ -z "$1" ]then  echo "Paramather #1 is zero… Read More

Share the post

Linux command's

×

Subscribe to Linux Command's

Get updates delivered right to your inbox!

Thank you for your subscription

×