现在不知道linux的密码了,想要把它格式化,但用WIN2K启动盘无法进行格式化,请问有什么办法可以格式化,然后再安装双系统? 谢谢:oops: [ 本帖最后由 heyi2008 于 2006-4-11 14:20 编辑 ]
在文件table.list中有如下内容, cat table.list ./tempdata/s_job_chain.txt ./tempdata/s_entity_info.txt ./tempdata/s_db_info.txt ./tempdata/s_job_cost.txt ./tempdata/s_datamng_log.txt ./tempdata/s_audit_rule.txt ./tempdata/s_cnode_stat.txt ./tempdata/s_instance_stat.txt ./tempdata/h_instance_info.txt ./tempdata/s_ds_jobparam.txt ./tempdata/s_job_attr.txt ./tempdata/h_job_info.txt ./tempdata/s_refer_...
关于shell中的字符串。 比如 #test="abc def" 现在要得到"abc"怎么做呢? #echo ${test%% *} abc 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/17004/showart_469647.html
我的系统是redhat linux9.0 1 所有数据存放在mysql数据库中 2 把数据库中的数据变成文本数据,便于shell处理 但我现在遇到了下面的问题: 我使用了$mysql_path/mysql -u$mysql_user -p$mysql_password -e "use $mysql_database; $sql_switch"|sed 1d|sed 's/ //g'后,还会得到如下结果: 10.10.1.26 | 1 | public | Uplink_10.10.1.15| 我发现,它们之间不是空格,而是tab或是别的字符来的...
有4个字符串,wks,adm,jm1,jm2.想用for循环来做,当 i 为wks时候做..当 i 为 adm时候做, for i in "wks" "adm" "jm1" "jm2" do ..... done 可以么 ,或用其他的方法