Tag Info

New answers tagged

1

I'm not sure what the bigger picture is, but your approach should be to run the command with on a file in the directory. E.g. if you want to run grep regex file where file is in /root, then you should approach it like this: $ sudo grep regex /root/file And not: $ sudo 'cd /root; grep regex file' sudo: cd /root; grep regex file: command not found Why ...


1

Yes you can. The netboot approach This page will guide you through obtaining the files necessary to boot the Ubuntu installation from a FAT or NTFS partition, thus allowing you to install Ubuntu without any sort of removeable media. This guide assumes that you are running either some NT-based Windows(NT, 2000, XP) or Windows 9x (95, 98, ME). Create a ...


4

There are a few issues with what you're attempting. First of all, to set a variable's value, you can't have spaces around the =. Then, in order to capture the output of a command you need either backtics, or preferably $(). Finally, and most importantly, you should not parse ls, it is very hard to do well and extremely prone to errors. Your approach will ...


0

What's the output of your command? ls -lat | awk 'NR==2 {print $8"/"}' In my case I had the hour of when the directory was created. Using command substitution it worked for me: $ ABCD=`ls -lat | awk 'NR==2 {print $9"/"}'` $ cd $ABCD $ pwd $ /home/myuser_name/.gconfd Cheers, Hugo.


0

You can do this from a virtual machine, which would probably be easier to use as the Startup Disk Creator than to do it in a Windows machine. Either way, you'd need a blank flash drive or CD and a copy of the .iso image which you can get here. Prerequisites An .iso image. Software to create this live CD. I suggest Rufus. a flash drive or a CD. Note that ...


0

Have a look at this, it helped me. LiveCD - Community Help Wiki You can use a LiveCD to try out and/or install Ubuntu. I used it to try and finally installing Xubuntu. It can be used for Lubuntu and Kubuntu also. To prepare your LiveCD download the iso of your choice and choose your media: CD ( write once CDs are best) USB (1GB or more) You will need ...



Top 50 recent answers are included