QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

楼主: zerocoolys

求助啊!!!!!

[复制链接]
发表于 2004-9-21 18:51:04 | 显示全部楼层
公社的资料有最适合什么都不会的简单的命令

http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=356

用来编辑的工具之一 --vi的用法(当然了如果你是在GNOME下面也可以用gedit,在KDE下面是用kwrite,在前面这两个里直接写就可以,完事一保存就可以了!我是只有在进不去X的情况下一般采用到vi编辑器,对了vim是他的增强,基本命令的使用都差不多!!)

http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=368

这个是linux上面都有的shell--bash(你在操作系统中打开终端默认的shell就是他了)的介绍,(而且有一些简单的小脚本,脚本的编辑就是用上面提到的vi, gedit, kwrite)

http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=70033

当然这里也有适合一些学过C语言的兄弟学的Tcsh shell如果没兴趣也可以不看!!(但是有了C基础的看看这个学起来快些哈~~)

http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=34847

简单的就这些了!!
如果还有问题可以看MichaelBibby老大的“命令行使用小技巧”里的精华总结贴

http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=67753
回复

使用道具 举报

发表于 2004-9-21 19:01:14 | 显示全部楼层
当然还有一些书适合不是很喜欢长时间对着电脑兄弟

我这里有一本机械工业出版社的《Red Hat Linux 大全》作者是美国的David Pitts 这本讲得很好,而且也简单!!

他讲得虽然是基于RedHat 6.2但是对最新的RedHat也是实用的,因为脚本的继承性很强!!但就是不知道现在还能不能有卖了!!

基本上就是这些个了!!其实你有了一定的基础之后就可以自己去书店选择适合自己的脚本方面介绍书了!!即使这本买不到也可以找到适合你的书了!!千万别买太厚!!自己能看懂简单的介绍就可以了!!不然太厚你很快就会没兴趣再看了!!

学这东西就是为了使用!!研究的太深不如直接从上大学学计算机了!!   
回复

使用道具 举报

发表于 2004-9-21 20:33:25 | 显示全部楼层
对了还忘了说一样好东西了!!就是在你不知道一个命令有什么用途,或者是怎么用的时候,最好的办法就是问问linux!!你别小看他!!他可是一位知无不言,言无不尽得好老师!!

怎么问???   

呵呵很简单!!命令加上--help就可以了!!比如:不知道tar这个解压命令怎么用,只要打开终端输入:tar --help 让后回车,电脑自然会告诉你的!!
下面是我的tar --help完了之后的内用
[sutie@localhost sutie]$ tar --help
GNU `tar' saves many files together into a single tape or disk archi
ve, and
can restore individual files from the archive.

Usage: tar [OPTION]... [FILE]...

Examples:
  tar -cf archive.tar foo bar  # Create archive.tar from files foo a
nd bar.
  tar -tvf archive.tar         # List all files in archive.tar verbo
sely.
  tar -xf archive.tar          # Extract all files from archive.tar.

If a long option shows an argument as mandatory, then it is mandator
y
for the equivalent short option also.  Similarly for optional argume
nts.

Main operation mode:
  -t, --list              list the contents of an archive
  -x, --extract, --get    extract files from an archive
  -c, --create            create a new archive
  -d, --diff, --compare   find differences between archive and file
system
  -r, --append            append files to the end of an archive
  -u, --update            only append files newer than copy in archi
ve
  -A, --catenate          append tar files to an archive
      --concatenate       same as -A
      --delete            delete from the archive (not on mag tapes!
)

Operation modifiers:
  -W, --verify               attempt to verify the archive after wri
ting it
      --remove-files         remove files after adding them to the a
rchive
  -k, --keep-old-files       don't replace existing files when extra
cting
      --overwrite            overwrite existing files when extractin
g
      --overwrite-dir        overwrite directory metadata when extra
cting
  -U, --unlink-first         remove each file prior to extracting ov
er it
      --recursive-unlink     empty hierarchies prior to extracting d
irectory
  -S, --sparse               handle sparse files efficiently
  -O, --to-stdout            extract files to standard output
  -G, --incremental          handle old GNU-format incremental backu
p
  -g, --listed-incremental=FILE
                             handle new GNU-format incremental backu
p
      --ignore-failed-read   do not exit with nonzero on unreadable
files

Handling of file attributes:
      --owner=NAME             force NAME as owner for added files
      --group=NAME             force NAME as group for added files
      --mode=CHANGES           force (symbolic) mode CHANGES for add
ed files
      --atime-preserve         don't change access times on dumped f
iles
  -m, --modification-time      don't extract file modified time
      --same-owner             try extracting files with the same ow
nership
      --no-same-owner          extract files as yourself
      --numeric-owner          always use numbers for user/group nam
es
  -p, --same-permissions       extract permissions information
      --no-same-permissions    do not extract permissions informatio
n
      --preserve-permissions   same as -p
  -s, --same-order             sort names to extract to match archiv
e
      --preserve-order         same as -s
      --preserve               same as both -p and -s

Device selection and switching:
  -f, --file=ARCHIVE             use archive file or device ARCHIVE
      --force-local              archive file is local even if has a
colon
      --rsh-command=COMMAND      use remote COMMAND instead of rsh
  -[0-7][lmh]                    specify drive and density
  -M, --multi-volume             create/list/extract multi-volume ar
chive
  -L, --tape-length=NUM          change tape after writing NUM x 102
4 bytes
  -F, --info-script=FILE         run script at end of each tape (imp
lies -M)
      --new-volume-script=FILE   same as -F FILE
      --volno-file=FILE          use/update the volume number in FIL
E

Device blocking:
  -b, --blocking-factor=BLOCKS   BLOCKS x 512 bytes per record
      --record-size=SIZE         SIZE bytes per record, multiple of
512
  -i, --ignore-zeros             ignore zeroed blocks in archive (me
ans EOF)
  -B, --read-full-records        reblock as we read (for 4.2BSD pipe
s)

Archive format selection:
  -V, --label=NAME                   create archive with volume name
NAME
              PATTERN                at list/extract time, a globbin
g PATTERN
  -o, --old-archive, --portability   write a V7 format archive
      --posix                        write a POSIX format archive
  -j, --bzip2                        filter the archive through bzip
2
  -z, --gzip, --ungzip               filter the archive through gzip
  -Z, --compress, --uncompress       filter the archive through comp
ress
      --use-compress-program=PROG    filter through PROG (must accep
t -d)

Local file selection:
  -C, --directory=DIR          change to directory DIR
  -T, --files-from=NAME        get names to extract or create from f
ile NAME
      --null                   -T reads null-terminated names, disab
le -C
      --exclude=PATTERN        exclude files, given as a PATTERN
  -X, --exclude-from=FILE      exclude patterns listed in FILE
      --anchored               exclude patterns match file name star
t (default)
      --no-anchored            exclude patterns match after any /
      --ignore-case            exclusion ignores case
      --no-ignore-case         exclusion is case sensitive (default)
      --wildcards              exclude patterns use wildcards (defau
lt)
      --no-wildcards           exclude patterns are plain strings
      --wildcards-match-slash  exclude pattern wildcards match '/' (
default)
      --no-wildcards-match-slash exclude pattern wildcards do not ma
tch '/'
  -P, --absolute-names         don't strip leading `/'s from file na
mes
  -h, --dereference            dump instead the files symlinks point
to
      --no-recursion           avoid descending automatically in dir
ectories
  -l, --one-file-system        stay in local file system when creati
ng archive
  -K, --starting-file=NAME     begin at file NAME in the archive
  -N, --newer=DATE             only store files newer than DATE
      --newer-mtime=DATE       compare date and time when data chang
ed only
      --after-date=DATE        same as -N
      --backup[=CONTROL]       backup before removal, choose version
control
      --suffix=SUFFIX          backup before removal, override usual
suffix

Informative output:
      --help            print this help, then exit
      --version         print tar program version number, then exit
  -v, --verbose         verbosely list files processed
      --checkpoint      print directory names while reading the arch
ive
      --totals          print total bytes written while creating arc
hive
  -R, --block-number    show block number within archive with each m
essage
  -w, --interactive     ask for confirmation for every action
      --confirmation    same as -w

The backup suffix is `~', unless set with --suffix or SIMPLE_BACKUP_                                                                         SUFFIX.
The version control may be set with --backup or VERSION_CONTROL, val                                                                         ues are:

  t, numbered     make numbered backups
  nil, existing   numbered if numbered backups exist, simple otherwi                                                                         se
  never, simple   always make simple backups

GNU tar cannot read nor produce `--posix' archives.  If POSIXLY_CORR                                                                         ECT
is set in the environment, GNU extensions are disallowed with `--pos                                                                         ix'.
Support for POSIX is only partially implemented, don't count on it y                                                                         et.
ARCHIVE may be FILE, HOST:FILE or USER@HOST:FILE; DATE may be a text                                                                         ual date
or a file name starting with `/' or `.', in which case the file's da                                                                         te is used.
*This* `tar' defaults to `-f- -b20'.

Report bugs to <[email protected]>.

虽然长了点!但是基本上会点英文的都能读懂上面的意思!!没什么难的吧??   
回复

使用道具 举报

发表于 2004-9-21 21:45:06 | 显示全部楼层
:-)
呵呵,谢谢了~~
回复

使用道具 举报

发表于 2004-9-21 22:32:54 | 显示全部楼层
8客气!!   
回复

使用道具 举报

 楼主| 发表于 2004-9-25 18:38:14 | 显示全部楼层
有个问题,就是我把CPU 超频以后为什么就进不到Linux了,

我现在不知道该怎么解决,还原频率也不行的啊!

是不是因为换了硬件以后Linux以前的配置程序就不适应了啊?

      
回复

使用道具 举报

发表于 2004-9-25 19:32:01 | 显示全部楼层
学习中~~~~
回复

使用道具 举报

发表于 2004-9-25 23:57:07 | 显示全部楼层
[quote:d1bbbb8cdf="zerocoolys"]有个问题,就是我把CPU 超频以后为什么就进不到Linux了,

我现在不知道该怎么解决,还原频率也不行的啊!

是不是因为换了硬件以后Linux以前的配置程序就不适应了啊?

      [/quote]

虽然有文章说现在的linux对硬件的更换已经没有以前那么感冒.但是,我还是坚持我的老看法!!

linux脱胎于unix而你有见过unix经常超频或者更新硬件吗??

所以他对硬件的更新还是很敏感的!!

建议更新硬件以后最好重装一次系统!!
回复

使用道具 举报

 楼主| 发表于 2004-9-26 00:37:58 | 显示全部楼层
谢谢了哈 ,我现在回到了linux的怀抱中了,

幸福ing..............           
回复

使用道具 举报

发表于 2004-10-21 15:20:52 | 显示全部楼层
既然有人又问这个问题

我做个考古,把它在顶上来!!希望对大家有用!!   
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-6-28 09:00 , Processed in 0.113431 second(s), 13 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表