linux

Linux Software Installation

Linux系统中,软件安装程序比较纷繁复杂,不过最常见的有两种:

1)一种是软件的源代码,您需要自己动手编译它。这种软件安装包通常是用gzip压缩过的tar包(后缀为.tar.gz)。
2)另一种是软件的可执行程序,你只要安装它就可以了。这种软件安装包通常被是一个RPM包(Redhat Linux Packet Manager,就是Redhat的包管理器),后缀是.rpm。

当然,也有用rpm格式打包的源代码,用gzip压缩过的可执行程序包。只要您理解了以下的思路,这两种形式的安装包也不在话下了。 (continue reading…)


Font Files

Identifying Font Files

Differences between Mac and PC files
The PC and Mac differ in the way they store files. On a Mac each file can have two parts called forks. The data fork holds data (text, images, etc.). The resource fork holds resources (icons, fonts, menus, sounds, etc.). There are actually two files linked to one name in the file system. PCs only have one file linked to each name. Macs also have two four character fields stored with the name for each file. They are called the type and creator. The type field tells the Mac software what type of file it is. The creator is a unique signature identifying a program on the Mac. This field tells the Mac OS what program to launch if the files icon is clicked. PCs identify files with a file name extension. This is the characters after a period at the end of the file name. It used to be limited to three characters from the DOS days, but it can now be larger on current Windows versions. This tells Windows both what type of file it is and what program to launch if the icon is clicked. Unlike the Mac, you have to tell Windows what program goes with what extension (this can also be done automatically by a setup program). OS X seems to be moving away from using resource forks as heavily as OS Classic. It also can use file name extensions like Windows and Linux in addition to a file type and creator. This makes files more portable and easier to transmit over networks.

(continue reading…)


密码保护:linux查看系统信息命令大全

这是一篇受密码保护的文章,您需要提供访问密码:

要查看留言请输入您的密码。 more...

密码保护:Linux计划任务

这是一篇受密码保护的文章,您需要提供访问密码:

要查看留言请输入您的密码。 more...

Linux 常用命令

Linux 常用命令使用方法大搜刮

1.# 表示权限用户(如:root),$ 表示普通用户
开机提示:Login:输入用户名
password:输入口令   用户是系统注册用户成功登陆后,可以进入相应的用户环境. (continue reading…)


密码保护:Linux SSL config

这是一篇受密码保护的文章,您需要提供访问密码:

要查看留言请输入您的密码。 more...

linux 下使用gzip压缩与解压文件

gzip 和 gunzip

要使用 gzip 来压缩文件,在 shell 提示下键入以下命令:

gzip filename

文件即会被压缩,并被保存为 filename.gz

要扩展压缩的文件,键入以下命令:

gunzip filename.gz

filename.gz 会被删除,而继之以 filename

你可以使用 gzip 命令同时处理多个文件和目录,方法是将它们逐一列出,并用空格间隔:

gzip -r filename.gz file1 file2 file3 /usr/work/school 

上面的命令把 file1file2 file3、以及 /usr/work/school 目录的内容(假设这个目录存在)压缩起来,然后放入 filename.gz 文件中。

注:使用gzip和gunzip时,会删除原有的文件。


Linux常用操作

Linux tar压缩与解压命令用法:

[root@linux ~]# tar -zcvf /tmp/etc.tar.gz /etc <==打包后,以gzip压缩

[root@linux src]# tar -zxvf /tmp/etc.tar.gz

Linux下mysql备份 恢复:

#mysqldump -u 用户名 -p 库名 | gzip > tm_050519.sql.gz

解压缩:gunzip filename.gz

#mysql -u 用户名 -p 库名< /home/beinan/linuxsir031130.sql (continue reading…)


linux mv

linux当前文件内容移动到上一层:

mv * ../


ubuntu下ftp配置

关于ubuntu下FTP的一些内容

安装:

sudo apt-get install vsftpd
# vsftp(Very Secure FTP)是一种在Unix/Linux中非常安全且快速稳定的FTP服务器 (continue reading…)


Copyright © 1996-2010 Add Lives. All rights reserved.
iDream theme by Templates Next | Powered by WordPress