لینکس،UNIX کمانڈ لائن مثال کے طور پر، سبق، اور نمونے کی دستاویزات.جانیںکہ کس طرح mysql، میں SSH، ٹار، rsync جیسے پروگراموں کو استعمال کرنے کے لئے، مثال کے طور پر کی طرف سے ڈیڈی کو

کاپی
5
1
git cherry-pick -n 6a3ed15

1 سال، 1 مھینہ ago derricksimpson 1 |

کاپی
6
1
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

1 سال، 11 مھینے ago garvord 1 |

کاپی
2
-1
docker run -i -t ubuntu /bin/bash

2 سال، 3 مھینے ago Drahtigelgriller 1 |

کاپی
5
1
docker run -i -t ubuntu /bin/bash

2 سال، 3 مھینے ago Drahtigelgriller 1 |

کاپی
2
1
/* Uncomment next line for versions <= 3.3 */ /* ALTER TABLE domains ADD CONSTRAINT c_lowercase_name CHECK (((name)::TEXT = LOWER((name)::TEXT))); */ ALTER TABLE records ADD disabled BOOL DEFAULT 'f'; ALTER TABLE records ALTER COLUMN content TYPE VARCHAR(65535); ALTER TABLE records ADD ordername VARCHAR(255); ALTER TABLE records ADD auth BOOL DEFAULT 't'; ALTER TABLE records ALTER COLUMN type TYPE VARCHAR(10); ALTER TABLE supermasters ALTER COLUMN ip TYPE INET USING ip::INET; ALTER TABLE supermasters ALTER COLUMN account SET DEFAULT NOT NULL; ALTER TABLE supermasters ADD CONSTRAINT supermasters_pkey PRIMARY KEY (ip, nameserver); CREATE INDEX recordorder ON records (domain_id, ordername text_pattern_ops); CREATE TABLE domainmetadata ( id SERIAL PRIMARY KEY, domain_id INT REFERENCES domains(id) ON DELETE CASCADE, kind VARCHAR(32), content TEXT ); CREATE INDEX domainidmetaindex ON domainmetadata(domain_id); CREATE TABLE cryptokeys ( id SERIAL PRIMARY KEY, domain_id INT REFERENCES domains(id) ON DELETE CASCADE, flags INT NOT NULL, active BOOL, content TEXT ); CREATE INDEX domainidindex ON cryptokeys(domain_id); CREATE TABLE tsigkeys ( id SERIAL PRIMARY KEY, name VARCHAR(255), algorithm VARCHAR(50), secret VARCHAR(255), constraint c_lowercase_name CHECK (((name)::TEXT = LOWER((name)::TEXT))) ); CREATE UNIQUE INDEX namealgoindex ON tsigkeys(name, algorithm); CREATE TABLE comments ( id SERIAL PRIMARY KEY, domain_id INT NOT NULL, name VARCHAR(255) NOT NULL, type VARCHAR(10) NOT NULL, modified_at INT NOT NULL, account VARCHAR(40) DEFAULT NULL, comment VARCHAR(65535) NOT NULL, CONSTRAINT domain_exists FOREIGN KEY(domain_id) REFERENCES domains(id) ON DELETE CASCADE, CONSTRAINT c_lowercase_name CHECK (((name)::TEXT = LOWER((name)::TEXT))) ); CREATE INDEX comments_domain_id_idx ON comments (domain_id); CREATE INDEX comments_name_type_idx ON comments (name, type); CREATE INDEX comments_order_idx ON comments (domain_id, modified_at); For gpgsql backend with dnssec schema: /* Uncomment next 2 lines for versions <= 3.3 */ /* ALTER TABLE domains ADD CONSTRAINT c_lowercase_name CHECK (((name)::TEXT = LOWER((name)::TEXT))); */ /* ALTER TABLE tsigkeys ADD CONSTRAINT c_lowercase_name CHECK (((name)::TEXT = LOWER((name)::TEXT))); */ ALTER TABLE records ADD disabled BOOL DEFAULT 'f'; ALTER TABLE records ALTER COLUMN content TYPE VARCHAR(65535); ALTER TABLE records ALTER COLUMN auth SET DEFAULT 't'; ALTER TABLE records ALTER COLUMN type TYPE VARCHAR(10); ALTER TABLE supermasters ALTER COLUMN ip TYPE INET USING ip::INET; ALTER TABLE supermasters ALTER COLUMN account SET DEFAULT NOT NULL; ALTER TABLE supermasters ADD CONSTRAINT supermasters_pkey PRIMARY KEY (ip, nameserver); ALTER TABLE domainmetadata ALTER COLUMN kind TYPE VARCHAR(32); ALTER TABLE tsigkeys ALTER COLUMN algorithm TYPE VARCHAR(50); CREATE INDEX recordorder ON records (domain_id, ordername text_pattern_ops); DROP INDEX IF EXISTS orderindex; CREATE TABLE comments ( id SERIAL PRIMARY KEY, domain_id INT NOT NULL, name VARCHAR(255) NOT NULL, type VARCHAR(10) NOT NULL, modified_at INT NOT NULL, account VARCHAR(40) DEFAULT NULL, comment VARCHAR(65535) NOT NULL, CONSTRAINT domain_exists FOREIGN KEY(domain_id) REFERENCES domains(id) ON DELETE CASCADE, CONSTRAINT c_lowercase_name CHECK (((name)::TEXT = LOWER((name)::TEXT))) ); CREATE INDEX comments_domain_id_idx ON comments (domain_id); CREATE INDEX comments_name_type_idx ON comments (name, type); CREATE INDEX comments_order_idx ON comments (domain_id, modified_at); For gsqlite3 backend with nodnssec schema: ALTER TABLE records ADD disabled BOOL DEFAULT 0; ALTER TABLE records ADD ordername VARCHAR(255); ALTER TABLE records ADD auth BOOL DEFAULT 1; CREATE INDEX orderindex ON records(ordername); CREATE TABLE domainmetadata ( id INTEGER PRIMARY KEY, domain_id INT NOT NULL, kind VARCHAR(32) COLLATE NOCASE, content TEXT ); CREATE INDEX domainmetaidindex on domainmetadata(domain_id); CREATE TABLE cryptokeys ( id INTEGER PRIMARY KEY, domain_id INT NOT NULL, flags INT NOT NULL, active BOOL, content TEXT ); CREATE INDEX domainidindex ON cryptokeys(domain_id); CREATE TABLE tsigkeys ( id INTEGER PRIMARY KEY, name VARCHAR(255) COLLATE NOCASE, algorithm VARCHAR(50) COLLATE NOCASE, secret VARCHAR(255) ); CREATE UNIQUE INDEX namealgoindex ON tsigkeys(name, algorithm); CREATE TABLE comments ( id INTEGER PRIMARY KEY, domain_id INTEGER NOT NULL, name VARCHAR(255) NOT NULL, type VARCHAR(10) NOT NULL, modified_at INT NOT NULL, account VARCHAR(40) DEFAULT NULL, comment VARCHAR(65535) NOT NULL ); CREATE INDEX comments_domain_id_index ON comments (domain_id); CREATE INDEX comments_nametype_index ON comments (name, type); CREATE INDEX comments_order_idx ON comments (domain_id, modified_at); BEGIN TRANSACTION; CREATE TEMPORARY TABLE supermasters_backup ( ip VARCHAR(64) NOT NULL, nameserver VARCHAR(255) NOT NULL COLLATE NOCASE, account VARCHAR(40) DEFAULT NULL ); INSERT INTO supermasters_backup SELECT ip, nameserver, account FROM supermasters; UPDATE supermasters_backup SET account='' WHERE account IS NULL; DROP TABLE supermasters; CREATE TABLE supermasters ( ip VARCHAR(64) NOT NULL, nameserver VARCHAR(255) NOT NULL COLLATE NOCASE, account VARCHAR(40) NOT NULL ); CREATE UNIQUE INDEX ip_nameserver_pk ON supermasters(ip, nameserver); INSERT INTO supermasters SELECT ip, nameserver, account FROM supermasters_backup; DROP TABLE supermasters_backup; COMMIT; For gsqlite3 backend with dnssec schema: CREATE TABLE comments ( id INTEGER PRIMARY KEY, domain_id INTEGER NOT NULL, name VARCHAR(255) NOT NULL, type VARCHAR(10) NOT NULL, modified_at INT NOT NULL, account VARCHAR(40) DEFAULT NULL, comment VARCHAR(65535) NOT NULL ); CREATE INDEX comments_domain_id_index ON comments (domain_id); CREATE INDEX comments_nametype_index ON comments (name, type); CREATE INDEX comments_order_idx ON comments (domain_id, modified_at); BEGIN TRANSACTION; CREATE TEMPORARY TABLE records_backup( id INTEGER PRIMARY KEY, domain_id INTEGER DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, type VARCHAR(10) DEFAULT NULL, content VARCHAR(65535) DEFAULT NULL, ttl INTEGER DEFAULT NULL, prio INTEGER DEFAULT NULL, change_date INTEGER DEFAULT NULL, ordername VARCHAR(255), auth BOOL DEFAULT 1 ); INSERT INTO records_backup SELECT id,domain_id,name,type,content,ttl,prio,change_date,ordername,auth FROM records; DROP TABLE records; CREATE TABLE records ( id INTEGER PRIMARY KEY, domain_id INTEGER DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, type VARCHAR(10) DEFAULT NULL, content VARCHAR(65535) DEFAULT NULL, ttl INTEGER DEFAULT NULL, prio INTEGER DEFAULT NULL, change_date INTEGER DEFAULT NULL, disabled BOOLEAN DEFAULT 0, ordername VARCHAR(255), auth BOOL DEFAULT 1 ); CREATE INDEX rec_name_index ON records(name); CREATE INDEX nametype_index ON records(name,type); CREATE INDEX domain_id ON records(domain_id); CREATE INDEX orderindex ON records(ordername); INSERT INTO records SELECT id,domain_id,name,type,content,ttl,prio,change_date,0,ordername,auth FROM records_backup; DROP TABLE records_backup; COMMIT; BEGIN TRANSACTION; CREATE TEMPORARY TABLE supermasters_backup ( ip VARCHAR(64) NOT NULL, nameserver VARCHAR(255) NOT NULL COLLATE NOCASE, account VARCHAR(40) DEFAULT NULL ); INSERT INTO supermasters_backup SELECT ip,nameserver,account FROM supermasters; UPDATE supermasters_backup SET account='' WHERE account IS NULL; DROP TABLE supermasters; CREATE TABLE supermasters ( ip VARCHAR(64) NOT NULL, nameserver VARCHAR(255) NOT NULL COLLATE NOCASE, account VARCHAR(40) NOT NULL ); CREATE UNIQUE INDEX ip_nameserver_pk ON supermasters(ip, nameserver); INSERT INTO supermasters SELECT ip,nameserver,account FROM supermasters_backup; DROP TABLE supermasters_backup; COMMIT; BEGIN TRANSACTION; CREATE TABLE domainmetadata_backup ( id INTEGER PRIMARY KEY, domain_id INT NOT NULL, kind VARCHAR(32) COLLATE NOCASE, content TEXT ); INSERT INTO domainmetadata_backup SELECT id,domain_id,kind,content FROM domainmetadata; DROP TABLE domainmetadata; CREATE TABLE domainmetadata ( id INTEGER PRIMARY KEY, domain_id INT NOT NULL, kind VARCHAR(32) COLLATE NOCASE, content TEXT ); CREATE INDEX domainmetaidindex ON domainmetadata(domain_id); INSERT INTO domainmetadata SELECT id,domain_id,kind,content FROM domainmetadata_backup; DROP TABLE domainmetadata_backup; COMMIT; For goracle backend: ALTER TABLE records ADD disabled INT DEFAULT 0; ALTER TABLE records MODIFY auth INT DEFAULT 1; UPDATE records SET auth=1 WHERE auth IS NULL; ALTER TABLE domainmetadata MODIFY kind VARCHAR2(32);

2 سال، 4 مھینے ago younes.haji.735 1 |

کاپی
1
0
rsa gen

2 سال، 5 مھینے ago princeofdream 0 |

کاپی
14
2
slsnif -u -s 115200 -l ./capture.log -i ./capture.bin "/dev/ttyUSB0"

3 سال، 6 مھینے ago JoshSanderson 5 |

کاپی
6
2
socat -d -d pty,raw,echo=0,link=/dev/ttyVCP-A pty,raw,echo=0,link=/dev/ttyVCP-B

3 سال، 6 مھینے ago JoshSanderson 5 |

کاپی
7
1
mv /folder1/etc/etc/{file1.txt,file2.txt}

3 سال، 6 مھینے ago JoshSanderson 5 |

کاپی
3
0
anak dalita

3 سال، 9 مھینے ago len 0 |

کاپی
12
0
xterm -bg red -fg blue top

3 سال، 10 مھینے ago mehdi gol 0 |

کاپی
4
0
xterm -bg red -fg white top

3 سال، 10 مھینے ago mehdi gol 0 |

کاپی
0
0
xterm -bg black -fg white top

3 سال، 10 مھینے ago mehdi gol 0 |

کاپی
1
0
tput reset

3 سال، 10 مھینے ago mehdi gol 0 |

کاپی
5
0
cal `date +"%m"` `date +"%Y"`

3 سال، 10 مھینے ago mehdi gol 0 |

کاپی
15
3
1,$s/\(^.*$\)/#\1/

4 سال، 1 مھینہ ago kxdemon 3 |

کاپی
5
0
i have problem on ssl_do_handshake working in intel machine but not in ARM based machine

4 سال، 2 مھینے ago pearl 0 |

کاپی
6
1
du -sm mysql-bin* | awk '{SUM +=$1} END {print SUM}'

4 سال، 3 مھینے ago ShahidMahmud 3 |

کاپی
1
0
mysqlbinlog mysql-bin.000099 | grep -iv 'update cache' | wc -c

4 سال، 3 مھینے ago ShahidMahmud 3 |

کاپی
0
0
mysqlbinlog mysql-bin.000010 | grep -i 'update cache' | wc -c

4 سال، 3 مھینے ago ShahidMahmud 3 |