
Size: a a a
git init
git add .
git commit m 'initial commit'
git add -p
git remote add origin git@gitlab.ru/repo/repo.git
git push -u origin master
git push
.git pull
, чтобы скачать все удаленные изменения с удаленного репозитория локально.git branch new_branch
git checkout -b new_branch
git branch
git status
git log --graph --decorate --pretty=oneline --abbrev-commit
git diff
git push -f
git log --graph --decorate --pretty=oneline --abbrev-commit
git checkout <commit>
git checkout -b trash
git add .
git commit -m 'trash commit'
git checkout master
git merge <branch>
git cherry-pick <commit id>
git push
git rebase -i <commit id>
git show HEAD~4:/path/index.html
git reset --hard
file /bin/ls
/bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=8d0966ce81ec6609bbf4aa439c77138e2f48a471, stripped
ldd /bin/ls
/mnt/c/Users/info# ldd /bin/ls
libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007fb655ac0000)
libacl.so.1 => /lib/x86_64-linux-gnu/libacl.so.1 (0x00007fb6558b0000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb6554d0000)
libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fb655290000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb655080000)
/lib64/ld-linux-x86-64.so.2 (0x00007fb655e00000)
libattr.so.1 => /lib/x86_64-linux-gnu/libattr.so.1 (0x00007fb654e60000)
ltrace /bin/ls
strace /bin/ls [-e filter]
# strace -e open /bin/ls
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libacl.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libpcre.so.3", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libattr.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/proc/filesystems", O_RDONLY) = 3
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
1.py 2.py dump tcpdump.sh
+++ exited with 0 +++
dpkg -S /etc/init.d/apache2
dpkg -L strace
Enter ~ .