美文网首页
Linux常用操作命令

Linux常用操作命令

作者: cocohaifang | 来源:发表于2016-08-26 14:24 被阅读0次

1.wc -l2.grep
3.正则表达式
4.lsof -i:7001 查看 7001商品占用的进程。
5.使用Rdesktop
方法:1 Windows要开启远程桌面管理2 在Linux中安装rdesktop(这个yum就行,Debian系统除外)3 命令:rdesktop 192.168.* (IP地址)-u administrator4 rdesktop -u administator -p 123(密码) 74.121.190.15 -g 800600(分辨率) -r disk:debian=/opt/bak/ (映射虚拟盘) -r sound:off(关闭声音)
6.查看主机操作系统相关
uname -a
7.查看redhat版本
cat /etc/redhat-release
配置ssh免登陆

生成ssh免登陆密钥

进入到我的home目录

cd ~/.ssh

ssh-keygen -t rsa (四个回车)
执行完这个命令后,会生成两个文件id_rsa(私钥)、id_rsa.pub(公钥)
将公钥拷贝到要免登陆的机器上
ssh-copy-id localhost
8.新建组,新建用户
9.修改主机名称
vi /etc/sysconfig/network
vi /etc/hosts
10.查找文件个数
find /platformdata/irmsdata/swapspacebak -type f |wc -l
find /platformdata/irmsdata/swapspace -type f |wc -l
find /platformdata/irmsdata/irms_attachments -type f |wc -l
find /platformdata/irmsdata/circuit -type f |wc -l
find /platformdata/irmsdata/optical -type f |wc -l
find /platformdata/irmsdata/bpcserver-type f |wc -l

11.Wget 命令
wget https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.8.2/xampp-linux-1.8.2-6-installer.run --user-agent="Mozilla/5.0 (X11;U;Linuxi686;en-US;rv:1.9.0.3) Geco/2008092416 Firefox/3.0.3" --no-check-certificate

相关文章

  • 面试题 2021-11-01~2021-11-12

    常用的Linux命令 Linux命令 - Linux安全网 - Linux操作系统_Linux 命令_Linux教...

  • 大数据技术学习路线

    一、大数据技术基础1、linux操作基础 linux系统简介与安装linux常用命令–文件操作linux常用命令–...

  • Linux

    linux awk命令详解、linux awk命令Linux常用操作指令Linux netstat命令详解 awk...

  • Linux 常用命令总结

    linux 命令速查手册linux 常用操作命令 sed 简明教程 awk 简明教程 常用命令 ls ...

  • Linux常用命令

    Linux常用命令 一、常用命令 1.注销、关机、重启 2.linux基本命令 :文件操作命令 3.linux 系...

  • 20220816笔记

    Linux常用操作 Linux查看文件内容命令 运行以及停止jar包命令(Linux) 写入文件命令 maven常...

  • Linux—基础指令

    常用指令: RPM 安装操作命令: RPM 查询操作命令: RPM 卸载操作命令: Linux中rz和sz命令用法...

  • Linux入门精华版

    一文读懂Linux 学习目标 Linux 操作系统 常用命令:通过命令完成系统常用操作 常用软件的使用(中文输入法...

  • Linux命令(二)--- vi编辑器

    上一篇文章介绍了基础的文件操作命令。 Linux命令(一)--文件操作命令 今天继续来写一写常用的linux命令。...

  • 1.Linux操作系统基础

    1.Linux基础 操作系统:OS Linux是多任务多用户的操作系统. Linux常用命令: 命令框字体调整--...

网友评论

      本文标题:Linux常用操作命令

      本文链接:https://www.haomeiwen.com/subject/qphzsttx.html