Linux命令--其他命令
发布日期:2021-05-10 13:48:06 浏览次数:16 分类:精选文章

本文共 2427 字,大约阅读时间需要 8 分钟。

Linux������������

���������

������������

  • cd

    ������ cd ��������������� ~������������������

  • cd -

    ���������������������������

  • pushdir

    ���������������������������������������������������������������������

  • popd

    ������������������������������������������

������������

������������

  • file

    ������������ file ���������������

  • ln

    ������������������������ -s ���������������������������������

���������

������������

  • echo

    ������������������������������������������������������

  • printf

    ������ C��������� printf������������������������������ printf("%x\n", 1234); ������ 1234���������������������

������������

������������

  • reboot

    ���������������������

  • shutdown

    ��������������������� -c ��������������� ���������shutdown -h now���������������������shutdown -r +1���1���������������������

������������

������������

  • source ~/.bashrc ��� .
    ������������ ~/.bashrc��������������� Shell ���������������������

������������������

������������

  • !

    ���������������������������������������������������������������������������������������

  • |

    ���������������������������������������������������������

  • &&

    ���������������������������������������������������������

  • ;

    ������������������������������������������������������������������

  • Ctrl+z

    ���������������������������

������������

���������������

  • wget

    downloading ��������� URL��������������� -O ���������������������-c skepticism ���������

  • tar

    ������������������������������ -czf ������ zip���

������������

xargs

  • ������������������������������������������������������������

    ���������������������������������������������

    cat test.txt | xargs echo "���������$@"
    • -n ������������������������������������
    • -d ������������������������������������������������
    • -l ������ num ���������������������

    ������������������ JPG ���������

    find . -type f -name "*.jpg" -print | xargs tar -czvf images.tar.gz

exec������

  • exec

    ������������������������������������ Shell ������������������������������������������ tee���

    ���������

    exec < /etc/passwd

    ������������ X:

    exec xinit

Final Tips

  • Borg

    Fork������������������������ screen ��� tmux��������������������������������������� byescreen���

  • notes

    ������������������������������������������������������������������������������������

  • better

    ��������������������������� ls -l ���������������������du']/.'

    ���������������

������������������������������������ Linux ������������������������������������������������������������������������������������������������������������������������������

上一篇:system和popen
下一篇:SVN命令系列--命令大全

发表评论

最新留言

第一次来,支持一个
[***.219.124.196]2025年04月14日 15时38分44秒