关于linux install tar ./
Created|Updated|linux
|Post Views:
前言
在Linux的使用中,难免会使用下载,解压和安装。但它不会像windows系统那么直接了当。所以,需要用到一些命令。
了解
wget URL //下载tar -zxvf <file.tar.gz> //解压./<file.pl> //执行
说明
当我们在tar时,遇到
Not enought space to extract,我们可以将tar.gz(要解压的文件)复制到另外一个地方。
再进行操作。
Related Articles
2020-04-20
绝对路径与相对路径
前言/这个表示根目录下bin/这个表示bin的目录下 绝对路径一定要从根目录(/)写起,就是要写完整的路径名 相对路径不是从根目录写起 示例 当我们要cd(change directory)的时候,不论是要用绝对路径和相对路径,都要遵循到(根,当前,上一级)目录下,再到其他的目录(用目录名标识) cd ../bin 到上一级目录下的bin目录(相对路径)cd ./bin 到当前目录下的bin目录,等同于cd bin(相对路径)cd /bin 到根目录下的bin目录(绝对路径) 特殊的目录. 此层目录.. 上层目录- 上一个的目录(记录)~ home目录
2021-06-19
Basic Concept
Processes ManagementA process, in simple terms, is an instance of running program. Whenever you issue a command in Linux, it creates or start a process. Processes TypesWhen you issue a command (a process), there are two ways you can run it. Foreground Process Background Process The simplest way to start a background process is to add an ampersand (&) at the end of the command. Checking Running ProcessesIt is easy to see your own processes by using the ps command. In addition, you ...
2020-08-16
linux上配置v2ray
预备工作 客户端:Qv2ray-refs.tags.v1.99.6-linux.AppImage v2ray核心文件:v2ray-linux-64 开始 将v2ray的zip文件unzip解压。 运行客户端sudo chmod +x ./Qv2ray-refs.tags.v1.99.6-linux.AppImage + ./Qv2ray-refs.tags.v1.99.6-linux.AppImage 在preferences中配置v2ray的core executable path(可执行文件)和v2ray assets directory(解压出来的目录) set system proxy 设置subscriptions Connect and enjoy!
2020-04-26
链接
前言链接有两种硬链接(hard link)和字符链接当我们ln一个硬链接时,ls -al显示出来的文件链接数量就会加1,但是ln -s一个字符链接却不会。 说明 文件的读取文件名——>inode——>数据区块 用ln来创建链接 符合链接,有参数-s 硬链接,无参数 硬链接 这种链接只是新创建一个文件,这个文件里面的inode与源文件的inode相同,所以都会指向相同的数据区块。 f1 \ ->inode->date block /f2 所以,我们新建一个硬链接ln test testing。我们把其中的一个文件删除,另外一个文件也能够访问到原始数据。 优点可以将源文件删除,也能访问到原来的数据。 缺点 不能创建目录的硬链接 不能跨文件系统 符号链接 也是创建一个新文件,但是这个文件指向源文件的文件名,它等同于Windows的快捷方式。 f2->f1->ionde->date block 所以,我们新建一个符号链接ln -s test test2。我们把源文件删除了(f1),那么符合链接文件无效(f2) 优点可以创建目...
2021-06-18
basic operations
FileListing File ls- listing files in current directory ls -l will help you get more information of the files To list the invisible files, specify the -a option to ls − Copying FilesTo make a copy of a file use the cp command. The basic syntax of the command is − 1$ cp source_file destination_file Renaming FilesTo change the name of a file, use the mv command. Following is the basic syntax − 1$ mv old_file new_file The mv command will move the existing file completely into the new file. ...
2020-04-19
目录权限
前言相对于windows上的的文件,只要是.exe .bat .com后缀的就可以执行。而Linux上的目录或文件,只需要x这个权限就可以执行。但是,可执行的程序代码,与可执行权限是两回事。也就是说,拥有可执行权限,但是能不能成功执行,就要看文件的内容 代表意义[权限][链接][拥有者名][用户组名][文件容量][修改日期][文件名] 拥有者,用户组对应相关权限 如果你不是拥有者,用户组,root,那么你就是others 说明 对于目录的权限 r可以查看目录中的文件和子目录 x可以进入目录 w删除,更新,新建文件和目录 注意根据上述,开发一个目录一般需要具备rx读和执行的权限
