Linux tftp 命令
In my embedded platform, I want to use tftp command,
run tftp, it will output:
Usage: tftp [OPTION]... HOST [PORT]
Transfer a file from/to tftp server
Options:
-l FILE Local FILE
-r FILE Remote FILE
-g Get file
-p Put file
-b SIZE Transfer blocks of SIZE octets
I try serveral times, I find:
tftp -r hello.o -g 192.169.1.99
#comment:
My embedded platform is 192.168.1.168
I have a Linux PC, ip is 192.168.1.99
In Linux PC, hello.o put in folder /tftpboot/
相关文档:
和Bash的环境设定有关的文件有
/etc/profile (主要)
$HOME/.bash_profile (主要)
$HOME/.bash_login
$HOME/.profile
$HOME/.bash_logout (主要)
$HOME/.bashrc (主要)
/etc/bashrc
说明如下:
登入(login)时
先执行 /etc/profile
接着bash会检查使用者的自家目录中,是否有 .bash_profile 或者 .bash_login或者 ......
一、
1、备份
使用root帐户备份。
[root@fedora /]# tar -zcvpf
/backup/fedora10_backup/20090301backup.tar.gz / --exclude=misc
--exclude=sys --exclude=proc --exclude=data --exclude=home
--exclude=files --exclude=backup --exclude=tmp --exclude=var
tar -zcvpf &nbs ......
源程序编译
Makefile的编写
程序库的链接
程序的调试
头文件和系统求助
1.源程序的编译
在Linux下面,如果要编译一个C语言源程序,我们要使用GNU的gcc编译器. 下面我们以一个实例来说明如何使用gcc编译器.
......
1.查看Linux系统当前单个共享内存段的最大值(命令)
ipcs -m
ipcs -a
2.用什么命令查询指定IP地址的服务器端口
题意应该是 nmap 和nbtscan 命令来扫吧。
3.crontab中用什么命令定义某个程序执行的优先级别
nice/renice:进程执行优先级
概念:
进程优先级:系统按进程优先级的不同分配CPU时间,优先级高的 ......
在linux中删除一个目录很简单,很多人还是习惯用rmdir,不过一旦目录非空,就陷入深深的苦恼之中,现在使用rm -rf命令即可解决。
直接rm就可以了,不过要加两个参数-rf 即:rm -rf 目录名字
-r 就是向下递归,不管有多少级目录,一并删除
-f 就是直接强行删除,不作任何提示的意思
删除文件夹实例:
rm -r ......