-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmynotes.txt
45 lines (30 loc) · 1.1 KB
/
mynotes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
lsusb : what are the things connected to the computer
#Port forwarding with serveo.net
------------------------------------------------------------
ssh -R magis:80:localhost:9000 serveo.net
#Managing network Interfaces
------------------------------------------------------------
sudo iw dev wlan0_ap interface add wlo1 type managed
#To delete interface wlo1
------------------------------------------------------------
iw wlo1 del
#How to update Github
------------------------------------------------------------
1.First update or pull the remote repository
git pull repo-url
2.Change whatever the changes has to be done ,then
git status
3.Then add the changes
git add -A , git add .
4.Then commit
git commit -m "Give name for commit"
5.Then push the changes to remote repository
git push , git push origin master
#sudo
------------------------------------------------------------
To give the pasword in one command line only
echo <password> | sudo -S <program name>
#To list packages
pacman -Qe
#Convert images to pdf in sorted way
ls *.jpg | sort -n | tr '\n' ' ' | sed 's/$/\ mydoc.pdf/' | xargs convert