cd command not working properly, can't get to desktop

272

Solution 1

you should mention the root directory :

cd /home/yourusername/Desktop

Solution 2

Linux is case sensitive.
The folder created by Ubuntu is named "Desktop", not "desktop".

Just type:

cd ~/Desktop

or

cd /ho[tab]myu[tab]De[tab]

(Just an example how to use tab for auto completion.)

Share:
272

Related videos on Youtube

Shml
Author by

Shml

Updated on September 18, 2022

Comments

  • Shml
    Shml over 1 year

    I am using jqplot CategoryAxisRenderer for my x-axis data. I need zooming also. But I am able to zoom only y axis. Please suggest a solution. I am new to charts. I searched a lot but didnt get a proper answer. Please provide an answer. This is my code.

        function renderBarChart(){
        barChartData = [["abcd",56], ["efgh",60], ["ghij",79],["klmn",20],["opqr",34],["stuv",67],["wxyz",42],["adfg",77],["ghjy",29]];
        plot2 = $.jqplot('barChart', [barChartData], {
            seriesColors: ["#4fb3ce"],
            animate: !$.jqplot.use_excanvas,
            highlighter: {
                show: true,
                showMarker:false,   
                tooltipLocation:'n',
                tooltipOffset: 6,
                tooltipContentEditor:tooltip_formatter_bar
            },
            grid: {
                background: '#f7fafa',
                drawBorder: false,
                shadow: false,
                gridLineColor: '#eceeee',
                gridLineWidth: 1
            },
            legend: {
                show: false
            },
            seriesDefaults:{
                showMarker:false,   
                renderer:$.jqplot.BarRenderer,
                rendererOptions: { 
                    barPadding: 0,
                    barMargin: 0,
                    barWidth:20,
                    shadowAlpha: 0.04,
                    shadowOffset:1.5,
                    highlightMouseOver: false,
                    dataLabels: 'percent'
                },
                pointLabels:{
                   show: true,
                   ypadding : 5,
                   color: '#7c7c7c',
                 }
    
            },
            axesDefaults: {
                rendererOptions: {
                    baselineWidth: 1,
                    baselineColor: '#eceeee',
                    drawBaseline: true
                }
            },
            axes: {
    
                xaxis: {
                    showMark: false,
                    renderer: $.jqplot.CategoryAxisRenderer,
                    //ticks: barTicks,
                    //pad: 0,
                    label:'Associate ID',
                    labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
                    tickRenderer: $.jqplot.CanvasAxisTickRenderer,
                    labelOptions: {
                        fontFamily: 'Arial',
                        fontSize: '12px'
                    },
                    tickOptions: {
                        angle: 0,
                        textColor: '#7c7c7c',
                        showMark: false,
                        fontSize: '10px'
                    }
                },
                yaxis: {
                    tickOptions: {
                        showMark: false,
                        fontSize: '10px'
                    },
                    min:0,
                    max:100,
                    tickInterval:10,
                    label: 'Incident',
                    labelRenderer: $.jqplot.CanvasAxisLabelRenderer,
                    labelOptions: {
                        fontFamily: 'Arial',
                        fontSize: '12px'
                    }
                }
            },
            cursor:{ 
                show: true,
                zoom:true
              } 
        });
    }
    
  • AnFa
    AnFa over 10 years
    But I wrote exactly that and still return me the same error.
  • nux
    nux over 10 years
    i corrected it try it now
  • nux
    nux over 10 years
    is it ok now mate ?
  • AnFa
    AnFa over 10 years
    I tried cd /homyuserDe. Same result. I tried "Desktop" instead of "desktop". Same error.
  • AnFa
    AnFa over 10 years
    No. It returns me the same message EDIT Nevermind. I opened a new terminal and now it fixed. Thanks.
  • nux
    nux over 10 years
    write the command you are using
  • AnFa
    AnFa over 10 years
    I was writing cd /home/fio/Desktop but nevermind. I opened a new terminal and now it works. Thanks.
  • davidbaumann
    davidbaumann over 10 years
    Sorry, i was using characters used by html. Changed to [] now.
  • MKaama
    MKaama almost 7 years
    Also, see superuser.com/questions/271530/… to make Tab-completion case-insensitive.
  • Dev Khadka
    Dev Khadka over 6 years
    using constrainZoomTo: 'x' shows pointers for zooming but doesn't really zoom the chart