[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Another OT: GRUB location on Dual-Boot with TWO hard drives



On Mon, 2012-10-15 at 18:58 -0400, Wally Lepore wrote:
> I am familiar with some DOS commands

The commands are simmilar, e.g.

DOS | LINUX
----+------
CD  | cd
MD  | mkdir

The Linux terminal can help you, when using the Tab-key.
Just type a character or some characters and then the Tab-key.

[spinymouse@archlinux ~]$ m
Display all 214 possibilities? (y or n)
[spinymouse@archlinux ~]$ md
md5pass     md5sum      mdadm       mdassemble  mdel        mdeltree
mdir        mdmon       mdu
[spinymouse@archlinux ~]$ mk
mk_cmds           mkdfa.pl          mkfs              mkfs.jfs
mkinitcpio        mkswap
mk_isdnhwdb       mkdir             mkfs.bfs          mkfs.minix
mkisofs           mktemp
mkbingram         mkdiskimage       mkfs.btrfs        mkfs.nilfs2
mklost+found      mkzonedb
mkbinhmm          mke2fs            mkfs.cramfs       mkfs.reiserfs
mkmanifest        
mkbinhmmexe       mkfa              mkfs.ext2         mkfs.xfs
mknod             
mkbinhmmlist      mkfifo            mkfs.ext3         mkgshmm
mkreiserfs        
mkbinhmmlistexe   mkfontdir         mkfs.ext4         mkhomedir_helper
mkrfc2734         
mkcp              mkfontscale       mkfs.ext4dev      mkhybrid
mkss

The Tab-key also auto-complete passes.

[spinymouse@archlinux ~]$ cd /usr/src/        
#linux-rt/                                            qtractor/
adhoc
qtractor_de.ts.bak-00001
google-earth/
qtractor_de.ts.bak-00002
julius/
qtractor_de.ts.bak-empty
ld-lsb/
rtl8192se_linux_2.6.0010.1012.2009.tar.gz
linux-3.4.11-rt19-1-rt/
rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20110401/
linux-3.6.2-1-ARCH/                                   set-archlinux-1
linux-rt.tar.gz                                       simon/
menulibre/                                            vboxhost-4.2.0/
muse2/
virtualbox-ext-oracle/
newlan.tar.gz                                         virtualbox-hook/
pulseaudio-dummy/                                     xaralx/
[spinymouse@archlinux ~]$ cd /usr/src/mu

+ Tab =

[spinymouse@archlinux ~]$ cd /usr/src/muse2/





You can add aliases to a file in your home folder, on Suse I added

alias cpu-o="su -c\"cpufreq-set -gondemand\""
alias cpu-p="su -c\"cpufreq-set -gperformance\""

it's also possible to name Linux commands by aliases like DOS commands.


Reply to: