ubuntu in命令,ubuntu基本命令
大家好,今天小编来为大家解答ubuntu in命令这个问题,ubuntu基本命令很多人还不知道,现在让我们一起来看看吧!
在ubuntu中安装Vmware tools
在ubuntu中安装Vmware tools
首先选择虚拟机-》安装vmware tools弹出vmware tool盘符,界面
然后在Ubuntu系统中弹出的VMware tools窗口中找到VMwaretools-10.0.10-4301679.tar.gz然后我们利用终端,先把WMwareTools拷贝出来
然后解压命令:tar-xzvf WMwareTools-8.8.0-471268.tar.gz
进入解压后的目录,执行:sudo./wmware-install.pl
In which directory do you want to install the binary files,按回车2.what is the directory that contains the init directories,按回车3. what is the directory that contains the init scripts,按回车4.In which directory do you want to install the daemon files,按回车5.In which directory do you want to install the library files,按回车6.The path quot;/usr/lib/vmware-toolsquot; does not..............................Is this what you want?,按回车7.In which directory do you want to install the document files?按回车8.The path quot;/usr/lib/vmware-toolsquot; does not..............................Is this what you want?,按回车9.Before running VMware tools.............Do you want this program to invokethe command for you now?按回车10.None of the pro-built.......................按回车
安装完成
重启系统
求助翻译在安装ubuntu时,有一段英文,想高手帮助翻译一下
我的也是wubi安装的,在升级内核后遇到过这样的问题
在安装好进入系统更新好了,然后重启电脑想再进入ubuntu,在正常启动进入到滚动条后就出现了以下情景:屏幕上显示:
BusyBox v1.1.3(Debian1:1.1.3-5ubuntu12) Built-in shell(ash)
Enter'help'for a list of built-in commands
(initramfs)
当我输入help后就显示下面的信息:
.:alias break cd chdir command continue echo eval exec exit export false getopts hash help let local pwd read readonly return [ [[ash awk basename busybox cat chmod chroot chvt clear cmp cp cut deallocvt dumpkmap echo egrep env expr false fbset faflush fgrep grep hostname ifconfig ip kill in loadfont loadkmap is mkdir mkfifo mknod mkswap mktemp more mount mv openvt pidof printf ps pwd readlink reset rm rmdir sed setkeycods shsleep sort star sync tail tee test toushtrtrue tty umount uname unig wget yes
(initramfs)
彻底晕了,于是继续输“YES”,看见一个光标一闪一闪亮晶晶,完了
我解决了,解决方法如下答案补充重启电脑在显示提示按“ESC”按"ESC"进入启动项那里面去选择ubuntu 8.04kernl.2.6.22-16-generic,回车就可以进入了
每次都要esc这样比较麻烦
蕞简单的方法
修改/boot/grub/menu.lst文件
sudo cp/boot/grub/menu.lst/boot/grub/menu.lst_back#备份menu.lst
sudo gedit/boot/grub/menu.lst
出现一个boot文件
找到
5ubuntu 8.04kernl.2.6.22-16-generic
6ubuntu 8.04kernl.2.6.22-16-generic(creovery.mode)
7ubuntu.8.04 memtes86+
8other operating systems
前边的一般是1ubuntu 8.04kernl.2.6.22-16-generic-rt~4ubuntu 8.04kernl.2.6.22-16-generic(creovery.mode)-rt
不让我发那么多答案补充把它1~4都删了,就是把ubuntu 8.04kernl.2.6.22-16-generic之前的启动项目都删了,然后把ubuntu 8.04kernl.2.6.22-16-generic前边的数字改为1后边的也改为234,保存就OK了
改不掉?那你找到boot/grub/menu.lst,在打开boot文件的时候,右键以管理员进入,输入密码,打开menu.lst
就可以修改了,我用的就是这个方法
后边一个高手的方法,我在wibi看到的,没试过,你可以试试
启动的时候提示按“ESC”按"ESC"进入启动项
1 ubuntu 8.04kernl.2.6.22-16-generic—rt
2 ubuntu 8.04kernl.2.6.22-16-generic(creovery.mode)-rt
3ubuntu 8.04kernl.2.6.22-16-generic
4 ubuntu 8.04kernl.2.6.22-16-generic(creovery.mode)
5ubuntu.8.04 memtes86+答案补充 6 other operating systems
中选择第1项然后按e键进入编辑状态,显示以下几项:
1 root(hd0,4)
2 kernel/boot/vmlinuz-2.6.22-16-generic root=UUID=_ _ ro quiet splash
3 initrd/boot/initrd.img-2.6.22-16-generic
4 quiet(这一项我打死没找到)
然后再选择第2项按e键进入编辑状态:在ro的后面输入'all_generic_ide'代替'quiet splash'(不用引号),按下回车键确认修改,接着又回到刚才的启动项,还是选择第2项,按b启动ubuntu,最后就可以看到登陆画面了
Ubuntu系统下用命令行快速打开各类型文件的方法
在Ubuntu下,通常用命令行打开文本文件,比如用命令gedit、more、cat、vim、less。但当需要打开其他格式文件时,比如pdf、jpg、mp3格式文件,咱们通常做法是进入到文件所在的目录,双击打开,很影响效率。事实上,可以通过命令xdg-open(opens a file or URL in the user's preferred application)打开这些格式文件,甚至是网页,像打开文件一样简单。
先举两个例子:
复制代码
代码如下:
jelline@jelline:~$ xdg-open la_isla_bonita.mp3
jelline@jelline:~$ xdg-open
jelline@jelline:~$已在现有的浏览器会话中创建新的窗口。
xdg-open会选择合适的程序打开指定文件,跟双击打开效果一样。在我电脑,第一个例子会用Totem Movie Player打开,第二个例子会用谷歌浏览器打开,而不是Firefox,这是因为谷歌浏览器是我默认的浏览器。
具体操作如下:
xdg-open{ file| URL}
xdg-open{--help|--manual|--version}
OK,现在是不是方便多了,通过快捷键Ctrl+Alt+T可以打开shell,F11可以全屏显示(Alt+F9最小化窗口,Alt+F10最大化/恢复窗口),再辅予xdg-open命令,极大减少了鼠标操作,也大大提升了效率。
附xdg-open manual部分信息:
xdg-open opens a file or URL in the user's preferred application. If a URL is provided the URL will be opened in the user's preferred web browser. If a file is provided the file will be opened in the preferred application for files of that type. xdg-open supports file, ftp, http and https URLs.
xdg-open is for use inside a desktop session only. It is not recommended to use xdg-open as root.